aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/pftpd/Makefile
blob: 954388fb802b4c41ecb7ced632c97ed456ec7be4 (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:    vsftpd
# Date created:             17 Mar 2002
# Whom:                 Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=   pftpd
PORTVERSION=    1.0.2
CATEGORIES= ftp
MASTER_SITES=   ftp://ftp.lysator.liu.se/pub/unix/pftpd/ \
        ftp://ftp.ifm.liu.se/pub/unix/pftpd/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Multithreaded anonymous FTP daemon

GNU_CONFIGURE=  yes
MAKE_JOBS_UNSAFE=   yes

MAN1=       pftpd.1 rpad.1
PLIST_FILES=    sbin/pftpd

post-extract:
.for f in ${MAN1}
    @${TOUCH} ${TOUCH_FLAGS} ${WRKSRC}/doc/${f}
.endfor

post-patch:
    @${REINPLACE_CMD} -e 's|mktemp|mkstemp|g' \
        ${WRKSRC}/src/rpa.c
    @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
        ${WRKSRC}/configure \
        ${WRKSRC}/plib/configure

post-install:
    @${CAT} ${WRKSRC}/ISSUES

.include <bsd.port.mk>