1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/ftp/ftpproxy/Makefile
Sergey Matveychuk b76a034ead - Fix a wrong usage of CFLAGS in last update
(the port does not build if CFLAGS defined in /etc/make.conf)

PR:		ports/86616
Reported by:	TANABE Hiroyasu <h@cosat.com>
Submitted by:	Andrej Zverev <az@inec.ru>
Approved by:	broken build
2005-09-27 07:55:17 +00:00

35 lines
782 B
Makefile

# New ports collection makefile for: ftpproxy
# Date created: 15 May 2001
# Whom: 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/
EXTRACT_SUFX= .tgz
MAINTAINER= philippe@le-berre.com
COMMENT= A ftp proxy
USE_REINPLACE= yes
USE_GMAKE= yes
MAN1= ftp.proxy.1
MANCOMPRESSED= no
PLIST_FILES= sbin/ftp.proxy
pre-build:
@${REINPLACE_CMD} -e 's|^CFLAGS.*|CFLAGS=${CFLAGS} \
-DVERSION=\\"${PORTVERSION}\\"|' ${WRKSRC}/src/Makefile
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/src/ftp.proxy ${PREFIX}/sbin
@${INSTALL_MAN} ${WRKSRC}/doc/ftp.proxy.1 ${PREFIX}/man/man1
.include <bsd.port.mk>