diff options
author | jlam <jlam> | 2008-03-04 17:57:17 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-04 17:57:17 +0000 |
commit | 227db4fd65c1798f1f06219f896b8a2add93ce0c (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /mail/dk-milter | |
parent | 47512d21954e6312a4cd43b04b4c2594596e697b (diff) | |
download | pkgsrc-227db4fd65c1798f1f06219f896b8a2add93ce0c.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'mail/dk-milter')
-rw-r--r-- | mail/dk-milter/Makefile | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/mail/dk-milter/Makefile b/mail/dk-milter/Makefile index 5050deb59da..bb8a6010377 100644 --- a/mail/dk-milter/Makefile +++ b/mail/dk-milter/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2008/01/18 05:08:22 tnn Exp $ +# $NetBSD: Makefile,v 1.15 2008/03/04 17:57:18 jlam Exp $ DISTNAME= dk-milter-0.3.0 PKGREVISION= 2 @@ -13,6 +13,8 @@ BUILDLINK_API_DEPENDS.libmilter+= libmilter>=8.13.0 LICENSE= sendmail-open-source-license +PKG_DESTDIR_SUPPORT= user-destdir + MAKE_ENV+= M4=${M4:Q} RCD_SCRIPTS= dk-milter USE_BUILTIN.libmilter= no @@ -42,13 +44,20 @@ post-build: do-install: cd ${WRKSRC}/obj.`${UNAME} -srm | ${TR} \ . | ${TR} \/ -` && \ - ${INSTALL_PROGRAM} dk-filter/dk-filter ${PREFIX}/sbin/dk-milter - ${INSTALL_MAN} ${WRKSRC}/dk-filter/dk-milter.8 ${PREFIX}/${PKGMANDIR}/man8/ - ${INSTALL_DATA} ${WRKSRC}/FEATURES ${PREFIX}/share/doc/dk-milter - ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/dk-milter - ${INSTALL_DATA} ${WRKSRC}/KNOWNBUGS ${PREFIX}/share/doc/dk-milter - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dk-milter - ${INSTALL_DATA} ${WRKSRC}/RELEASE_NOTES ${PREFIX}/share/doc/dk-milter + ${INSTALL_PROGRAM} dk-filter/dk-filter \ + ${DESTDIR}${PREFIX}/sbin/dk-milter + ${INSTALL_MAN} ${WRKSRC}/dk-filter/dk-milter.8 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ + ${INSTALL_DATA} ${WRKSRC}/FEATURES \ + ${DESTDIR}${PREFIX}/share/doc/dk-milter + ${INSTALL_DATA} ${WRKSRC}/INSTALL \ + ${DESTDIR}${PREFIX}/share/doc/dk-milter + ${INSTALL_DATA} ${WRKSRC}/KNOWNBUGS \ + ${DESTDIR}${PREFIX}/share/doc/dk-milter + ${INSTALL_DATA} ${WRKSRC}/README \ + ${DESTDIR}${PREFIX}/share/doc/dk-milter + ${INSTALL_DATA} ${WRKSRC}/RELEASE_NOTES \ + ${DESTDIR}${PREFIX}/share/doc/dk-milter .include "options.mk" .include "../../security/openssl/buildlink3.mk" |