Date: Sat, 29 Sep 2018 12:01:25 +0000 (UTC) From: Alex Kozlov <ak@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480906 - head/net/tcpreen Message-ID: <201809291201.w8TC1PL1053368@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ak Date: Sat Sep 29 12:01:25 2018 New Revision: 480906 URL: https://svnweb.freebsd.org/changeset/ports/480906 Log: - Add LICENSE - Use options helpers - Update WWW [1] PR: 231258 [1] Submitted by: Kurt Jaeger <pi@FreeBSD.org> [1] Approved by: Janos Mohacsi <jmohacsi@bsd.hu> (maintainer) Modified: head/net/tcpreen/Makefile head/net/tcpreen/pkg-descr head/net/tcpreen/pkg-plist Modified: head/net/tcpreen/Makefile ============================================================================== --- head/net/tcpreen/Makefile Sat Sep 29 10:12:45 2018 (r480905) +++ head/net/tcpreen/Makefile Sat Sep 29 12:01:25 2018 (r480906) @@ -10,29 +10,22 @@ MASTER_SITES= http://www.remlab.net/files/tcpreen/ MAINTAINER= jmohacsi@bsd.hu COMMENT= Simple TCP session re-engineering tool +LICENSE= GPLv2+ + USES= tar:bzip2 GNU_CONFIGURE= yes -DOC_FILES= AUTHORS NEWS README THANKS TODO +OPTIONS_SUB= yes +PORTDOCS= AUTHORS NEWS README THANKS TODO + OPTIONS_DEFINE= DOCS NLS -.include <bsd.port.options.mk> +NLS_USES= gettext +NLS_CONFIGURE_OFF= --disable-nls -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.endif - -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for file in ${DOC_FILES} - @${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} -.endfor -.endif + @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> Modified: head/net/tcpreen/pkg-descr ============================================================================== --- head/net/tcpreen/pkg-descr Sat Sep 29 10:12:45 2018 (r480905) +++ head/net/tcpreen/pkg-descr Sat Sep 29 12:01:25 2018 (r480906) @@ -3,6 +3,4 @@ a client and a server via a TCP connection. This tool stream (software/socket layer), not on the lower level transmission protocol as packet sniffers do. -WWW: http://www.simphalempin.com/dev/tcpreen/ - -Janos Mohacsi <janos.mohacsi@bsd.hu> +WWW: https://www.remlab.net/tcpreen/ Modified: head/net/tcpreen/pkg-plist ============================================================================== --- head/net/tcpreen/pkg-plist Sat Sep 29 10:12:45 2018 (r480905) +++ head/net/tcpreen/pkg-plist Sat Sep 29 12:01:25 2018 (r480906) @@ -2,8 +2,3 @@ bin/tcpreen man/man1/tcpreen.1.gz %%NLS%%share/locale/fr/LC_MESSAGES/tcpreen.mo %%NLS%%share/locale/pt_BR/LC_MESSAGES/tcpreen.mo -%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/NEWS -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/THANKS -%%PORTDOCS%%%%DOCSDIR%%/TODO
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809291201.w8TC1PL1053368>