aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/pftpd/Makefile
blob: 31f069b2475d170296cf2473d37ea84b216332be (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
39
40
# 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.1
PORTREVISION=   1
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
USE_REINPLACE=  yes
CONFIGURE_TARGET=   --build=${ARCH}-portbld-freebsd${OSREL}

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>