summaryrefslogtreecommitdiff
path: root/ftp/yafc/Makefile
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2012-05-07 19:32:45 +0000
committerPawel Pekala <pawel@FreeBSD.org>2012-05-07 19:32:45 +0000
commitd2d23ef5fe4ca2d92bd9c2849fb23f431c5071b1 (patch)
tree5c8e99dcb21e7139b831fb3b137bb165451d169a /ftp/yafc/Makefile
parent- Update to 2.5 (diff)
- Update to version 1.1.3 [1]
- Project homepage has changed [1] - Respect NOPORTEXAMPLES - Include bsd.port.mk instead of not needed pre and post PR: ports/167547 [1] Submitted by: Norihiko Murase <mur1080224@inter7.jp> [1]
Notes
Notes: svn path=/head/; revision=296172
Diffstat (limited to 'ftp/yafc/Makefile')
-rw-r--r--ftp/yafc/Makefile22
1 files changed, 13 insertions, 9 deletions
diff --git a/ftp/yafc/Makefile b/ftp/yafc/Makefile
index 902e81133793..eff52e92ea4a 100644
--- a/ftp/yafc/Makefile
+++ b/ftp/yafc/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= yafc
-PORTVERSION= 1.1.1
-PORTREVISION= 1
+PORTVERSION= 1.1.3
CATEGORIES= ftp
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
+MASTER_SITES= https://github.com/downloads/sebastinas/yafc/
MAINTAINER= ports@FreeBSD.org
COMMENT= Yet another ftp client. Similar to ftp(1)
@@ -19,21 +18,26 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-socks4=no --with-socks5=no --with-krb4=no \
--with-krb5=no --with-gssapi=no
+FETCH_ARGS= -Fpr
+
MAN1= yafc.1
INFO= yafc
PLIST_FILES= bin/yafc \
- %%EXAMPLESDIR%%/inputrc.sample \
- %%EXAMPLESDIR%%/yafcrc.sample
-PLIST_DIRS= %%EXAMPLESDIR%%
-
-.include <bsd.port.pre.mk>
+ etc/bash_completion.d/yafc
+PLIST_DIRSTRY= etc/bash_completion.d
.if exists(${LOCALBASE}/lib/libreadline.so.6)
LIB_DEPENDS+= readline.6:${PORTSDIR}/devel/readline
.endif
post-install:
+.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/*.sample ${EXAMPLESDIR}
-.include <bsd.port.post.mk>
+PLIST_FILES+= %%EXAMPLESDIR%%/inputrc.sample \
+ %%EXAMPLESDIR%%/yafcrc.sample
+PLIST_DIRS+= %%EXAMPLESDIR%%
+.endif
+
+.include <bsd.port.mk>