diff options
Diffstat (limited to 'mail/anomy-sanitizer/Makefile')
-rw-r--r-- | mail/anomy-sanitizer/Makefile | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/mail/anomy-sanitizer/Makefile b/mail/anomy-sanitizer/Makefile index cb26f491a9d..68a8fdd739b 100644 --- a/mail/anomy-sanitizer/Makefile +++ b/mail/anomy-sanitizer/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2006/12/21 19:33:28 rillig Exp $ +# $NetBSD: Makefile,v 1.23 2008/03/04 17:57:17 jlam Exp $ # DISTNAME= anomy-sanitizer-1.76 @@ -14,6 +14,7 @@ DEPENDS+= p5-MIME-Base64-[0-9]*:../../converters/p5-MIME-Base64 DEPENDS+= p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5 PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir .include "../../mk/bsd.prefs.mk" @@ -46,9 +47,9 @@ do-build: [ -d contrib/.tmp ] && rmdir contrib/.tmp do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/sanitizer ${PREFIX}/sbin - ${INSTALL_SCRIPT} ${WRKSRC}/simplify ${PREFIX}/sbin - ${INSTALL_DATA_DIR} ${ANOMYDOC} + ${INSTALL_SCRIPT} ${WRKSRC}/sanitizer ${DESTDIR}${PREFIX}/sbin + ${INSTALL_SCRIPT} ${WRKSRC}/simplify ${DESTDIR}${PREFIX}/sbin + ${INSTALL_DATA_DIR} ${DESTDIR}${ANOMYDOC} cd ${WRKSRC} && pax -rw -s',.*\.orig$$,,' -s',^\..*$$,,' \ CHANGELOG.sanitizer \ CREDITS \ @@ -56,14 +57,13 @@ do-install: UNICODE.TXT \ contrib \ sanitizer.html \ - ${ANOMYDOC} - chown -R ${SHAREOWN}:${SHAREGRP} ${ANOMYDOC} - ${INSTALL_DATA_DIR} ${ANOMYLIB} - ${INSTALL_DATA_DIR} ${ANOMYLIB}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/bin/mailblogger.pl ${ANOMYLIB}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/bin/sanitizer.pl ${ANOMYLIB}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/bin/simplify.pl ${ANOMYLIB}/bin - cd ${WRKSRC}/bin && pax -rw -s',.*\.orig$$,,' Anomy ${ANOMYLIB}/bin - chown -R ${LIBOWN}:${LIBGRP} ${ANOMYLIB} + ${DESTDIR}${ANOMYDOC} + ${INSTALL_DATA_DIR} ${DESTDIR}${ANOMYLIB} + ${INSTALL_DATA_DIR} ${DESTDIR}${ANOMYLIB}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/bin/mailblogger.pl ${DESTDIR}${ANOMYLIB}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/bin/sanitizer.pl ${DESTDIR}${ANOMYLIB}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/bin/simplify.pl ${DESTDIR}${ANOMYLIB}/bin + cd ${WRKSRC}/bin && pax -rw -s',.*\.orig$$,,' Anomy \ + ${DESTDIR}${ANOMYLIB}/bin .include "../../mk/bsd.pkg.mk" |