Skip to content

Commit

Permalink
devel/libsysinfo: Impelled to share/man
Browse files Browse the repository at this point in the history
Approved by:    portmgr (blanket)
  • Loading branch information
5u623l20 committed Jan 23, 2024
1 parent 0fdaa90 commit 2bec738
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions 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
Expand All @@ -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/

Expand Down

0 comments on commit 2bec738

Please sign in to comment.