- Add LICENSE_FILE

- Switch to USES=localbase
- Use OPTIONS helpers
- Call glib-gettextize unconditionally to fix configure with disabled NLS
- Update WWW

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2020-12-07 09:37:38 +00:00
parent ba2da2aa94
commit 55f5080d93
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=557222
2 changed files with 6 additions and 7 deletions

View File

@ -10,10 +10,11 @@ MAINTAINER= wg@FreeBSD.org
COMMENT= Yet another FTP client, similar to ftp(1)
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= glib>0:devel/glib20
USES= autoreconf gmake makeinfo pkgconfig ssl tar:xz
USES= autoreconf gmake localbase makeinfo pkgconfig ssl tar:xz
USE_GITHUB= yes
GH_ACCOUNT= sebastinas
@ -24,9 +25,6 @@ CONFIGURE_ARGS= --with-krb5=no \
--with-socks=no
CONFIGURE_ENV= ac_cv_ipv6=yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INFO= yafc
PLIST_FILES= bin/yafc \
man/man1/yafc.1.gz
@ -51,10 +49,10 @@ READLINE_CONFIGURE_WITH= readline
SSH_LIB_DEPENDS= libssh.so:security/libssh
SSH_CONFIGURE_OFF= --without-ssh
pre-configure-NLS-on:
pre-configure:
@(cd ${WRKSRC} && ${LOCALBASE}/bin/glib-gettextize -f -c)
post-install:
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/samples/* ${STAGEDIR}${EXAMPLESDIR}

View File

@ -2,4 +2,5 @@ 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!
WWW: http://www.yafc-ftp.com/
WWW: https://web.archive.org/web/20180422134425/http://www.yafc-ftp.com/
WWW: https://github.com/sebastinas/yafc