diff options
Diffstat (limited to 'ftp/bftpd/Makefile')
-rw-r--r-- | ftp/bftpd/Makefile | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/ftp/bftpd/Makefile b/ftp/bftpd/Makefile index 1abbfa13fc67..bf10d6f2a1cc 100644 --- a/ftp/bftpd/Makefile +++ b/ftp/bftpd/Makefile @@ -6,22 +6,30 @@ # PORTNAME= bftpd -PORTVERSION= 1.0.18 -PORTREVISION= 1 +PORTVERSION= 1.0.21 CATEGORIES= ftp MASTER_SITES= http://www.bftpd.f2s.com/downloads/src/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= petef@databits.net GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --enable-pam + MAN8= bftpd.8 -pre-configure: - ${PERL} -pi -e "s@<wait.h>@<sys/wait.h>@g" ${WRKSRC}/commands.c - ${PERL} -pi -e "s@chmod 644 /var@#chmod 644 /var@g; \ +post-patch: + @${PERL} -pi -e "s@<wait.h>@<sys/wait.h>@g" ${WRKSRC}/commands.c + @${PERL} -pi -e "s@chmod 644 /var@#chmod 644 /var@g; \ s@touch /var@#touch /var@g; \ s@DESTDIR\)/etc@prefix\)/etc@g; \ s@bftpd.conf @bftpd.conf.sample @g" ${WRKSRC}/Makefile.in - ${CP} ${WRKSRC}/bftpd.conf ${WRKSRC}/bftpd.conf.sample + @${PERL} -pi -e "s@-ldl@@" ${WRKSRC}/configure + @${CP} ${WRKSRC}/bftpd.conf ${WRKSRC}/bftpd.conf.sample + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/bftpd + ${INSTALL_DATA} ${WRKSRC}/doc/bftpddoc.txt ${PREFIX}/share/doc/bftpd +.endif .include <bsd.port.mk> |