freebsd-ports/ftp/bftpd/Makefile
Pete Fritchman 71b5424dfe - update to 1.0.22
- chase new MASTER_SITES
- use DOCSDIR
- install html documentation

PR:		30994
Submitted by:	Gea-Suan Lin <gslin@infomath.math.nctu.edu.tw>
2001-10-03 01:50:52 +00:00

37 lines
842 B
Makefile

# New ports collection makefile for: bftpd
# Date created: 7 April 2001
# Whom: will
#
# $FreeBSD$
#
PORTNAME= bftpd
PORTVERSION= 1.0.22
CATEGORIES= ftp
MASTER_SITES= http://bftpd.sourceforge.net/downloads/src/
MAINTAINER= petef@FreeBSD.org
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-pam
USE_GMAKE= yes
MAN8= bftpd.8
post-patch:
@${PERL} -pi -e "s@chmod 644 /var@#chmod 644 /var@g; \
s@touch /var@#touch /var@g; \
s@DESTDIR\)/etc@prefix\)/etc@g; \
s@bftpd.conf @bftpd.conf.sample @g" ${WRKSRC}/Makefile.in
@${PERL} -pi -e "s@-ldl@@" ${WRKSRC}/configure
@${CP} ${WRKSRC}/bftpd.conf ${WRKSRC}/bftpd.conf.sample
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/en/bftpddoc-en.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/en/*.html ${DOCSDIR}
.endif
.include <bsd.port.mk>