diff options
author | jlam <jlam> | 2008-03-04 17:57:17 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-04 17:57:17 +0000 |
commit | 227db4fd65c1798f1f06219f896b8a2add93ce0c (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /mail/qgreylist | |
parent | 47512d21954e6312a4cd43b04b4c2594596e697b (diff) | |
download | pkgsrc-227db4fd65c1798f1f06219f896b8a2add93ce0c.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'mail/qgreylist')
-rw-r--r-- | mail/qgreylist/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/qgreylist/Makefile b/mail/qgreylist/Makefile index 0c3bdd18139..38cbfa54bf1 100644 --- a/mail/qgreylist/Makefile +++ b/mail/qgreylist/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2007/03/24 06:53:16 schmonz Exp $ +# $NetBSD: Makefile,v 1.11 2008/03/04 17:57:19 jlam Exp $ # DISTNAME= qgreylist-0.3 @@ -12,6 +12,8 @@ COMMENT= Simple greylisting for qmail DEPENDS_QMAIL= qmail>=1.03nb8:../../mail/qmail DEPENDS+= ${DEPENDS_QMAIL} +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/qgreylist USE_TOOLS+= perl:run @@ -47,7 +49,7 @@ INSTALLATION_DIRS= bin share/doc/qgreylist BUILD_DEFS+= QMAILDIR do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/greylist ${PREFIX}/bin/qgreylist - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/qgreylist + ${INSTALL_SCRIPT} ${WRKSRC}/greylist ${DESTDIR}${PREFIX}/bin/qgreylist + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/qgreylist .include "../../mk/bsd.pkg.mk" |