summaryrefslogtreecommitdiff
path: root/mail/milter-greylist/Makefile
diff options
context:
space:
mode:
authorobache <obache>2009-01-19 06:16:38 +0000
committerobache <obache>2009-01-19 06:16:38 +0000
commit52a001253a28797d44c81a701f0371fc0c09cca6 (patch)
tree606b71036fc59f45ef5928895eb12738795b5350 /mail/milter-greylist/Makefile
parent9a47cc12554c5814ce838c267b03cb2c6295e923 (diff)
downloadpkgsrc-52a001253a28797d44c81a701f0371fc0c09cca6.tar.gz
Add DESTDIR support.
Diffstat (limited to 'mail/milter-greylist/Makefile')
-rw-r--r--mail/milter-greylist/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/mail/milter-greylist/Makefile b/mail/milter-greylist/Makefile
index 9f17e7e5057..5293aba1228 100644
--- a/mail/milter-greylist/Makefile
+++ b/mail/milter-greylist/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2008/10/27 19:40:11 tron Exp $
+# $NetBSD: Makefile,v 1.39 2009/01/19 06:16:38 obache Exp $
DISTNAME= milter-greylist-4.0.1
PKGREVISION= 1
@@ -10,6 +10,8 @@ OWNER= tron@NetBSD.org
HOMEPAGE= http://hcpnet.free.fr/milter-greylist/
COMMENT= Easy-to-use greylist milter for sendmail
+PKG_DESTDIR_SUPPORT= user-destdir
+
# yacc rule moving to y.tab.c and renaming
MAKE_JOBS_SAFE= no
@@ -27,11 +29,11 @@ RCD_SCRIPTS= milter-greylist
.include "options.mk"
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/milter-greylist
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/milter-greylist
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/milter-greylist
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/milter-greylist
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/milter-greylist
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/milter-greylist
${INSTALL_DATA} ${WRKSRC}/greylist.conf \
- ${PREFIX}/share/examples/milter-greylist
+ ${DESTDIR}${PREFIX}/share/examples/milter-greylist
.include "../../mail/libmilter/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"