freebsd-ports/ftp/yafc/Makefile
Sylvio Cesar Teixeira 6770f080aa - Update to 1.2.0
PR:		ports/169058
Submitted by:	Norihiko Murase <mur1080224@inter7.jp>
2012-06-25 00:05:19 +00:00

44 lines
978 B
Makefile

# New ports collection makefile for: yafc
# Date created: 10 June 1999
# Whom: Chris Piazza <cpiazza@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= yafc
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_XZ= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-socks=no --with-socks5=no --with-krb4=no \
--with-krb5=no --disable-nls
FETCH_ARGS= -Fpr
MAN1= yafc.1
INFO= yafc
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 ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/samples/* ${EXAMPLESDIR}
PLIST_FILES+= %%EXAMPLESDIR%%/inputrc \
%%EXAMPLESDIR%%/yafcrc
PLIST_DIRS+= %%EXAMPLESDIR%%
.endif
.include <bsd.port.post.mk>