freebsd-ports/ftp/bftpd/Makefile

40 lines
1,019 B
Makefile
Raw Normal View History

# Created by: will
PORTNAME= bftpd
PORTVERSION= 6.0
CATEGORIES= ftp
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= jsmith@resonatingmedia.com
COMMENT= Very configurable FTP server that can do chroot easily
2011-05-20 20:35:18 +02:00
LICENSE= GPLv2
USES= autoreconf gmake
2017-12-24 18:21:51 +01:00
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-pam
2020-08-27 21:19:14 +02:00
# Fix build with clang 11
CFLAGS+= -fcommon
2019-09-09 14:29:20 +02:00
WRKSRC= ${WRKDIR}/${PORTNAME}
2014-03-06 19:36:11 +01:00
PLIST_FILES= sbin/${PORTNAME} etc/${PORTNAME}.conf.sample \
man/man8/bftpd.8.gz
2010-09-06 14:33:09 +02:00
PORTDOCS= en pl sk
OPTIONS_DEFINE= DOCS
post-patch:
2003-01-05 19:08:40 +01:00
@${REINPLACE_CMD} -e 's,/etc/bftpd.conf,${PREFIX}/etc/bftpd.conf,' \
${WRKSRC}/mypaths.h
2011-05-20 20:35:18 +02:00
@${REINPLACE_CMD} -e 's, -ldl,,g' ${WRKSRC}/configure.in
do-install:
2014-03-06 19:36:11 +01: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}
.include <bsd.port.mk>