net/tcpview: Move manpages to share/man

Approved by:	portmgr (blanket)
This commit is contained in:
Helge Oldach 2024-02-04 22:11:51 +03:00 committed by Gleb Popov
parent e427ab10bf
commit 268db869e8
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= tcpview
PORTVERSION= 1.0
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= net
MASTER_SITES= http://ftp.vim.org/ibiblio/system/network/management/ \
ftp://ftp.ottix.net/pub/mirrors/by-package/tcpview/ \
@ -18,6 +18,8 @@ post-patch:
.for f in nametoaddr.c addrtoname.c print-nfs.c detail-tcp.c tv_addrtoname.c
@${REINPLACE_CMD} -e 's/NTOHL/ntohl/ ; s/NTOHS/ntohs/' ${WRKSRC}/${f}
.endfor
@${REINPLACE_CMD} -e '/^TCPVIEW_MANDEST/s,/man,/share/man,' \
${WRKSRC}/Makefile
post-install:
${INSTALL_DATA} ${WRKSRC}/DOC/Tcpview ${STAGEDIR}${PREFIX}/lib/X11/app-defaults

View File

@ -4,5 +4,5 @@ lib/tcpview/filters/telnet
lib/tcpview/filters/generic
lib/tcpview/hosts
lib/tcpview/manuf
man/man1/tcpview.1.gz
lib/X11/app-defaults/Tcpview
share/man/man1/tcpview.1.gz