1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/ftp/ftpproxy/Makefile
Adam Weinberger a84c115a09 Convert a bunch of EXTRACT_SUFX=... into USES=tar:...
Approved by:	portmgr (not really, but touches unstaged ports)
2014-07-29 19:11:51 +00:00

30 lines
724 B
Makefile

# Created by: Philippe Le Berre <philippe@le-berre.com>
# $FreeBSD$
PORTNAME= ftpproxy
PORTVERSION= 1.2.3
PORTREVISION= 1
CATEGORIES= ftp
MASTER_SITES= http://www.ftpproxy.org/download/ \
http://www.ftpproxy.org/download/older_releases/
MAINTAINER= philippe@le-berre.com
COMMENT= ftp proxy
USES= gmake tar:tgz
MAKE_JOBS_UNSAFE= yes
MAKE_ARGS= CC="${CC}"
PLIST_FILES= sbin/ftp.proxy \
man/man1/ftp.proxy.1.gz
pre-build:
@${REINPLACE_CMD} -e 's|^CFLAGS.*|CFLAGS=${CFLAGS} \
-DVERSION=\\"${PORTVERSION}\\"|' ${WRKSRC}/src/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/ftp.proxy ${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/doc/ftp.proxy.1 ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>