summaryrefslogtreecommitdiff
path: root/mail/popa3d/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/popa3d/Makefile')
-rw-r--r--mail/popa3d/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/mail/popa3d/Makefile b/mail/popa3d/Makefile
index df77243c018..e24d6fd1558 100644
--- a/mail/popa3d/Makefile
+++ b/mail/popa3d/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2007/12/02 12:13:31 wiz Exp $
+# $NetBSD: Makefile,v 1.50 2008/03/04 17:57:19 jlam Exp $
#
DISTNAME= popa3d-1.0.2
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.openwall.com/popa3d/
COMMENT= Secure, reliable, performant, and small pop3 server
+PKG_DESTDIR_SUPPORT= user-destdir
+
POPA3D_USER?= popa3d
POPA3D_GROUP?= popa3d
@@ -34,12 +36,13 @@ SUBST_SED.params= -e 's,/var/empty,${PREFIX}/share/empty,' \
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin
do-install:
- ${INSTALL_PROGRAM} -m 500 ${WRKSRC}/popa3d ${PREFIX}/sbin
- ${INSTALL_DATA} ${WRKSRC}/popa3d.8 ${PREFIX}/${PKGMANDIR}/man8/
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/popa3d
+ ${INSTALL_PROGRAM} -m 500 ${WRKSRC}/popa3d ${DESTDIR}${PREFIX}/sbin
+ ${INSTALL_DATA} ${WRKSRC}/popa3d.8 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/popa3d
cd ${WRKSRC} && ${INSTALL_DATA} DESIGN INSTALL LICENSE \
- ${PREFIX}/share/doc/popa3d
- ${INSTALL_DATA_DIR} ${PREFIX}/share/empty
+ ${DESTDIR}${PREFIX}/share/doc/popa3d
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/empty
.include "../../security/tcp_wrappers/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"