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 | a80fd13efc426f96e55870df48a2030daea0f14b (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /mail/qmail-run | |
parent | 31c6c3a796edf9dd9bae5586339c5e2e023ca408 (diff) | |
download | pkgsrc-a80fd13efc426f96e55870df48a2030daea0f14b.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'mail/qmail-run')
-rw-r--r-- | mail/qmail-run/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/mail/qmail-run/Makefile b/mail/qmail-run/Makefile index f5cc87419fb..4d819cf75bc 100644 --- a/mail/qmail-run/Makefile +++ b/mail/qmail-run/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2007/03/24 07:08:35 schmonz Exp $ +# $NetBSD: Makefile,v 1.22 2008/03/04 17:57:19 jlam Exp $ # DISTNAME= qmail-run-20060604 @@ -15,6 +15,7 @@ DEPENDS+= ${DEPENDS_QMAIL} CONFLICTS+= qmail-qfilter-1.5nb1 PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR} NO_CHECKSUM= yes @@ -65,10 +66,12 @@ post-extract: done do-install: - ${INSTALL_SCRIPT} ${WRKDIR}/qmail-procmail ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKDIR}/qmail-qfilter-queue ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKDIR}/qmail-qread-client ${PREFIX}/bin - ${INSTALL_DATA} ${WRKDIR}/README.pkgsrc ${PREFIX}/share/doc/qmail-run - ${INSTALL_DATA} ${WRKDIR}/mailer.conf ${PREFIX}/share/examples/qmail-run + ${INSTALL_SCRIPT} ${WRKDIR}/qmail-procmail ${DESTDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKDIR}/qmail-qfilter-queue ${DESTDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKDIR}/qmail-qread-client ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKDIR}/README.pkgsrc \ + ${DESTDIR}${PREFIX}/share/doc/qmail-run + ${INSTALL_DATA} ${WRKDIR}/mailer.conf \ + ${DESTDIR}${PREFIX}/share/examples/qmail-run .include "../../mk/bsd.pkg.mk" |