1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/ftp/pftpd/Makefile
Marcus Alves Grando 3c5212cd0e Use mkstemp() instead of mktemp()
Bump PORTREVISION

PR:		88633
Submitted by:	chinsan <chinsan.tw@gmail.com>
2005-11-08 02:48:07 +00:00

41 lines
862 B
Makefile

# 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>