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
commita7261f63e79cd1796c4cbf9609d4c15e91384c7a (patch)
tree5b4223de2763bc7133e50185e05bf9e463b20f90 /mail/solid-pop3d
parentbc5e38767d131e2f4488a4a8353c1e619cb6ced2 (diff)
downloadpkgsrc-a7261f63e79cd1796c4cbf9609d4c15e91384c7a.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"