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/cucipop | |
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/cucipop')
-rw-r--r-- | mail/cucipop/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/mail/cucipop/Makefile b/mail/cucipop/Makefile index 7327a195259..af807b65b55 100644 --- a/mail/cucipop/Makefile +++ b/mail/cucipop/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2007/06/20 02:22:33 jlam Exp $ +# $NetBSD: Makefile,v 1.31 2008/03/04 17:57:18 jlam Exp $ # DISTNAME= cucipop-1.31 @@ -15,6 +15,8 @@ COMMENT= The Cubic Circle POP3 mail server LICENSE= cucipop-license +PKG_DESTDIR_SUPPORT= user-destdir + REQD_DIRS+= ${PREFIX}/share/cucipop/bulletins # cucipop(8) needs to be able to create dotlocks in the mail spool @@ -61,9 +63,9 @@ SUBST_SED.prefix= -e "s|@prefix@|${PREFIX}|g" INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/cucipop ${PREFIX}/sbin - ${INSTALL_PROGRAM} ${WRKSRC}/makevpopdb ${PREFIX}/sbin - ${INSTALL_MAN} ${WRKSRC}/cucipop.8 ${PREFIX}/${PKGMANDIR}/man8 - ${INSTALL_MAN} ${WRKSRC}/makevpopdb.8 ${PREFIX}/${PKGMANDIR}/man8 + ${INSTALL_PROGRAM} ${WRKSRC}/cucipop ${DESTDIR}${PREFIX}/sbin + ${INSTALL_PROGRAM} ${WRKSRC}/makevpopdb ${DESTDIR}${PREFIX}/sbin + ${INSTALL_MAN} ${WRKSRC}/cucipop.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 + ${INSTALL_MAN} ${WRKSRC}/makevpopdb.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 .include "../../mk/bsd.pkg.mk" |