aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2020-12-07 09:37:38 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2020-12-07 09:37:38 +0000
commit55f5080d93efb473cbb9071054ae52d11d069cdc (patch)
tree0b331070baa07e6272e233155ed42251b228cd8d /ftp
parentba2da2aa9457fe29a197ce11e91c0b0780212e8b (diff)
downloadports-55f5080d93efb473cbb9071054ae52d11d069cdc.tar.gz
ports-55f5080d93efb473cbb9071054ae52d11d069cdc.zip
- 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
Notes
Notes: svn path=/head/; revision=557222
Diffstat (limited to 'ftp')
-rw-r--r--ftp/yafc/Makefile10
-rw-r--r--ftp/yafc/pkg-descr3
2 files changed, 6 insertions, 7 deletions
diff --git a/ftp/yafc/Makefile b/ftp/yafc/Makefile
index 765346c69c86..4c6ba4b43486 100644
--- a/ftp/yafc/Makefile
+++ b/ftp/yafc/Makefile
@@ -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}
diff --git a/ftp/yafc/pkg-descr b/ftp/yafc/pkg-descr
index 4c9379bb0a88..3a94aa879647 100644
--- a/ftp/yafc/pkg-descr
+++ b/ftp/yafc/pkg-descr
@@ -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