summaryrefslogtreecommitdiff
path: root/mail/proxsmtp
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-12 02:14:13 +0000
committerjoerg <joerg>2008-06-12 02:14:13 +0000
commit39d7fb93432416d872ed34e0025741cc93068c06 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /mail/proxsmtp
parentcce8b72ae5b66d3a54ac565ef8ac6780597301bc (diff)
downloadpkgsrc-39d7fb93432416d872ed34e0025741cc93068c06.tar.gz
Add DESTDIR support.
Diffstat (limited to 'mail/proxsmtp')
-rw-r--r--mail/proxsmtp/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/mail/proxsmtp/Makefile b/mail/proxsmtp/Makefile
index c2218cb13ab..22a0f21631b 100644
--- a/mail/proxsmtp/Makefile
+++ b/mail/proxsmtp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2006/03/14 16:00:41 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2008/06/12 02:14:35 joerg Exp $
DISTNAME= proxsmtp-1.0
PKGREVISION= 1
@@ -9,22 +9,25 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://memberwebs.com/nielsen/software/proxsmtp/
COMMENT= SMTP proxy content filter
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
CONF_FILES= ${EGDIR}/proxsmtpd.conf ${PKG_SYSCONFDIR}/proxsmtpd.conf
RCD_SCRIPTS= proxsmtpd
+INSTALLATION_DIRS= ${EGDIR}
+
.include "../../mk/pthread.buildlink3.mk"
post-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
for file in \
doc/proxsmtpd.conf \
scripts/add_header.sh \
scripts/spamassassin.sh; \
do \
- ${INSTALL_DATA} ${WRKSRC}/$$file ${EGDIR}; \
+ ${INSTALL_DATA} ${WRKSRC}/$$file ${DESTDIR}${EGDIR}; \
done
.include "../../mk/bsd.pkg.mk"