Permalink
Browse files

- Update to 1.2.2

- Trim header

PR:		ports/172001
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
Feature safe:	yes
  • Loading branch information...
1 parent 9907db4 commit f4eb361fc5d4eccf7796657dffdd756b1112c839 @bdrewery bdrewery committed Nov 9, 2012
Showing with 14 additions and 34 deletions.
  1. +12 −18 ftp/yafc/Makefile
  2. +2 −2 ftp/yafc/distinfo
  3. +0 −14 ftp/yafc/files/patch-src__Makefile.in
View
@@ -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>
View
@@ -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
@@ -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 \

0 comments on commit f4eb361

Please sign in to comment.