52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
# Created by: Chris Piazza <cpiazza@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= yafc
|
|
PORTVERSION= 1.2.5
|
|
CATEGORIES= ftp ipv6
|
|
MASTER_SITES= http://www.yafc-ftp.com/upload/
|
|
|
|
MAINTAINER= wg@FreeBSD.org
|
|
COMMENT= Yet another ftp client. Similar to ftp(1)
|
|
|
|
LICENSE= GPLv2 # (or later)
|
|
|
|
OPTIONS_DEFINE= BASH EXAMPLES NLS SSH READLINE
|
|
OPTIONS_DEFAULT=BASH NLS SSH
|
|
|
|
USES= gmake tar:xz
|
|
USE_OPENSSL= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= ac_cv_ipv6=yes
|
|
CONFIGURE_ARGS= --with-socks=no --with-socks5=no --with-krb4=no \
|
|
--with-krb5=no --with-openssl=${OPENSSLBASE}
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
PORTEXAMPLES= inputrc yafcrc
|
|
PLIST_FILES= bin/yafc \
|
|
info/yafc.info \
|
|
man/man1/yafc.1.gz
|
|
|
|
NLS_USES= gettext
|
|
NLS_USE= GNOME=intltool
|
|
NLS_CONFIGURE_WITH= gettext=${LOCALBASE}
|
|
NLS_PLIST_FILES= share/locale/de/LC_MESSAGES/yafc.mo \
|
|
share/locale/sv/LC_MESSAGES/yafc.mo
|
|
|
|
READLINE_USES= readline
|
|
READLINE_CONFIGURE_WITH=readline
|
|
|
|
SSH_LIB_DEPENDS= libssh.so:${PORTSDIR}/security/libssh
|
|
SSH_CONFIGURE_OFF= --without-ssh
|
|
|
|
BASH_CONFIGURE_ON= --with-bash-completion=yes
|
|
BASH_PLIST_FILES= etc/bash_completion.d/yafc
|
|
BASH_CONFIGURE_OFF= --with-bash-completion=no
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/samples/* ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|