summaryrefslogtreecommitdiff
path: root/ftp/bftpd/Makefile
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-07-07 05:32:43 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-07-07 05:32:43 +0000
commit07ef873d22afe82c9c8c00fdfd07177c591b14b3 (patch)
tree7bd22b70109ba7b215816c866aa4ec72a7c05526 /ftp/bftpd/Makefile
parent- update to 15.3 (diff)
Update to 1.0.21
Give petef@databits.net maintainership PR: 28782 Submitted by: petef@databits.net
Notes
Notes: svn path=/head/; revision=44864
Diffstat (limited to 'ftp/bftpd/Makefile')
-rw-r--r--ftp/bftpd/Makefile22
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>