blob: 5346fde047c181b69ff02d2a8cf8112f1f7bb0da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# 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>
|