summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ftp/cftp/Makefile7
-rw-r--r--ftp/cftp/distinfo2
-rw-r--r--ftp/cftp/files/patch-aa10
3 files changed, 7 insertions, 12 deletions
diff --git a/ftp/cftp/Makefile b/ftp/cftp/Makefile
index 147bdb42ce3b..910602d2f934 100644
--- a/ftp/cftp/Makefile
+++ b/ftp/cftp/Makefile
@@ -6,14 +6,19 @@
#
PORTNAME= cftp
-PORTVERSION= 0.11.2
+PORTVERSION= 0.12
CATEGORIES= ftp ipv6
MASTER_SITES= ftp://ftp.giga.or.at/pub/nih/cftp/ \
ftp://sunsite.univie.ac.at/pub/nih/cftp/
MAINTAINER= ports@FreeBSD.org
+LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-sftp
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
post-install:
.if !defined(NOPORTDOCS)
diff --git a/ftp/cftp/distinfo b/ftp/cftp/distinfo
index 8fd6725544d9..8fd8e0463b2e 100644
--- a/ftp/cftp/distinfo
+++ b/ftp/cftp/distinfo
@@ -1 +1 @@
-MD5 (cftp-0.11.2.tar.gz) = 373efae7afa5a0067fb2f616ab3692a3
+MD5 (cftp-0.12.tar.gz) = e497c2cf060a6906f48ac99f55bedc8a
diff --git a/ftp/cftp/files/patch-aa b/ftp/cftp/files/patch-aa
deleted file mode 100644
index d22cb995c6e1..000000000000
--- a/ftp/cftp/files/patch-aa
+++ /dev/null
@@ -1,10 +0,0 @@
---- util.h.orig Wed Sep 12 11:00:36 2001
-+++ util.h Wed Sep 12 11:00:41 2001
-@@ -26,7 +26,6 @@
-
-
- char *canonical(char *path, char *current);
--char *dirname(char *name);
- char *local_exp(char *path);
- char *args_to_string(char **args);
- char *get_anon_passwd(void);