summaryrefslogtreecommitdiff
path: root/mail/cucipop
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-04 17:57:17 +0000
committerjlam <jlam>2008-03-04 17:57:17 +0000
commit227db4fd65c1798f1f06219f896b8a2add93ce0c (patch)
treeea772f1017a149bdf8c86107c24d16246695614e /mail/cucipop
parent47512d21954e6312a4cd43b04b4c2594596e697b (diff)
downloadpkgsrc-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/cucipop')
-rw-r--r--mail/cucipop/Makefile12
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"