git: 268db869e823 - main - net/tcpview: Move manpages to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 04 Feb 2024 19:14:41 UTC
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=268db869e823a9dfb4cc8c31371836d07303aaec commit 268db869e823a9dfb4cc8c31371836d07303aaec Author: Helge Oldach <freebsd@oldach.net> AuthorDate: 2024-02-04 19:11:51 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2024-02-04 19:13:56 +0000 net/tcpview: Move manpages to share/man Approved by: portmgr (blanket) --- net/tcpview/Makefile | 4 +++- net/tcpview/pkg-plist | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/net/tcpview/Makefile b/net/tcpview/Makefile index 8de71a516853..83ca3544a736 100644 --- a/net/tcpview/Makefile +++ b/net/tcpview/Makefile @@ -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 diff --git a/net/tcpview/pkg-plist b/net/tcpview/pkg-plist index 8723b681a342..449e0dd406fb 100644 --- a/net/tcpview/pkg-plist +++ b/net/tcpview/pkg-plist @@ -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