summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2003-10-24 11:10:25 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2003-10-24 11:10:25 +0000
commitf585a48b46ad18983f16ba3e8ffaf6509b365f2e (patch)
tree3f0249d8f7ef9a29983fd63c38a42bc0bf71b8d7 /ftp
parent- Update to 0.99.7 (diff)
(maintainer timeout since 2003-06-15)
- Use native installer - Install documentation - Remove unneeded USE_REINPLACE - Bump PORTREVISION PR: 52909 Approved by: krion (implicit)
Notes
Notes: svn path=/head/; revision=92053
Diffstat (limited to 'ftp')
-rw-r--r--ftp/twoftpd/Makefile23
-rw-r--r--ftp/twoftpd/pkg-plist16
2 files changed, 19 insertions, 20 deletions
diff --git a/ftp/twoftpd/Makefile b/ftp/twoftpd/Makefile
index e4c4b8750b73..5fbfa4048d1f 100644
--- a/ftp/twoftpd/Makefile
+++ b/ftp/twoftpd/Makefile
@@ -7,6 +7,7 @@
PORTNAME= twoftpd
PORTVERSION= 1.17
+PORTREVISION= 2
CATEGORIES= ftp
MASTER_SITES= http://untroubled.org/twoftpd/
@@ -15,27 +16,21 @@ COMMENT= A simple, secure, efficient FTP server
BUILD_DEPENDS= ${LOCALBASE}/lib/libbg-unix.a:${PORTSDIR}/devel/bglibs
-USE_REINPLACE= yes
-
+DOCS= NEWS README TODO
MAN1= twoftpd-auth.1 twoftpd-xfer.1
-BIN= twoftpd-anon twoftpd-anon-conf twoftpd-auth \
- twoftpd-bind-port twoftpd-conf twoftpd-xfer
-
do-configure:
- ${ECHO_CMD} "${LOCALBASE}/include/bglibs" \
- > ${WRKSRC}/conf-bgincs
+ ${ECHO_CMD} "${LOCALBASE}/include/bglibs" > ${WRKSRC}/conf-bgincs
${ECHO_CMD} "${LOCALBASE}/lib" > ${WRKSRC}/conf-bglibs
- ${ECHO_CMD} "${PREFIX}/sbin" > ${WRKSRC}/conf-bin
+ ${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
do-install:
-.for FILE in ${MAN1}
- ${INSTALL_MAN} ${WRKSRC}/${FILE} ${MANPREFIX}/man/man1
-.endfor
-.for FILE in ${BIN}
- ${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${PREFIX}/sbin
-.endfor
+ cd ${WRKSRC} && ./installer
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+.endif
.include <bsd.port.mk>
diff --git a/ftp/twoftpd/pkg-plist b/ftp/twoftpd/pkg-plist
index e7a34bddfb8f..a60d9d4d441f 100644
--- a/ftp/twoftpd/pkg-plist
+++ b/ftp/twoftpd/pkg-plist
@@ -1,6 +1,10 @@
-sbin/twoftpd-anon
-sbin/twoftpd-anon-conf
-sbin/twoftpd-auth
-sbin/twoftpd-bind-port
-sbin/twoftpd-conf
-sbin/twoftpd-xfer
+bin/twoftpd-anon
+bin/twoftpd-anon-conf
+bin/twoftpd-auth
+bin/twoftpd-bind-port
+bin/twoftpd-conf
+bin/twoftpd-xfer
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%@dirrm %%DOCSDIR%%