aboutsummaryrefslogtreecommitdiff
path: root/ftp/ftpproxy
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-07-28 18:34:11 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-07-28 18:34:11 +0000
commit9b4a6dfbbd0ef91119a0f5e525a9d3a46f426d16 (patch)
treec558c465ac13dfc01732d5176786bcef509446cd /ftp/ftpproxy
parentfb5cca0b4424e2f950d2aa86d0e40e1d81085ae3 (diff)
downloadports-9b4a6dfbbd0ef91119a0f5e525a9d3a46f426d16.tar.gz
ports-9b4a6dfbbd0ef91119a0f5e525a9d3a46f426d16.zip
Notes
Diffstat (limited to 'ftp/ftpproxy')
-rw-r--r--ftp/ftpproxy/Makefile17
-rw-r--r--ftp/ftpproxy/distinfo4
-rw-r--r--ftp/ftpproxy/files/patch-Makefile25
3 files changed, 11 insertions, 35 deletions
diff --git a/ftp/ftpproxy/Makefile b/ftp/ftpproxy/Makefile
index a5339b2c4605..e50576357e94 100644
--- a/ftp/ftpproxy/Makefile
+++ b/ftp/ftpproxy/Makefile
@@ -6,27 +6,28 @@
#
PORTNAME= ftpproxy
-PORTVERSION= 1.1.5
+PORTVERSION= 1.2.3
CATEGORIES= ftp
-MASTER_SITES= http://www.ftpproxy.org/download/older_releases/
+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
-WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_REINPLACE= yes
+USE_GMAKE= yes
+CFLAGS +=-DVERSION=\\\"${PORTVERSION}\\\"
MAN1= ftp.proxy.1
MANCOMPRESSED= no
PLIST_FILES= sbin/ftp.proxy
-pre-patch:
- @${RM} -Rf ${WRKSRC}/*.o ${WRKSRC}/src/ftp.proxy
- @${REINPLACE_CMD} -e 's|SOL_TCP|SOL_SOCKET|' ${WRKSRC}/ftp.c
+pre-build:
+ @${REINPLACE_CMD} -e 's|^CFLAGS|#CFLAGS|' ${WRKSRC}/src/Makefile
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/ftp.proxy ${PREFIX}/sbin
- @${INSTALL_MAN} ${WRKSRC}/../doc/ftp.proxy.1 ${PREFIX}/man/man1
+ @${INSTALL_PROGRAM} ${WRKSRC}/src/ftp.proxy ${PREFIX}/sbin
+ @${INSTALL_MAN} ${WRKSRC}/doc/ftp.proxy.1 ${PREFIX}/man/man1
.include <bsd.port.mk>
diff --git a/ftp/ftpproxy/distinfo b/ftp/ftpproxy/distinfo
index 188ab3e7b0a0..48b14dc7197f 100644
--- a/ftp/ftpproxy/distinfo
+++ b/ftp/ftpproxy/distinfo
@@ -1,2 +1,2 @@
-MD5 (ftpproxy-1.1.5.tgz) = 4db5116f29e0477fa35f4c563e5aa2ad
-SIZE (ftpproxy-1.1.5.tgz) = 148035
+MD5 (ftpproxy-1.2.3.tgz) = c2068bc452e1d7554d3bda08030aa433
+SIZE (ftpproxy-1.2.3.tgz) = 81625
diff --git a/ftp/ftpproxy/files/patch-Makefile b/ftp/ftpproxy/files/patch-Makefile
deleted file mode 100644
index 8ef244d80a0e..000000000000
--- a/ftp/ftpproxy/files/patch-Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
---- Makefile.orig Wed Jan 23 23:42:24 2002
-+++ Makefile Wed Jan 23 23:49:22 2002
-@@ -1,20 +1,4 @@
--
--CC = gcc
--CFLAGS = -O2 -Wall -ggdb
--
- FTPPROXY = main.o ftp.o ip-lib.o lib.o
-
--TARGETS = ftp.proxy
--
--
--all: $(TARGETS)
-- -ctags *.[ch]
--
--
--ftp.proxy: $(FTPPROXY)
-- $(CC) -o $@ $(FTPPROXY)
--
--
--clean:
-- rm -f *.o cut out $(TARGETS) $(TAR).tar.gz
--
-+all: $(FTPPROXY)
-+ $(CC) $(CFLAGS) -o ftp.proxy $(FTPPROXY)