aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/yafc
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2012-11-10 00:08:33 +0800
committerbdrewery <bdrewery@FreeBSD.org>2012-11-10 00:08:33 +0800
commitf4eb361fc5d4eccf7796657dffdd756b1112c839 (patch)
tree5a81c23a75a80500df8cde8c18bd72d334c496cb /ftp/yafc
parent9907db4e89ce3589eec070bea0f96c5b8b05a031 (diff)
downloadfreebsd-ports-gnome-f4eb361fc5d4eccf7796657dffdd756b1112c839.tar.gz
freebsd-ports-gnome-f4eb361fc5d4eccf7796657dffdd756b1112c839.tar.zst
freebsd-ports-gnome-f4eb361fc5d4eccf7796657dffdd756b1112c839.zip
- Update to 1.2.2
- Trim header PR: ports/172001 Submitted by: KATO Tsuguru <tkato432@yahoo.com> Feature safe: yes
Diffstat (limited to 'ftp/yafc')
-rw-r--r--ftp/yafc/Makefile30
-rw-r--r--ftp/yafc/distinfo4
-rw-r--r--ftp/yafc/files/patch-src__Makefile.in14
3 files changed, 14 insertions, 34 deletions
diff --git a/ftp/yafc/Makefile b/ftp/yafc/Makefile
index 56ee90e2743c..40ecd8ede998 100644
--- a/ftp/yafc/Makefile
+++ b/ftp/yafc/Makefile
@@ -1,15 +1,10 @@
-# New ports collection makefile for: yafc
-# Date created: 10 June 1999
-# Whom: Chris Piazza <cpiazza@FreeBSD.org>
-#
+# Created by: Chris Piazza <cpiazza@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= yafc
-PORTVERSION= 1.2.0
-PORTREVISION= 1
+PORTVERSION= 1.2.2
CATEGORIES= ftp ipv6
-MASTER_SITES= https://github.com/downloads/sebastinas/yafc/
+MASTER_SITES= http://cloud.github.com/downloads/sebastinas/yafc/
MAINTAINER= ports@FreeBSD.org
COMMENT= Yet another ftp client. Similar to ftp(1)
@@ -31,8 +26,6 @@ MAKE_JOBS_SAFE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-FETCH_ARGS= -Fpr
-
MAN1= yafc.1
INFO= yafc
PORTEXAMPLES= inputrc yafcrc
@@ -46,27 +39,28 @@ PLIST_DIRSTRY= etc/bash_completion.d
USE_GNOME+= intltool
USE_GETTEXT= yes
LDFLAGS+= -lintl
-PLIST_FILES+= share/locale/sv/LC_MESSAGES/yafc.mo
+PLIST_FILES+= share/locale/de/LC_MESSAGES/yafc.mo \
+ share/locale/sv/LC_MESSAGES/yafc.mo
.else
CONFIGURE_ARGS+= --disable-nls
.endif
+.if ${PORT_OPTIONS:MREADLINE}
+USE_READLINE= yes
+.else
+CONFIGURE_ARGS+= --without-readline
+.endif
+
.if ${PORT_OPTIONS:MSSH}
LIB_DEPENDS+= ssh:${PORTSDIR}/security/libssh
.else
CONFIGURE_ARGS+= --without-ssh
.endif
-.include <bsd.port.pre.mk>
-
-.if exists(${LOCALBASE}/lib/libreadline.so)
-LIB_DEPENDS+= readline:${PORTSDIR}/devel/readline
-.endif
-
post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/samples/* ${EXAMPLESDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/ftp/yafc/distinfo b/ftp/yafc/distinfo
index 091cb53b0877..b513583be545 100644
--- a/ftp/yafc/distinfo
+++ b/ftp/yafc/distinfo
@@ -1,2 +1,2 @@
-SHA256 (yafc-1.2.0.tar.xz) = a8ac89f6a7139158012b08fa97c7b39e465091bdf8ed8fb1fbfbc5e9f65eac40
-SIZE (yafc-1.2.0.tar.xz) = 486416
+SHA256 (yafc-1.2.2.tar.xz) = 8a131a7e3e3e8d16640db7323552108fa5d5a34e46425f1b51cf6c8b8e33f7fe
+SIZE (yafc-1.2.2.tar.xz) = 415692
diff --git a/ftp/yafc/files/patch-src__Makefile.in b/ftp/yafc/files/patch-src__Makefile.in
deleted file mode 100644
index e1ce02ebc17f..000000000000
--- a/ftp/yafc/files/patch-src__Makefile.in
+++ /dev/null
@@ -1,14 +0,0 @@
---- src/Makefile.in.orig 2012-06-05 23:37:06.000000000 +0900
-+++ src/Makefile.in 2012-06-25 16:34:16.000000000 +0900
-@@ -308,7 +308,10 @@
- libmhe/libmhe.a \
- ../lib/libfoo.a $(SSH_LIBS)
-
--yafc_DEPENDENCIES = $(yafc_LDADD) yafcrc.h
-+yafc_DEPENDENCIES = ftp/libftp.a \
-+ libmhe/libmhe.a \
-+ ../lib/libfoo.a yafcrc.h
-+
- AM_CPPFLAGS = -I$(srcdir) \
- -I$(top_srcdir)/lib \
- -I$(top_srcdir)/src/ftp \