summaryrefslogtreecommitdiff
path: root/mail/teapop
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-04 02:42:23 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-04 02:42:23 +0000
commit1bc7a471f95b23317cf35ecb8d7104168755a06c (patch)
tree5b4223de2763bc7133e50185e05bf9e463b20f90 /mail/teapop
parentf5ebf945e1d56df7d92a2fd828af623b23169e73 (diff)
downloadpkgsrc-1bc7a471f95b23317cf35ecb8d7104168755a06c.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"