Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2024 14:51:46 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2bec7387db2b - main - devel/libsysinfo: Impelled to share/man
Message-ID:  <202401231451.40NEpkA4082062@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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/
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401231451.40NEpkA4082062>