- 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)
This commit is contained in:
Alex Kozlov 2018-09-29 12:01:25 +00:00
parent 030739bb9d
commit d516b5a896
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=480906
3 changed files with 10 additions and 24 deletions

View file

@ -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>

View file

@ -3,6 +3,4 @@ a client and a server via a TCP connection. This tool focuses on the data
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/

View file

@ -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