summaryrefslogtreecommitdiff
path: root/ftp/yafc/Makefile
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2012-11-09 16:08:33 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2012-11-09 16:08:33 +0000
commitb02d2e6baeaa53609532faabbad51b334b26daa4 (patch)
tree5a81c23a75a80500df8cde8c18bd72d334c496cb /ftp/yafc/Makefile
parentPreserve attribution removed by mistake in previous commit. (diff)
- Update to 1.2.2
- Trim header PR: ports/172001 Submitted by: KATO Tsuguru <tkato432@yahoo.com> Feature safe: yes
Notes
Notes: svn path=/head/; revision=307236
Diffstat (limited to 'ftp/yafc/Makefile')
-rw-r--r--ftp/yafc/Makefile30
1 files changed, 12 insertions, 18 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>