diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
commit | a80fd13efc426f96e55870df48a2030daea0f14b (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /mail/qgreylist | |
parent | 31c6c3a796edf9dd9bae5586339c5e2e023ca408 (diff) | |
download | pkgsrc-a80fd13efc426f96e55870df48a2030daea0f14b.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" |