summaryrefslogtreecommitdiff
path: root/net/tnftpd/Makefile
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-12-20 13:38:37 +0000
committergrant <grant@pkgsrc.org>2003-12-20 13:38:37 +0000
commitbda506ae88753a4d40ce76ba129e8b5151574748 (patch)
tree3d8f400081a3a966415adbeef9c9d19ad3b14c4d /net/tnftpd/Makefile
parentb2c1b51b4beccd6271f69bf297ebe2c7f942c9cc (diff)
downloadpkgsrc-bda506ae88753a4d40ce76ba129e8b5151574748.tar.gz
incorporate patch from othersrc/libexec/tnftpd to honour --sysconfdir
(will be included in the next release) and make the package honour PKG_SYSCONFDIR. use CONF_FILES to install the sample configuration ftpd.conf and ftpusers. bump PKGREVISION, as the default configuration file location has changed to ${PKG_SYSCONFDIR}. set PKG_SYSCONFDIR.tnftpd=/etc to get the previous behaviour.
Diffstat (limited to 'net/tnftpd/Makefile')
-rw-r--r--net/tnftpd/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/net/tnftpd/Makefile b/net/tnftpd/Makefile
index e77bdca69a5..e593ce78bc0 100644
--- a/net/tnftpd/Makefile
+++ b/net/tnftpd/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2003/12/19 21:30:00 grant Exp $
+# $NetBSD: Makefile,v 1.7 2003/12/20 13:38:37 grant Exp $
#
DISTNAME= tnftpd-20031217
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/tnftp/
@@ -14,6 +15,12 @@ CONFLICTS+= lukemftpd-[0-9]*
GNU_CONFIGURE= YES
MANCOMPRESSED_IF_MANZ= YES
+USE_PKGINSTALL= YES
+
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+
+CONF_FILES+= ${EXAMPLEDIR}/ftpd.conf ${PKG_SYSCONFDIR}/ftpd.conf
+CONF_FILES+= ${EXAMPLEDIR}/ftpusers ${PKG_SYSCONFDIR}/ftpusers
.include "../../mk/bsd.prefs.mk"