summaryrefslogtreecommitdiff
path: root/mail/teapop
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-04 02:42:23 +0000
committerjoerg <joerg>2010-02-04 02:42:23 +0000
commite7a9eed12e7069b9b7d691e21b0c90e5d7a45e7c (patch)
tree5b4223de2763bc7133e50185e05bf9e463b20f90 /mail/teapop
parent13e9174b0daec09e7cff3c71247a8b3b229e0ac7 (diff)
downloadpkgsrc-e7a9eed12e7069b9b7d691e21b0c90e5d7a45e7c.tar.gz
DESTDIR support
Diffstat (limited to 'mail/teapop')
-rw-r--r--mail/teapop/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/mail/teapop/Makefile b/mail/teapop/Makefile
index 9412f594d35..f4b9db1ac6b 100644
--- a/mail/teapop/Makefile
+++ b/mail/teapop/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2007/12/02 11:20:22 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2010/02/04 02:45:20 joerg Exp $
DISTNAME= teapop-0.3.8
PKGREVISION= 5
@@ -9,6 +9,8 @@ MAINTAINER= dawszy@arhea.net
HOMEPAGE= http://www.toontown.org/teapop/
COMMENT= Yet another RFC1939 compliant POP3 server
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= perl:run
GNU_CONFIGURE= YES
@@ -24,9 +26,10 @@ RCD_SCRIPTS= teapop
.include "options.mk"
+INSTALLATION_DIRS+= ${EGDIR}
+
post-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/etc/teapop.passwd ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/etc/teapop.passwd ${DESTDIR}${EGDIR}
.include "../../security/tcp_wrappers/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"