diff options
author | sergei <sergei@FreeBSD.org> | 2003-10-24 11:10:25 +0000 |
---|---|---|
committer | sergei <sergei@FreeBSD.org> | 2003-10-24 11:10:25 +0000 |
commit | 40f9d9e011b57864077ae265bfdb9ae90970a510 (patch) | |
tree | f2f922cccd8371d053cb472d43e2d14dd699edc2 /ftp/twoftpd | |
parent | bf6414a5fa9ac05fb843eb443127ef55d2e98501 (diff) | |
download | FreeBSD-ports-40f9d9e011b57864077ae265bfdb9ae90970a510.zip FreeBSD-ports-40f9d9e011b57864077ae265bfdb9ae90970a510.tar.gz |
(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')
-rw-r--r-- | ftp/twoftpd/Makefile | 23 | ||||
-rw-r--r-- | ftp/twoftpd/pkg-plist | 16 |
2 files changed, 19 insertions, 20 deletions
diff --git a/ftp/twoftpd/Makefile b/ftp/twoftpd/Makefile index e4c4b87..5fbfa40 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 e7a34bd..a60d9d4 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%% |