2012-11-09 17:08:33 +01:00
|
|
|
# Created by: Chris Piazza <cpiazza@FreeBSD.org>
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1999-06-11 11:09:09 +02:00
|
|
|
|
2000-04-12 07:31:29 +02:00
|
|
|
PORTNAME= yafc
|
2013-06-17 14:52:05 +02:00
|
|
|
PORTVERSION= 1.2.5
|
2012-07-19 19:28:40 +02:00
|
|
|
CATEGORIES= ftp ipv6
|
2013-01-16 23:21:44 +01:00
|
|
|
MASTER_SITES= http://www.yafc-ftp.com/upload/
|
1999-06-11 11:09:09 +02:00
|
|
|
|
2013-06-17 14:52:05 +02:00
|
|
|
MAINTAINER= wg@FreeBSD.org
|
2003-02-20 18:24:13 +01:00
|
|
|
COMMENT= Yet another ftp client. Similar to ftp(1)
|
1999-06-11 11:09:09 +02:00
|
|
|
|
2012-07-19 19:28:40 +02:00
|
|
|
LICENSE= GPLv2 # (or later)
|
|
|
|
|
2013-06-17 14:52:05 +02:00
|
|
|
OPTIONS_DEFINE= BASH EXAMPLES NLS SSH READLINE
|
2013-01-19 23:23:06 +01:00
|
|
|
OPTIONS_DEFAULT=BASH NLS SSH
|
2012-07-19 19:28:40 +02:00
|
|
|
|
2013-07-05 16:41:15 +02:00
|
|
|
USES= gmake
|
2012-06-25 02:05:19 +02:00
|
|
|
USE_XZ= yes
|
2012-07-19 19:28:40 +02:00
|
|
|
USE_OPENSSL= yes
|
2000-07-11 09:37:35 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2012-07-19 19:28:40 +02:00
|
|
|
CONFIGURE_ENV= ac_cv_ipv6=yes
|
2012-06-25 02:05:19 +02:00
|
|
|
CONFIGURE_ARGS= --with-socks=no --with-socks5=no --with-krb4=no \
|
2012-07-19 19:28:40 +02:00
|
|
|
--with-krb5=no --with-openssl=${OPENSSLBASE}
|
|
|
|
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
1999-06-11 11:09:09 +02:00
|
|
|
|
2000-10-17 22:10:04 +02:00
|
|
|
MAN1= yafc.1
|
2004-05-11 00:45:50 +02:00
|
|
|
INFO= yafc
|
2012-07-19 19:28:40 +02:00
|
|
|
PORTEXAMPLES= inputrc yafcrc
|
2013-01-19 23:23:06 +01:00
|
|
|
PLIST_FILES= bin/yafc
|
2006-07-11 00:14:37 +02:00
|
|
|
|
2012-07-19 19:28:40 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
|
|
USE_GNOME+= intltool
|
2013-04-24 20:10:30 +02:00
|
|
|
USES+= gettext
|
2013-06-17 14:52:05 +02:00
|
|
|
CONFIGURE_ARGS+= --with-gettext=${LOCALBASE}
|
2012-11-09 17:08:33 +01:00
|
|
|
PLIST_FILES+= share/locale/de/LC_MESSAGES/yafc.mo \
|
|
|
|
share/locale/sv/LC_MESSAGES/yafc.mo
|
2012-07-19 19:28:40 +02:00
|
|
|
.else
|
2013-04-20 13:20:25 +02:00
|
|
|
CONFIGURE_ARGS+= --without-gettext
|
2012-07-19 19:28:40 +02:00
|
|
|
.endif
|
|
|
|
|
2012-11-09 17:08:33 +01:00
|
|
|
.if ${PORT_OPTIONS:MREADLINE}
|
2013-05-06 17:34:17 +02:00
|
|
|
USES+= readline
|
2012-11-09 17:08:33 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-readline
|
|
|
|
.endif
|
|
|
|
|
2012-07-19 19:28:40 +02:00
|
|
|
.if ${PORT_OPTIONS:MSSH}
|
|
|
|
LIB_DEPENDS+= ssh:${PORTSDIR}/security/libssh
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-ssh
|
|
|
|
.endif
|
|
|
|
|
2013-01-19 23:23:06 +01:00
|
|
|
.if ${PORT_OPTIONS:MBASH}
|
|
|
|
CONFIGURE_ARGS+= --with-bash-completion=yes
|
|
|
|
PLIST_FILES+= etc/bash_completion.d/yafc
|
|
|
|
PLIST_DIRSTRY= etc/bash_completion.d
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-bash-completion=no
|
|
|
|
.endif
|
|
|
|
|
2004-05-28 20:34:03 +02:00
|
|
|
post-install:
|
2012-06-25 02:05:19 +02:00
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
2004-05-28 20:34:03 +02:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2012-06-25 02:05:19 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/samples/* ${EXAMPLESDIR}
|
2012-05-07 21:32:45 +02:00
|
|
|
.endif
|
|
|
|
|
2012-11-09 17:08:33 +01:00
|
|
|
.include <bsd.port.mk>
|