summaryrefslogtreecommitdiff
path: root/mail/proxsmtp/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commitba171a91fab519f587b027c1a2888cb6e3fce049 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /mail/proxsmtp/Makefile
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'mail/proxsmtp/Makefile')
-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"