git: 2bec7387db2b - main - devel/libsysinfo: Impelled to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Jan 2024 14:51:46 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2bec7387db2b5148721397d0f258b6426cafd034
commit 2bec7387db2b5148721397d0f258b6426cafd034
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-23 14:38:42 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-23 14:51:25 +0000
devel/libsysinfo: Impelled to share/man
Approved by: portmgr (blanket)
---
devel/libsysinfo/Makefile | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/devel/libsysinfo/Makefile b/devel/libsysinfo/Makefile
index 3f663f4dc1ac..7227f5547910 100644
--- a/devel/libsysinfo/Makefile
+++ b/devel/libsysinfo/Makefile
@@ -1,7 +1,7 @@
PORTNAME= libsysinfo
PORTVERSION= 0.0.3
DISTVERSIONPREFIX= v
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
MAINTAINER= imp@bsdimp.com
@@ -24,11 +24,15 @@ PLIST_FILES= include/sys/sysinfo.h \
lib/libsysinfo.so \
lib/libsysinfo.so.0 \
libdata/pkgconfig/libsysinfo.pc \
- man/man3/sysinfo.3.gz
+ share/man/man3/sysinfo.3.gz
SUB_FILES= libsysinfo.pc
SUB_LIST= PREFIX="${PREFIX}" PORTVERSION="${PORTVERSION}" COMMENT="${COMMENT}"
+post-patch:
+ @${REINPLACE_CMD} -e 's|man/man|share/man/man|g' \
+ ${WRKSRC}/Makefile
+
post-install:
${INSTALL_DATA} ${WRKDIR}/libsysinfo.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/