2013-07-31 22:17:27 +00:00
|
|
|
# Created by: will
|
2001-04-07 23:24:24 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= bftpd
|
2017-12-26 23:26:33 +00:00
|
|
|
PORTVERSION= 4.8
|
2001-04-07 23:24:24 +00:00
|
|
|
CATEGORIES= ftp
|
2009-08-22 00:20:34 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2001-04-07 23:24:24 +00:00
|
|
|
|
2014-10-10 14:48:04 +00:00
|
|
|
MAINTAINER= danilo@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Very configurable FTP server that can do chroot easily
|
2001-04-07 23:24:24 +00:00
|
|
|
|
2011-05-20 18:35:18 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2017-12-24 17:21:51 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --enable-pam
|
|
|
|
USES= autoreconf
|
2001-07-07 05:32:43 +00:00
|
|
|
|
2010-04-17 19:59:24 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
2014-03-06 18:36:11 +00:00
|
|
|
PLIST_FILES= sbin/${PORTNAME} etc/${PORTNAME}.conf.sample \
|
|
|
|
man/man8/bftpd.8.gz
|
2010-09-06 12:33:09 +00:00
|
|
|
PORTDOCS= en pl sk
|
2001-04-07 23:24:24 +00:00
|
|
|
|
2001-07-07 05:32:43 +00:00
|
|
|
post-patch:
|
2003-01-05 18:08:40 +00:00
|
|
|
@${REINPLACE_CMD} -e 's,/etc/bftpd.conf,${PREFIX}/etc/bftpd.conf,' \
|
|
|
|
${WRKSRC}/mypaths.h
|
2011-05-20 18:35:18 +00:00
|
|
|
@${REINPLACE_CMD} -e 's, -ldl,,g' ${WRKSRC}/configure.in
|
2016-10-21 12:51:40 +00:00
|
|
|
@${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -r
|
2001-07-07 05:32:43 +00:00
|
|
|
|
2007-03-25 10:45:35 +00:00
|
|
|
do-install:
|
2014-03-06 18:36:11 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/bftpd.conf ${STAGEDIR}${PREFIX}/etc/bftpd.conf.sample
|
|
|
|
@cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
2001-04-07 23:24:24 +00:00
|
|
|
|
2015-09-18 14:01:06 +00:00
|
|
|
.include <bsd.port.mk>
|