summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorSylvio Cesar Teixeira <sylvio@FreeBSD.org>2012-06-25 00:05:19 +0000
committerSylvio Cesar Teixeira <sylvio@FreeBSD.org>2012-06-25 00:05:19 +0000
commit6770f080aa53bdc9d6dee86073ce27f76d9285dc (patch)
treee861e15a4821ee046ec0e5ccf20ced57a00a7598 /ftp
parent- Update to 2.4 (diff)
- Update to 1.2.0
PR: ports/169058 Submitted by: Norihiko Murase <mur1080224@inter7.jp>
Notes
Notes: svn path=/head/; revision=299914
Diffstat (limited to 'ftp')
-rw-r--r--ftp/yafc/Makefile21
-rw-r--r--ftp/yafc/distinfo4
2 files changed, 13 insertions, 12 deletions
diff --git a/ftp/yafc/Makefile b/ftp/yafc/Makefile
index eff52e92ea4a..009b33050406 100644
--- a/ftp/yafc/Makefile
+++ b/ftp/yafc/Makefile
@@ -6,17 +6,17 @@
#
PORTNAME= yafc
-PORTVERSION= 1.1.3
+PORTVERSION= 1.2.0
CATEGORIES= ftp
MASTER_SITES= https://github.com/downloads/sebastinas/yafc/
MAINTAINER= ports@FreeBSD.org
COMMENT= Yet another ftp client. Similar to ftp(1)
-USE_BZIP2= yes
+USE_XZ= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-socks4=no --with-socks5=no --with-krb4=no \
- --with-krb5=no --with-gssapi=no
+CONFIGURE_ARGS= --with-socks=no --with-socks5=no --with-krb4=no \
+ --with-krb5=no --disable-nls
FETCH_ARGS= -Fpr
@@ -26,18 +26,19 @@ PLIST_FILES= bin/yafc \
etc/bash_completion.d/yafc
PLIST_DIRSTRY= etc/bash_completion.d
+.include <bsd.port.pre.mk>
+
.if exists(${LOCALBASE}/lib/libreadline.so.6)
LIB_DEPENDS+= readline.6:${PORTSDIR}/devel/readline
.endif
post-install:
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/*.sample ${EXAMPLESDIR}
-
-PLIST_FILES+= %%EXAMPLESDIR%%/inputrc.sample \
- %%EXAMPLESDIR%%/yafcrc.sample
+ ${INSTALL_DATA} ${WRKSRC}/samples/* ${EXAMPLESDIR}
+PLIST_FILES+= %%EXAMPLESDIR%%/inputrc \
+ %%EXAMPLESDIR%%/yafcrc
PLIST_DIRS+= %%EXAMPLESDIR%%
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/ftp/yafc/distinfo b/ftp/yafc/distinfo
index bfc35199244a..091cb53b0877 100644
--- a/ftp/yafc/distinfo
+++ b/ftp/yafc/distinfo
@@ -1,2 +1,2 @@
-SHA256 (yafc-1.1.3.tar.bz2) = bcd9027081798b1e76fa2af6f900c333c7ab0e9fcd804b1f36f54879b3d377a7
-SIZE (yafc-1.1.3.tar.bz2) = 542126
+SHA256 (yafc-1.2.0.tar.xz) = a8ac89f6a7139158012b08fa97c7b39e465091bdf8ed8fb1fbfbc5e9f65eac40
+SIZE (yafc-1.2.0.tar.xz) = 486416