mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
a84c115a09
Approved by: portmgr (not really, but touches unstaged ports)
30 lines
724 B
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>
|