summaryrefslogtreecommitdiff
path: root/net/pure-ftpd
diff options
context:
space:
mode:
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"