Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2024 07:41:51 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: ec0fe8787183 - main - sysutils/usb_modeswitch: Moved man to share/man
Message-ID:  <202402260741.41Q7fp7H022226@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=ec0fe8787183a09b9cfa5c1135fa98c8a7af8f4e

commit ec0fe8787183a09b9cfa5c1135fa98c8a7af8f4e
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 07:32:12 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 07:32:12 +0000

    sysutils/usb_modeswitch: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 sysutils/usb_modeswitch/Makefile  | 3 ++-
 sysutils/usb_modeswitch/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/sysutils/usb_modeswitch/Makefile b/sysutils/usb_modeswitch/Makefile
index 26f3326c1906..cfe0b5f766ae 100644
--- a/sysutils/usb_modeswitch/Makefile
+++ b/sysutils/usb_modeswitch/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	usb_modeswitch
 PORTVERSION=	2.6.0
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.draisberghof.de/usb_modeswitch/
 DISTNAME=	${PORTNAME:S|_|-|}-${PORTVERSION}
@@ -25,7 +26,7 @@ pre-patch:
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/usb_modeswitch ${STAGEDIR}${PREFIX}/sbin
 	${INSTALL_DATA} ${WRKSRC}/usb_modeswitch.conf ${STAGEDIR}${PREFIX}/etc/usb_modeswitch.conf.sample
-	${INSTALL_MAN} ${WRKSRC}/usb_modeswitch.1 ${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/usb_modeswitch.1 ${STAGEDIR}${PREFIX}/share/man/man1
 	cd ${WRKSRC}/../${DATANAME}/usb_modeswitch.d && \
 		${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
 
diff --git a/sysutils/usb_modeswitch/pkg-plist b/sysutils/usb_modeswitch/pkg-plist
index 8d6c2daafc69..17fdbd70abe9 100644
--- a/sysutils/usb_modeswitch/pkg-plist
+++ b/sysutils/usb_modeswitch/pkg-plist
@@ -1,5 +1,5 @@
 @sample etc/usb_modeswitch.conf.sample
-man/man1/usb_modeswitch.1.gz
+share/man/man1/usb_modeswitch.1.gz
 sbin/usb_modeswitch
 %%DATADIR%%/03f0:002a
 %%DATADIR%%/03f0:032a



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