aboutsummaryrefslogtreecommitdiff
path: root/sysutils/lsof
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2024-01-10 15:29:44 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2024-01-10 15:29:49 +0000
commite4610fcb8b73442ad40b744bb87c1bc428ef7c1c (patch)
tree0dc4acc6dcc372c03caf9e3dcf24d3507237cf06 /sysutils/lsof
parentf1f3b1f4eb517c718c74578ccc05e1269bf9f10f (diff)
downloadports-e4610fcb8b73442ad40b744bb87c1bc428ef7c1c.tar.gz
ports-e4610fcb8b73442ad40b744bb87c1bc428ef7c1c.zip
MAN?PREFIX: eleminate its usage and move man to share/man
Diffstat (limited to 'sysutils/lsof')
-rw-r--r--sysutils/lsof/Makefile3
-rw-r--r--sysutils/lsof/pkg-plist2
2 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile
index ef9e0374510f..395bb0ca21fb 100644
--- a/sysutils/lsof/Makefile
+++ b/sysutils/lsof/Makefile
@@ -3,6 +3,7 @@
PORTNAME= lsof
DISTVERSION= 4.99.3
+PORTREVISION= 1
PORTEPOCH= 8
CATEGORIES= sysutils
@@ -56,7 +57,7 @@ IGNORE+= requires kernel sources
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lsof ${STAGEDIR}${PREFIX}/sbin
(cd ${WRKSRC} && /usr/bin/soelim Lsof.8 > ${WRKSRC}/lsof.8)
- ${INSTALL_MAN} ${WRKSRC}/lsof.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/lsof.8
+ ${INSTALL_MAN} ${WRKSRC}/lsof.8 ${STAGEDIR}${PREFIX}/share/man/man8/lsof.8
@${MKDIR} ${STAGEDIR}${PREFIX}/share/lsof
${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${STAGEDIR}${PREFIX}/share/lsof
@${CHMOD} 0444 ${STAGEDIR}${PREFIX}/share/lsof/00*
diff --git a/sysutils/lsof/pkg-plist b/sysutils/lsof/pkg-plist
index 4d407db7860e..4a1783204c72 100644
--- a/sysutils/lsof/pkg-plist
+++ b/sysutils/lsof/pkg-plist
@@ -1,4 +1,4 @@
-man/man8/lsof.8.gz
+share/man/man8/lsof.8.gz
@group kmem
@mode 2755
sbin/lsof