summaryrefslogtreecommitdiff
path: root/net/tnftpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/tnftpd/Makefile')
-rw-r--r--net/tnftpd/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/net/tnftpd/Makefile b/net/tnftpd/Makefile
index 8bc109950d1..f40b02477ba 100644
--- a/net/tnftpd/Makefile
+++ b/net/tnftpd/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2003/12/10 02:57:51 lukem Exp $
+# $NetBSD: Makefile,v 1.4 2003/12/18 01:14:59 lukem Exp $
#
-DISTNAME= tnftpd-20031210
-PKGNAME= tnftpd-20031210
+DISTNAME= tnftpd-20031217
+PKGNAME= tnftpd-20031217
SVR4_PKGNAME= tnftpd
CATEGORIES= net
MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/tnftp/
@@ -40,10 +40,15 @@ CONFIGURE_ARGS+= --disable-ipv6
MAKE_ENV+= CPPFLAGS=""
.endif
+EXAMPLEDIR= ${PREFIX}/share/examples/tnftpd
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/tnftpd ${PREFIX}/libexec
${INSTALL_MAN} ${WRKSRC}/src/ftpd.conf.5 ${PREFIX}/man/man5
${INSTALL_MAN} ${WRKSRC}/src/ftpusers.5 ${PREFIX}/man/man5
${INSTALL_MAN} ${WRKSRC}/src/ftpd.8 ${PREFIX}/man/man8
+ ${INSTALL_DATA_DIR} ${EXAMPLEDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/ftpd.conf ${EXAMPLEDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/ftpusers ${EXAMPLEDIR}
.include "../../mk/bsd.pkg.mk"