- remove BROKEN

- add USE_PERL5
- honor CFLAGS
- whitespace fixes
This commit is contained in:
Dirk Meyer 2002-11-03 05:47:22 +00:00
parent ba5da08bbb
commit 4f98b57ad1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69321

View file

@ -12,6 +12,7 @@ MASTER_SITES= ftp://vsftpd.beasts.org/users/cevans/
MAINTAINER= dinoex@FreeBSD.org
USE_PERL5= yes
ALL_TARGET= vsftpd
MAN5= vsftpd.conf.5
@ -20,14 +21,13 @@ MAN8= vsftpd.8
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500035
BROKEN= "Does not compile on 5.0"
.endif
post-patch:
@${MV} ${WRKSRC}/defs.h ${WRKSRC}/defs.h.sed
${SED} -e "s=/etc/vsftpd.conf=${PREFIX}/etc/vsftpd.conf=" \
${WRKSRC}/defs.h.sed > ${WRKSRC}/defs.h
@${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.sed
${SED} -e "s/^CFLAGS =/CFLAGS +=/" \
${WRKSRC}/Makefile.sed > ${WRKSRC}/Makefile
@${ECHO_CMD} "secure_chroot_dir=${PREFIX}/share/vsftpd/empty" >> \
${WRKSRC}/vsftpd.conf