aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/pftpd/Makefile
blob: b9e0c1729a96d084bce4d8b7a8d08623c68ae577 (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
# Created by: Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
# $FreeBSD$

PORTNAME=   pftpd
PORTVERSION=    1.0.3
CATEGORIES= ftp
MASTER_SITES=   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-patch:
    @${FIND} ${WRKSRC} -name "configure" | ${XARGS} ${REINPLACE_CMD} -e \
        's|-lpthread|${PTHREAD_LIBS}|g'

do-install:
    (cd ${WRKSRC}/src && ${INSTALL_PROGRAM} pftpd ${PREFIX}/sbin)
    (cd ${WRKSRC}/doc && ${INSTALL_MAN} *.1 ${MANPREFIX}/man/man1)
    @${CAT} ${WRKSRC}/ISSUES

.include <bsd.port.mk>