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/postgrey/Makefile | |
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/postgrey/Makefile')
-rw-r--r-- | mail/postgrey/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/postgrey/Makefile b/mail/postgrey/Makefile index a803fd7922f..5b4862f1362 100644 --- a/mail/postgrey/Makefile +++ b/mail/postgrey/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2008/01/20 21:08:01 xtraeme Exp $ +# $NetBSD: Makefile,v 1.24 2008/03/04 17:57:19 jlam Exp $ # DISTNAME= postgrey-1.31 @@ -14,6 +14,8 @@ DEPENDS+= p5-BerkeleyDB-[0-9]*:../../databases/p5-BerkeleyDB DEPENDS+= p5-IO-Multiplex-[0-9]*:../../devel/p5-IO-Multiplex DEPENDS+= p5-Net-Server-[0-9]*:../../net/p5-Net-Server +PKG_DESTDIR_SUPPORT= user-destdir + NO_CONFIGURE= yes USE_TOOLS+= perl:run @@ -72,12 +74,12 @@ INSTALLATION_DIRS= sbin ${DOCDIR} ${EGDIR} do-build: do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/postgrey ${PREFIX}/sbin/postgrey + ${INSTALL_SCRIPT} ${WRKSRC}/postgrey ${DESTDIR}${PREFIX}/sbin/postgrey .for i in COPYING Changes README - ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCDIR}/${i} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DESTDIR}${PREFIX}/${DOCDIR}/${i} .endfor .for i in postgrey_whitelist_clients postgrey_whitelist_recipients - ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${EGDIR}/${i} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DESTDIR}${PREFIX}/${EGDIR}/${i} .endfor .include "../../databases/db4/buildlink3.mk" |