1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/ftp/bftpd/Makefile
Sylvio Cesar Teixeira ba072d1713 - Update my mail address to FreeBSD
Approved by:	miwi (mentor)
2009-11-27 22:52:30 +00:00

39 lines
1015 B
Makefile

# New ports collection makefile for: bftpd
# Date created: 7 April 2001
# Whom: will
#
# $FreeBSD$
#
PORTNAME= bftpd
PORTVERSION= 2.6
CATEGORIES= ftp
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= sylvio@FreeBSD.org
COMMENT= Very configurable FTP server that can do chroot easily
WRKSRC= ${WRKDIR}/${PORTNAME}
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-pam
PLIST_FILES= sbin/${PORTNAME} etc/${PORTNAME}.conf.sample
MAN8= bftpd.8
PORTDOCS= en pl
post-patch:
@${REINPLACE_CMD} -e 's,/etc/bftpd.conf,${PREFIX}/etc/bftpd.conf,' \
${WRKSRC}/mypaths.h
@${REINPLACE_CMD} -e "s@-ldl@@" ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -rf
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin/
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MAN8PREFIX}/man/man8/
${INSTALL_DATA} ${WRKSRC}/bftpd.conf ${PREFIX}/etc/bftpd.conf.sample
.if !defined(NOPORTDOCS)
@cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif
.include <bsd.port.mk>