aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/twoftpd/Makefile
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2003-10-24 19:10:25 +0800
committersergei <sergei@FreeBSD.org>2003-10-24 19:10:25 +0800
commit40f9d9e011b57864077ae265bfdb9ae90970a510 (patch)
treef2f922cccd8371d053cb472d43e2d14dd699edc2 /ftp/twoftpd/Makefile
parentbf6414a5fa9ac05fb843eb443127ef55d2e98501 (diff)
downloadfreebsd-ports-gnome-40f9d9e011b57864077ae265bfdb9ae90970a510.tar.gz
freebsd-ports-gnome-40f9d9e011b57864077ae265bfdb9ae90970a510.tar.zst
freebsd-ports-gnome-40f9d9e011b57864077ae265bfdb9ae90970a510.zip
(maintainer timeout since 2003-06-15)
- Use native installer - Install documentation - Remove unneeded USE_REINPLACE - Bump PORTREVISION PR: 52909 Approved by: krion (implicit)
Diffstat (limited to 'ftp/twoftpd/Makefile')
-rw-r--r--ftp/twoftpd/Makefile23
1 files changed, 9 insertions, 14 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>