2001-04-08 01:24:24 +02:00
|
|
|
# New ports collection makefile for: bftpd
|
|
|
|
# Date created: 7 April 2001
|
|
|
|
# Whom: will
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= bftpd
|
2008-10-18 02:25:58 +02:00
|
|
|
PORTVERSION= 2.3
|
2001-04-08 01:24:24 +02:00
|
|
|
CATEGORIES= ftp
|
2007-06-10 07:56:37 +02:00
|
|
|
MASTER_SITES= SF
|
2001-04-08 01:24:24 +02:00
|
|
|
|
2007-06-10 07:56:37 +02:00
|
|
|
MAINTAINER= beech@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Very configurable FTP server that can do chroot easily
|
2001-04-08 01:24:24 +02:00
|
|
|
|
2007-08-15 01:44:25 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2001-04-08 01:24:24 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2002-03-29 08:29:30 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-pam
|
2001-07-07 07:32:43 +02:00
|
|
|
|
2007-03-25 12:45:35 +02:00
|
|
|
PLIST_FILES= sbin/${PORTNAME} etc/${PORTNAME}.conf.sample
|
2001-04-15 04:06:52 +02:00
|
|
|
MAN8= bftpd.8
|
2007-03-25 12:45:35 +02:00
|
|
|
PORTDOCS= en pl
|
2001-04-08 01:24:24 +02:00
|
|
|
|
2001-07-07 07:32:43 +02:00
|
|
|
post-patch:
|
2003-01-05 19:08:40 +01:00
|
|
|
@${REINPLACE_CMD} -e 's,/etc/bftpd.conf,${PREFIX}/etc/bftpd.conf,' \
|
|
|
|
${WRKSRC}/mypaths.h
|
2002-11-04 06:46:38 +01:00
|
|
|
@${REINPLACE_CMD} -e "s@-ldl@@" ${WRKSRC}/configure
|
2007-03-25 12:45:35 +02:00
|
|
|
@${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -rf
|
2001-07-07 07:32:43 +02:00
|
|
|
|
2007-03-25 12:45:35 +02:00
|
|
|
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
|
2001-07-07 07:32:43 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2008-01-10 01:13:03 +01:00
|
|
|
@cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}
|
2001-07-07 07:32:43 +02:00
|
|
|
.endif
|
2001-04-08 01:24:24 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|