blob: a0eea81f42b388cd828a53112d1f534c6eab9253 (
plain) (
blame)
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
37
38
|
# New ports collection makefile for: bftpd
# Date created: 7 April 2001
# Whom: will
#
# $FreeBSD$
#
PORTNAME= bftpd
PORTVERSION= 1.9
CATEGORIES= ftp
MASTER_SITES= SF
MAINTAINER= beech@FreeBSD.org
COMMENT= Very configurable FTP server that can do chroot easily
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)
${INSTALL} -d ${DOCSDIR}/
${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}/
.endif
.include <bsd.port.mk>
|