Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2024 13:22:27 GMT
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: aaa9b7cb250b - main - comms/opencbm*: Move manpages to share/man
Message-ID:  <202403181322.42IDMRi7046433@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=aaa9b7cb250b75f82603f164800c5baa3cf68ac1

commit aaa9b7cb250b75f82603f164800c5baa3cf68ac1
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-03-18 13:19:15 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-03-18 13:19:34 +0000

    comms/opencbm*: Move manpages to share/man
    
    Approved by:    portmgr (blanket)
---
 comms/opencbm-kmod/Makefile  |  4 +++-
 comms/opencbm-kmod/pkg-plist |  2 +-
 comms/opencbm/Makefile.inc   |  3 ++-
 comms/opencbm/pkg-plist      | 30 +++++++++++++++---------------
 4 files changed, 21 insertions(+), 18 deletions(-)

diff --git a/comms/opencbm-kmod/Makefile b/comms/opencbm-kmod/Makefile
index 3432aa3f8f1a..77ea7d63eed5 100644
--- a/comms/opencbm-kmod/Makefile
+++ b/comms/opencbm-kmod/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	opencbm-kmod
 PORTVERSION=	${OCBM_VERSION}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	comms archivers
 
 MAINTAINER=	zirias@FreeBSD.org
@@ -15,4 +15,6 @@ WRKSRC_SUBDIR=	opencbm/sys/freebsd
 
 .include "../opencbm/Makefile.inc"
 
+MAKE_ARGS+=	MANDIR=${PREFIX}/share/man/man
+
 .include <bsd.port.mk>
diff --git a/comms/opencbm-kmod/pkg-plist b/comms/opencbm-kmod/pkg-plist
index 76ba2b0a6a82..fc3d85fd1a0d 100644
--- a/comms/opencbm-kmod/pkg-plist
+++ b/comms/opencbm-kmod/pkg-plist
@@ -1,2 +1,2 @@
 /%%KMODDIR%%/opencbm.ko
-man/man4/opencbm.4.gz
+share/man/man4/opencbm.4.gz
diff --git a/comms/opencbm/Makefile.inc b/comms/opencbm/Makefile.inc
index a4d863c37667..cbba917ffc24 100644
--- a/comms/opencbm/Makefile.inc
+++ b/comms/opencbm/Makefile.inc
@@ -1,5 +1,5 @@
 OCBM_VERSION=	0.4.99.104
-OCBM_REVISION=	1
+OCBM_REVISION=	2
 DISTVERSIONPREFIX=	v
 DISTINFO_FILE=	${.CURDIR}/../opencbm/distinfo
 
@@ -10,6 +10,7 @@ GH_PROJECT=	OpenCBM
 MAKEFILE?=	LINUX/Makefile
 MAKE_ARGS=	CC="${CC}" \
 		INFODIR=${PREFIX}/${INFO_PATH} \
+		MANDIR=${PREFIX}/share/man/man1 \
 		SUBDIRS_PLUGIN_XA1541=opencbm/lib/plugin/xa1541
 MAKE_ENV=	USER_CFLAGS="${CFLAGS}"
 
diff --git a/comms/opencbm/pkg-plist b/comms/opencbm/pkg-plist
index 8644b778bc35..5f5393339659 100644
--- a/comms/opencbm/pkg-plist
+++ b/comms/opencbm/pkg-plist
@@ -33,21 +33,6 @@ lib/opencbm/plugin/libopencbm-xum1541.a
 lib/opencbm/plugin/libopencbm-xum1541.so
 lib/opencbm/plugin/libopencbm-xum1541.so.0
 lib/opencbm/plugin/libopencbm-xum1541.so.%%OCBM_VERSION%%
-man/man1/cbmcopy.1.gz
-man/man1/cbmctrl.1.gz
-man/man1/cbmformat.1.gz
-man/man1/cbmforng.1.gz
-man/man1/cbmlinetester.1.gz
-man/man1/cbmread.1.gz
-man/man1/cbmrpm41.1.gz
-man/man1/cbmwrite.1.gz
-man/man1/d64copy.1.gz
-man/man1/d82copy.1.gz
-man/man1/frm_analyzer.1.gz
-man/man1/imgcopy.1.gz
-man/man1/samplelibtransf.1.gz
-man/man1/testlines.1.gz
-man/man1/xum1541cfg.1.gz
 sbin/opencbm_plugin_helper_tools
 %%PORTDOCS%%%%DOCSDIR%%/html/opencbm-1.html
 %%PORTDOCS%%%%DOCSDIR%%/html/opencbm-10.html
@@ -100,5 +85,20 @@ sbin/opencbm_plugin_helper_tools
 %%PORTDOCS%%%%DOCSDIR%%/misc/serial.txt
 %%PORTDOCS%%%%DOCSDIR%%/opencbm.pdf
 %%PORTDOCS%%%%DOCSDIR%%/opencbm.txt
+share/man/man1/cbmcopy.1.gz
+share/man/man1/cbmctrl.1.gz
+share/man/man1/cbmformat.1.gz
+share/man/man1/cbmforng.1.gz
+share/man/man1/cbmlinetester.1.gz
+share/man/man1/cbmread.1.gz
+share/man/man1/cbmrpm41.1.gz
+share/man/man1/cbmwrite.1.gz
+share/man/man1/d64copy.1.gz
+share/man/man1/d82copy.1.gz
+share/man/man1/frm_analyzer.1.gz
+share/man/man1/imgcopy.1.gz
+share/man/man1/samplelibtransf.1.gz
+share/man/man1/testlines.1.gz
+share/man/man1/xum1541cfg.1.gz
 @postexec opencbm_plugin_helper_tools rebuild
 @preunexec rm -f %%LOCALBASE%%/etc/opencbm.conf



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