summaryrefslogtreecommitdiff
path: root/mail/postgrey/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/postgrey/Makefile')
-rw-r--r--mail/postgrey/Makefile10
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"