summaryrefslogtreecommitdiff
path: root/net/pure-ftpd
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/pure-ftpd
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'net/pure-ftpd')
-rw-r--r--net/pure-ftpd/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/pure-ftpd/Makefile b/net/pure-ftpd/Makefile
index 1edc1cbc756..0e2b03a231b 100644
--- a/net/pure-ftpd/Makefile
+++ b/net/pure-ftpd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2007/02/22 19:01:23 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2008/06/12 02:14:41 joerg Exp $
DISTNAME= pure-ftpd-1.0.21
CATEGORIES= net
@@ -16,6 +16,8 @@ MAINTAINER= dawszy@arhea.net
HOMEPAGE= http://www.pureftpd.org/project/pure-ftpd
COMMENT= Secure FTP daemon with optional SQL support
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-everything
@@ -30,14 +32,14 @@ CONFIGURE_ARGS+= --with-privsep
.include "options.mk"
RCD_SCRIPTS= pure_ftpd
+INSTALLATION_DIRS= share/doc/pure-ftpd
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pure-ftpd
cd ${WRKSRC} && \
${INSTALL_DATA} README README.Authentication-Modules \
README.Configuration-File README.Contrib \
README.TLS README.Virtual-Users \
README.MySQL README.PGSQL README.LDAP \
- ${PREFIX}/share/doc/pure-ftpd
+ ${DESTDIR}${PREFIX}/share/doc/pure-ftpd
.include "../../mk/bsd.pkg.mk"