summaryrefslogtreecommitdiff
path: root/mail/policyd
diff options
context:
space:
mode:
authorghen <ghen@pkgsrc.org>2008-01-04 11:55:37 +0000
committerghen <ghen@pkgsrc.org>2008-01-04 11:55:37 +0000
commit158f5ed93ca949d6ffa9e7e3c18afdb3c1d08ea1 (patch)
tree9269b133d3b8e67c7732cbd4d7a7ae4fd74a42ff /mail/policyd
parent59a52a015773451860bafc6476344a6535d09499 (diff)
downloadpkgsrc-158f5ed93ca949d6ffa9e7e3c18afdb3c1d08ea1.tar.gz
Full DESTDIR support.
Diffstat (limited to 'mail/policyd')
-rw-r--r--mail/policyd/Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/mail/policyd/Makefile b/mail/policyd/Makefile
index 5a32cf710eb..72cbe609e45 100644
--- a/mail/policyd/Makefile
+++ b/mail/policyd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/08/20 07:30:09 ghen Exp $
+# $NetBSD: Makefile,v 1.3 2008/01/04 11:55:37 ghen Exp $
DISTNAME= policyd-1.82
CATEGORIES= mail
@@ -8,6 +8,8 @@ MAINTAINER= ghen@NetBSD.org
HOMEPAGE= http://www.policyd.org/
COMMENT= Policy daemon for Postfix with greylisting and throttling
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
USE_LANGUAGES= c c++
@@ -35,14 +37,14 @@ MESSAGE_SUBST+= BINDIR=${BINDIR}
MESSAGE_SUBST+= EGDIR=${EGDIR}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/policyd ${BINDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/cleanup ${BINDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/stats ${BINDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/policyd.conf ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/blacklist_helo.sql ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/whitelist.sql ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/DATABASE.mysql ${EGDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/policyd ${DESTDIR}${BINDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/cleanup ${DESTDIR}${BINDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/stats ${DESTDIR}${BINDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/policyd.conf ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/blacklist_helo.sql ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/whitelist.sql ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/DATABASE.mysql ${DESTDIR}${EGDIR}
.include "../../mk/mysql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"