summaryrefslogtreecommitdiff
path: root/ftp/ftpproxy/Makefile
diff options
context:
space:
mode:
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>