- Add LICENSE - Use options helpers - Update WWW [1] PR: 231258 Submitted by: Kurt Jaeger [1] Index: net/tcpreen/Makefile =================================================================== --- net/tcpreen/Makefile (revision 480904) +++ net/tcpreen/Makefile (working copy) @@ -10,29 +10,22 @@ 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 +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 Index: net/tcpreen/pkg-descr =================================================================== --- net/tcpreen/pkg-descr (revision 480904) +++ net/tcpreen/pkg-descr (working copy) @@ -3,6 +3,4 @@ stream (software/socket layer), not on the lower level transmission protocol as packet sniffers do. -WWW: http://www.simphalempin.com/dev/tcpreen/ - -Janos Mohacsi +WWW: https://www.remlab.net/tcpreen/ Index: net/tcpreen/pkg-plist =================================================================== --- net/tcpreen/pkg-plist (revision 480904) +++ net/tcpreen/pkg-plist (working copy) @@ -2,8 +2,3 @@ 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