freebsd-ports/ftp/ftpproxy/Makefile

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>