1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

ftp/yafc: Optionize INFO

- Update WWW
- Refactor pkg-descr
This commit is contained in:
Muhammad Moinur Rahman 2023-10-21 11:50:55 +02:00
parent eb64f8ad82
commit 33e1ace9db
2 changed files with 12 additions and 8 deletions

View File

@ -5,14 +5,14 @@ CATEGORIES= ftp
MAINTAINER= bofh@FreeBSD.org
COMMENT= Yet another FTP client, similar to ftp(1)
WWW= https://web.archive.org/web/20180422134425/http://www.yafc-ftp.com/
WWW= https://github.com/sebastinas/yafc
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= glib>0:devel/glib20
USES= autoreconf gmake localbase makeinfo pkgconfig ssl tar:xz
USES= autoreconf gmake localbase pkgconfig ssl tar:xz
USE_GITHUB= yes
GH_ACCOUNT= sebastinas
@ -23,18 +23,18 @@ CONFIGURE_ARGS= --with-krb5=no \
--with-socks=no
CONFIGURE_ENV= ac_cv_ipv6=yes
INFO= yafc
PLIST_FILES= bin/yafc \
man/man1/yafc.1.gz
PORTEXAMPLES= inputrc yafcrc
OPTIONS_DEFINE= BASH EXAMPLES NLS READLINE SSH
OPTIONS_DEFAULT= BASH SSH
OPTIONS_DEFINE= BASH EXAMPLES INFO NLS READLINE SSH
OPTIONS_DEFAULT= BASH INFO SSH
BASH_CONFIGURE_OFF= --with-bash-completion=no
BASH_CONFIGURE_ON= --with-bash-completion=yes
BASH_PLIST_FILES= etc/bash_completion.d/yafc
INFO_USES= makeinfo
INFO_INFO= yafc
NLS_USES= gettext gnome
NLS_USE= GNOME=intltool
NLS_CONFIGURE_WITH= gettext=${LOCALBASE}
@ -50,6 +50,12 @@ SSH_CONFIGURE_OFF= --without-ssh
pre-configure:
@(cd ${WRKSRC} && ${LOCALBASE}/bin/glib-gettextize -f -c)
post-patch-INFO-off:
@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||g' ${WRKSRC}/Makefile.am
post-install-INFO-off:
${INSTALL_MAN} ${WRKSRC}/doc/yafc.1 ${STAGEDIR}${PREFIX}/man/man1/
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/samples/* ${STAGEDIR}${EXAMPLESDIR}

View File

@ -1,5 +1,3 @@
Yafc is yet another ftp client, similar to ftp(1). Features include
Directory cache, remote filename completion, aliases, colored ls,
recursive get/put/ls/rm, nohup mode transfers, and more!
See also: https://github.com/sebastinas/yafc