Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2024 10:02:22 GMT
From:      Christian Weisgerber <naddy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1c94375b4344 - main - ports-mgmt/portsreinstall: Move man pages to share/man
Message-ID:  <202403191002.42JA2M1T041122@gitrepo.freebsd.org>

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

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

commit 1c94375b434415a552e1223a78673e141bbed126
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-19 09:49:28 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-19 09:49:28 +0000

    ports-mgmt/portsreinstall: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 ports-mgmt/portsreinstall/Makefile             |  1 +
 ports-mgmt/portsreinstall/files/patch-Makefile | 27 ++++++++++++++++++++++++++
 ports-mgmt/portsreinstall/pkg-plist            |  8 ++++----
 3 files changed, 32 insertions(+), 4 deletions(-)

diff --git a/ports-mgmt/portsreinstall/Makefile b/ports-mgmt/portsreinstall/Makefile
index fc444f523693..624e90894398 100644
--- a/ports-mgmt/portsreinstall/Makefile
+++ b/ports-mgmt/portsreinstall/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	portsreinstall
 DISTVERSION=	4.1.1
+PORTREVISION=	1
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	OSDN/${PORTNAME} \
 		http://www.mwghennndo.com/software/${PORTNAME}/
diff --git a/ports-mgmt/portsreinstall/files/patch-Makefile b/ports-mgmt/portsreinstall/files/patch-Makefile
new file mode 100644
index 000000000000..ad375780fb74
--- /dev/null
+++ b/ports-mgmt/portsreinstall/files/patch-Makefile
@@ -0,0 +1,27 @@
+--- Makefile.orig	2024-03-19 09:47:00 UTC
++++ Makefile
+@@ -97,15 +97,15 @@ install:
+ 	$(INSTALL_NOEXEC) $(LIBS_UPGRADE) $(PREFIX)/lib/$(PROGNAME)/upgrade
+ 	$(INSTALL_DIR) $(PREFIX)/libexec/$(PROGNAME)
+ 	$(INSTALL_SCRIPT) $(LIBEXECS) $(PREFIX)/libexec/$(PROGNAME)
+-	$(INSTALL_DIR) $(PREFIX)/man/man8
+-	$(INSTALL_NOEXEC) man/$(PROGNAME).8 $(PREFIX)/man/man8
+-	$(GZIP) ${PREFIX}/man/man8/$(PROGNAME).8
+-	$(INSTALL_NOEXEC) man/$(PROGNAME)-chroot.8 $(PREFIX)/man/man8
+-	$(GZIP) ${PREFIX}/man/man8/$(PROGNAME)-chroot.8
+-	$(INSTALL_NOEXEC) man/$(PROGNAME)-chroot-mount.8 $(PREFIX)/man/man8
+-	$(GZIP) ${PREFIX}/man/man8/$(PROGNAME)-chroot-mount.8
+-	$(INSTALL_NOEXEC) man/$(PROGNAME)-upgrade.8 $(PREFIX)/man/man8
+-	$(GZIP) ${PREFIX}/man/man8/$(PROGNAME)-upgrade.8
++	$(INSTALL_DIR) $(PREFIX)/share/man/man8
++	$(INSTALL_NOEXEC) man/$(PROGNAME).8 $(PREFIX)/share/man/man8
++	$(GZIP) ${PREFIX}/share/man/man8/$(PROGNAME).8
++	$(INSTALL_NOEXEC) man/$(PROGNAME)-chroot.8 $(PREFIX)/share/man/man8
++	$(GZIP) ${PREFIX}/share/man/man8/$(PROGNAME)-chroot.8
++	$(INSTALL_NOEXEC) man/$(PROGNAME)-chroot-mount.8 $(PREFIX)/share/man/man8
++	$(GZIP) ${PREFIX}/share/man/man8/$(PROGNAME)-chroot-mount.8
++	$(INSTALL_NOEXEC) man/$(PROGNAME)-upgrade.8 $(PREFIX)/share/man/man8
++	$(GZIP) ${PREFIX}/share/man/man8/$(PROGNAME)-upgrade.8
+ 	$(INSTALL_DIR) $(PREFIX)/share/$(PROGNAME)/bin
+ 	$(INSTALL_SCRIPT) $(PROGNAMES_DISPATCH) $(PREFIX)/share/$(PROGNAME)/bin
+ 	$(INSTALL_DIR) $(PREFIX)/etc
diff --git a/ports-mgmt/portsreinstall/pkg-plist b/ports-mgmt/portsreinstall/pkg-plist
index 120f03f8108b..2f2e5d6c99a3 100644
--- a/ports-mgmt/portsreinstall/pkg-plist
+++ b/ports-mgmt/portsreinstall/pkg-plist
@@ -54,9 +54,9 @@ lib/portsreinstall/upgrade/libmessage.sh
 lib/portsreinstall/upgrade/liboptions.sh
 lib/portsreinstall/upgrade/libusage.sh
 libexec/portsreinstall/order_dependencies.awk
-man/man8/portsreinstall-chroot-mount.8.gz
-man/man8/portsreinstall-chroot.8.gz
-man/man8/portsreinstall-upgrade.8.gz
-man/man8/portsreinstall.8.gz
+share/man/man8/portsreinstall-chroot-mount.8.gz
+share/man/man8/portsreinstall-chroot.8.gz
+share/man/man8/portsreinstall-upgrade.8.gz
+share/man/man8/portsreinstall.8.gz
 %%DATADIR%%/bin/portsreinstall-chroot-mount
 %%DATADIR%%/bin/portsreinstall-upgrade



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