summaryrefslogtreecommitdiff
path: root/net/proftpd
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commitba171a91fab519f587b027c1a2888cb6e3fce049 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /net/proftpd
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'net/proftpd')
-rw-r--r--net/proftpd/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/net/proftpd/Makefile b/net/proftpd/Makefile
index b68de4de4fb..6fabe523b18 100644
--- a/net/proftpd/Makefile
+++ b/net/proftpd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2007/11/12 00:00:12 wiz Exp $
+# $NetBSD: Makefile,v 1.47 2008/06/12 02:14:41 joerg Exp $
DISTNAME= proftpd-1.3.1
#PKGREVISION= 1
@@ -13,6 +13,8 @@ HOMEPAGE= http://www.proftpd.org/
COMMENT= FTP server with Apache like configuration
#LICENSE= gnu-gpl-v2
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
GNU_CONFIGURE= yes
@@ -49,13 +51,13 @@ PLIST_SRC+= ${PKGDIR}/PLIST
post-install:
.for i in NEWS README README.IPv6 README.LDAP README.PAM README.capabilities \
README.classes README.controls README.facl README.modules
- ${INSTALL_DATA} ${WRKSRC:Q}/${i:Q} ${PREFIX:Q}/share/doc/proftpd
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DESTDIR}${PREFIX}/share/doc/proftpd
.endfor
.for i in Configuration.html faq.html license.txt
- ${INSTALL_DATA} ${WRKSRC:Q}/doc/${i:Q} ${PREFIX:Q}/share/doc/proftpd
+ ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DESTDIR}${PREFIX}/share/doc/proftpd
.endfor
- ${INSTALL_DATA} ${WRKSRC:Q}/sample-configurations/*.conf \
- ${PREFIX:Q}/share/examples/proftpd
+ ${INSTALL_DATA} ${WRKSRC}/sample-configurations/*.conf \
+ ${DESTDIR}${PREFIX}/share/examples/proftpd
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"