summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorjoerg <joerg>2008-12-18 17:28:15 +0000
committerjoerg <joerg>2008-12-18 17:28:15 +0000
commit771bce2f91f4684b688f66133d126850ee07e9d7 (patch)
tree3ef2610d1413bf8de985868bb38e06e6152f7050 /mail
parent14f7145c225b692b0344df33a59e4799708ca8c0 (diff)
downloadpkgsrc-771bce2f91f4684b688f66133d126850ee07e9d7.tar.gz
DESTDIR support.
Diffstat (limited to 'mail')
-rw-r--r--mail/mailwrapper/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/mail/mailwrapper/Makefile b/mail/mailwrapper/Makefile
index da4e3028e68..55bdfa23014 100644
--- a/mail/mailwrapper/Makefile
+++ b/mail/mailwrapper/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2007/01/07 09:13:58 rillig Exp $
+# $NetBSD: Makefile,v 1.26 2008/12/18 17:28:16 joerg Exp $
DISTNAME= mailwrapper-19990412
PKGREVISION= 4
@@ -8,10 +8,11 @@ MASTER_SITES= ${MASTER_SITE_LOCAL}
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Wrapper to support arbitrary Mail Transport Agents
-NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_BSD_MAKEFILE= yes
WRKSRC= ${WRKDIR}/mailwrapper
-MANCOMPRESSED_IF_MANZ= yes
EGDIR= ${PREFIX}/share/examples/mailwrapper
@@ -23,7 +24,9 @@ MAILWRAPPEES= /usr/bin/mailq \
/usr/sbin/sendmail /usr/lib/sendmail
FILES_SUBST+= MAILWRAPPEES=${MAILWRAPPEES:Q}
-INSTALLATION_DIRS= ${PKGMANDIR}/cat5 ${PKGMANDIR}/cat8 ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 sbin
+INSTALLATION_DIRS= ${PKGMANDIR}/cat5 ${PKGMANDIR}/cat8 \
+ ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 sbin \
+ share/examples/mailwrapper
do-configure:
cd ${WRKSRC}; \
@@ -34,7 +37,6 @@ do-configure:
done
post-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/mailer.conf ${EGDIR}/mailer.conf.sendmail
+ ${INSTALL_DATA} ${WRKSRC}/mailer.conf ${DESTDIR}${EGDIR}/mailer.conf.sendmail
.include "../../mk/bsd.pkg.mk"