svn commit: r557222 - head/ftp/yafc

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Dec 7 09:37:39 UTC 2020


Author: amdmi3
Date: Mon Dec  7 09:37:38 2020
New Revision: 557222
URL: https://svnweb.freebsd.org/changeset/ports/557222

Log:
  - 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

Modified:
  head/ftp/yafc/Makefile
  head/ftp/yafc/pkg-descr

Modified: head/ftp/yafc/Makefile
==============================================================================
--- head/ftp/yafc/Makefile	Mon Dec  7 09:21:52 2020	(r557221)
+++ head/ftp/yafc/Makefile	Mon Dec  7 09:37:38 2020	(r557222)
@@ -10,10 +10,11 @@ MAINTAINER=	wg at 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}
 

Modified: head/ftp/yafc/pkg-descr
==============================================================================
--- head/ftp/yafc/pkg-descr	Mon Dec  7 09:21:52 2020	(r557221)
+++ head/ftp/yafc/pkg-descr	Mon Dec  7 09:37:38 2020	(r557222)
@@ -2,4 +2,5 @@ Yafc is yet another ftp client, similar to ftp(1).  Fe
 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


More information about the svn-ports-head mailing list