diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
commit | 411a468ce44836ba0dce72243b549d700f29037a (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /mail/mimedefang/Makefile | |
parent | a8d05d72830e3030fc1f7f00f4b39671102c05e6 (diff) | |
download | pkgsrc-411a468ce44836ba0dce72243b549d700f29037a.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'mail/mimedefang/Makefile')
-rw-r--r-- | mail/mimedefang/Makefile | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/mail/mimedefang/Makefile b/mail/mimedefang/Makefile index 6f6376d69c5..6dc007d0d7f 100644 --- a/mail/mimedefang/Makefile +++ b/mail/mimedefang/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2007/08/15 04:50:39 markd Exp $ +# $NetBSD: Makefile,v 1.39 2008/03/04 17:57:18 jlam Exp $ DISTNAME= mimedefang-2.63 CATEGORIES= mail @@ -17,6 +17,8 @@ DEPENDS+= p5-MIME-Base64>=2.11:../../converters/p5-MIME-Base64 DEPENDS+= p5-MIME-tools>=5.411.1:../../mail/p5-MIME-tools DEPENDS+= spamassassin>=2.31:../../mail/spamassassin +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../mk/bsd.prefs.mk" USE_TOOLS+= perl:run @@ -70,23 +72,23 @@ PTHREAD_OPTS+= require native INSTALLATION_DIRS= bin ${PKGMANDIR}/man5 ${PKGMANDIR}/man7 ${PKGMANDIR}/man8 do-install: - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA_DIR} ${SHAREDIR} - ${INSTALL_DATA} ${WRKSRC}/gen-ip-validator.pl ${SHAREDIR} - ${INSTALL_PROGRAM} ${WRKSRC}/md-mx-ctrl ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/mimedefang-multiplexor ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/mimedefang ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/watch-mimedefang ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/mimedefang.pl ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/md-mx-ctrl.8 ${PREFIX}/${PKGMANDIR}/man8 - ${INSTALL_DATA} ${WRKSRC}/mimedefang.8 ${PREFIX}/${PKGMANDIR}/man8 - ${INSTALL_DATA} ${WRKSRC}/mimedefang.pl.8 ${PREFIX}/${PKGMANDIR}/man8 - ${INSTALL_DATA} ${WRKSRC}/mimedefang-multiplexor.8 ${PREFIX}/${PKGMANDIR}/man8 - ${INSTALL_DATA} ${WRKSRC}/watch-mimedefang.8 ${PREFIX}/${PKGMANDIR}/man8 - ${INSTALL_DATA} ${WRKSRC}/mimedefang-filter.5 ${PREFIX}/${PKGMANDIR}/man5 - ${INSTALL_DATA} ${WRKSRC}/mimedefang-protocol.7 ${PREFIX}/${PKGMANDIR}/man7 - ${INSTALL_DATA} ${WRKSRC}/examples/suggested-minimum-filter-for-windows-clients ${EGDIR}/mimedefang-filter - ${INSTALL_DATA} ${WRKSRC}/SpamAssassin/spamassassin.cf ${EGDIR}/sa-mimedefang.cf + ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${SHAREDIR} + ${INSTALL_DATA} ${WRKSRC}/gen-ip-validator.pl ${DESTDIR}${SHAREDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/md-mx-ctrl ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/mimedefang-multiplexor ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/mimedefang ${DESTDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/watch-mimedefang ${DESTDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/mimedefang.pl ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/md-mx-ctrl.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 + ${INSTALL_DATA} ${WRKSRC}/mimedefang.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 + ${INSTALL_DATA} ${WRKSRC}/mimedefang.pl.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 + ${INSTALL_DATA} ${WRKSRC}/mimedefang-multiplexor.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 + ${INSTALL_DATA} ${WRKSRC}/watch-mimedefang.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 + ${INSTALL_DATA} ${WRKSRC}/mimedefang-filter.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 + ${INSTALL_DATA} ${WRKSRC}/mimedefang-protocol.7 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man7 + ${INSTALL_DATA} ${WRKSRC}/examples/suggested-minimum-filter-for-windows-clients ${DESTDIR}${EGDIR}/mimedefang-filter + ${INSTALL_DATA} ${WRKSRC}/SpamAssassin/spamassassin.cf ${DESTDIR}${EGDIR}/sa-mimedefang.cf .include "../../mail/libmilter/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" |