From f585a48b46ad18983f16ba3e8ffaf6509b365f2e Mon Sep 17 00:00:00 2001 From: Sergei Kolobov Date: Fri, 24 Oct 2003 11:10:25 +0000 Subject: (maintainer timeout since 2003-06-15) - Use native installer - Install documentation - Remove unneeded USE_REINPLACE - Bump PORTREVISION PR: 52909 Approved by: krion (implicit) --- ftp/twoftpd/Makefile | 23 +++++++++-------------- ftp/twoftpd/pkg-plist | 16 ++++++++++------ 2 files changed, 19 insertions(+), 20 deletions(-) (limited to 'ftp') 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 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%% -- cgit v1.2.3