aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelge Oldach <freebsd@oldach.net>2024-02-04 19:11:51 +0000
committerGleb Popov <arrowd@FreeBSD.org>2024-02-04 19:13:56 +0000
commit268db869e823a9dfb4cc8c31371836d07303aaec (patch)
treea327759cc8b5ec716d1bc68dc2964a6df1593f18
parente427ab10bfca54efa711a2eec5e75dbf88ea0acd (diff)
downloadports-268db869e823a9dfb4cc8c31371836d07303aaec.tar.gz
ports-268db869e823a9dfb4cc8c31371836d07303aaec.zip
net/tcpview: Move manpages to share/man
Approved by: portmgr (blanket)
-rw-r--r--net/tcpview/Makefile4
-rw-r--r--net/tcpview/pkg-plist2
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