pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Full DESTDIR support.
details: https://anonhg.NetBSD.org/pkgsrc/rev/e6199a1b2050
branches: trunk
changeset: 537161:e6199a1b2050
user: ghen <ghen%pkgsrc.org@localhost>
date: Fri Jan 04 11:55:37 2008 +0000
description:
Full DESTDIR support.
diffstat:
mail/policyd/Makefile | 20 +++++++++++---------
net/aiccu/Makefile | 23 +++++++++++++----------
2 files changed, 24 insertions(+), 19 deletions(-)
diffs (92 lines):
diff -r 8daf57cb2a0b -r e6199a1b2050 mail/policyd/Makefile
--- a/mail/policyd/Makefile Fri Jan 04 11:53:17 2008 +0000
+++ b/mail/policyd/Makefile Fri Jan 04 11:55:37 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/08/20 07:30:09 ghen Exp $
+# $NetBSD: Makefile,v 1.3 2008/01/04 11:55:37 ghen Exp $
DISTNAME= policyd-1.82
CATEGORIES= mail
@@ -8,6 +8,8 @@
HOMEPAGE= http://www.policyd.org/
COMMENT= Policy daemon for Postfix with greylisting and throttling
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
USE_LANGUAGES= c c++
@@ -35,14 +37,14 @@
MESSAGE_SUBST+= EGDIR=${EGDIR}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/policyd ${BINDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/cleanup ${BINDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/stats ${BINDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/policyd.conf ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/blacklist_helo.sql ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/whitelist.sql ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/DATABASE.mysql ${EGDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/policyd ${DESTDIR}${BINDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/cleanup ${DESTDIR}${BINDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/stats ${DESTDIR}${BINDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/policyd.conf ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/blacklist_helo.sql ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/whitelist.sql ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/DATABASE.mysql ${DESTDIR}${EGDIR}
.include "../../mk/mysql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 8daf57cb2a0b -r e6199a1b2050 net/aiccu/Makefile
--- a/net/aiccu/Makefile Fri Jan 04 11:53:17 2008 +0000
+++ b/net/aiccu/Makefile Fri Jan 04 11:55:37 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/01/18 14:42:17 ghen Exp $
+# $NetBSD: Makefile,v 1.9 2008/01/04 12:02:49 ghen Exp $
DISTNAME= aiccu_20070115
PKGNAME= ${DISTNAME:S/_/-/:S/.//g}
@@ -9,6 +9,8 @@
HOMEPAGE= http://www.sixxs.net/tools/aiccu/
COMMENT= Automatic IPv6 Connectivity Client Utility
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
CHECK_PORTABILITY_SKIP+=debian/*
@@ -22,6 +24,9 @@
CONF_FILES= ${EXAMPLESDIR}/aiccu.conf ${PKG_SYSCONFDIR}/aiccu.conf
CONF_FILES_MODE= 0600
+INSTALLATION_DIRS= sbin ${PKGMANDIR}/man1 share/examples/aiccu
+INSTALLATION_DIRS+= share/doc/aiccu
+
RCD_SCRIPTS= aiccu
.include "options.mk"
@@ -32,15 +37,13 @@
${MV} ${WRKDIR}/aiccu ${WRKDIR}/${DISTNAME}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/unix-console/aiccu ${PREFIX}/sbin/
- ${INSTALL_MAN} ${WRKSRC}/doc/aiccu.1 ${PREFIX}/${PKGMANDIR}/man1/
- ${INSTALL_DATA_DIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/aiccu.conf ${EXAMPLESDIR}/
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/README ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/LICENSE ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/COPYRIGHT ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/HOWTO ${DOCDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/unix-console/aiccu ${DESTDIR}${PREFIX}/sbin/
+ ${INSTALL_MAN} ${WRKSRC}/doc/aiccu.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
+ ${INSTALL_DATA} ${WRKSRC}/doc/aiccu.conf ${DESTDIR}${EXAMPLESDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/doc/README ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/LICENSE ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/COPYRIGHT ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/HOWTO ${DESTDIR}${DOCDIR}
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index