summaryrefslogtreecommitdiff
path: root/mail/solid-pop3d
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/solid-pop3d
parentf5ebf945e1d56df7d92a2fd828af623b23169e73 (diff)
downloadpkgsrc-1bc7a471f95b23317cf35ecb8d7104168755a06c.tar.gz
DESTDIR support
Diffstat (limited to 'mail/solid-pop3d')
-rw-r--r--mail/solid-pop3d/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/mail/solid-pop3d/Makefile b/mail/solid-pop3d/Makefile
index 23bdcd26e74..1a426bc18b9 100644
--- a/mail/solid-pop3d/Makefile
+++ b/mail/solid-pop3d/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2007/09/07 22:07:31 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2010/02/04 02:42:23 joerg Exp $
DISTNAME= solid-pop3d-0.15
CATEGORIES= mail
@@ -8,6 +8,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://solidpop3d.pld.org.pl/
COMMENT= Flexible POP3 server
+PKG_DESTDIR_SUPPORT= user-destdir
+
EGDIR= ${PREFIX}/share/examples/spop3d
MESSAGE_SUBST+= EGDIR=${EGDIR}
@@ -23,14 +25,14 @@ CONFIGURE_ARGS+= --enable-statistics
PLIST_SRC+= ${PKGDIR}/PLIST
EXAMPLES+= config.example
+INSTALLATION_DIRS+= ${EGDIR} share/doc/solid-pop3d
+
post-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
cd ${WRKSRC}/doc; for i in ${EXAMPLES}; do \
- ${INSTALL_DATA} $${i} ${EGDIR}/$${i}; \
+ ${INSTALL_DATA} $${i} ${DESTDIR}${EGDIR}/$${i}; \
done
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/solid-pop3d
.for i in AUTHORS CONFIGFILE COPYING ChangeLog INSTALL README THANKS VIRTUALS
- ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/solid-pop3d
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DESTDIR}${PREFIX}/share/doc/solid-pop3d
.endfor
.include "../../mk/bsd.pkg.mk"