aboutsummaryrefslogtreecommitdiff
path: root/ftp/ftpproxy/Makefile
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-01-26 00:07:18 +0000
committerPatrick Li <pat@FreeBSD.org>2002-01-26 00:07:18 +0000
commitd5992e92c57098977d89344f2e6101b69a394842 (patch)
tree6c2ca4aca3870510b64d983d9fa684ffdf1f2fd8 /ftp/ftpproxy/Makefile
parentb9d623eba1913b92cf04f5aa8414d50674120a06 (diff)
downloadports-d5992e92c57098977d89344f2e6101b69a394842.tar.gz
ports-d5992e92c57098977d89344f2e6101b69a394842.zip
Notes
Diffstat (limited to 'ftp/ftpproxy/Makefile')
-rw-r--r--ftp/ftpproxy/Makefile22
1 files changed, 14 insertions, 8 deletions
diff --git a/ftp/ftpproxy/Makefile b/ftp/ftpproxy/Makefile
index e0e88e3cf8a3..0a552147148a 100644
--- a/ftp/ftpproxy/Makefile
+++ b/ftp/ftpproxy/Makefile
@@ -6,21 +6,27 @@
#
PORTNAME= ftpproxy
-PORTVERSION= 1.0.7
+PORTVERSION= 1.1.4
CATEGORIES= ftp
-MASTER_SITES= http://ftp.daemons.de/download/
-DISTNAME= ftpproxy-${PORTVERSION}
+MASTER_SITES= http://www.ftpproxy.org/download/ \
+ ftp://ftp.daemons.de/ \
+ http://www.ftpproxy.org/download/older_releases/ \
+ ftp://ftp.daemons.de/older_releases/
+EXTRACT_SUFX= .tgz
MAINTAINER= philippe@le-berre.com
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
+
MAN1= ftp.proxy.1
MANCOMPRESSED= no
-pre-build:
- ${PERL} -pi -e "s@gcc@${CC}@g; s@-O2 -Wall -ggdb@-Wall ${CFLAGS}@g; \
- s@/usr/local@${PREFIX}@g" ${WRKSRC}/Makefile
+pre-patch:
+ @${RM} -Rf ${WRKSRC}/*.o ${WRKSRC}/src/ftp.proxy
+ @${PERL} -pi.orig -e 's|SOL_TCP|SOL_SOCKET|' ${WRKSRC}/ftp.c
-post-patch:
- ${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/ftp.proxy ${PREFIX}/sbin
+ @${INSTALL_MAN} ${WRKSRC}/../doc/ftp.proxy.1 ${PREFIX}/man/man1
.include <bsd.port.mk>