Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jan 2024 16:12:54 GMT
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7bb2e0c2379a - main - archivers/*: eliminate use of MANPREFIX in unmaintained ports
Message-ID:  <202401051612.405GCsgY024793@gitrepo.freebsd.org>

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

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

commit 7bb2e0c2379a944b21980281b6360864ba920594
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2024-01-05 16:10:17 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2024-01-05 16:12:50 +0000

    archivers/*: eliminate use of MANPREFIX in unmaintained ports
    
    following up from 003a571d1d6585196545295efc181514f171c4c4
    
    It is now time to get rid of MANPREFIX and move everything to share/man
---
 archivers/stuffit/Makefile          | 6 +++---
 archivers/urbackup-client/Makefile  | 2 +-
 archivers/urbackup-client/pkg-plist | 2 +-
 archivers/zoo/Makefile              | 4 ++--
 archivers/zoo/pkg-plist             | 4 ++--
 5 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/archivers/stuffit/Makefile b/archivers/stuffit/Makefile
index f4e7153b1d0b..4f7ee8f39b54 100644
--- a/archivers/stuffit/Makefile
+++ b/archivers/stuffit/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	stuffit
 PORTVERSION=	5.2.0.611
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	archivers linux
 MASTER_SITES=	https://webdiis.unizar.es/pub/unix/archive/ \
 		http://mirror.sobukus.de/files/grimoire/z-archive/
@@ -23,7 +23,7 @@ NO_WRKSUBDIR=	yes
 STUFFIT_FILES=	bin/unstuff bin/stuff
 STUFFIT_MAN=	man/man1/stuff.1 man/man1/unstuff.1
 PLIST_FILES=	${STUFFIT_FILES} \
-		${STUFFIT_MAN:S,$,.gz,}
+		${STUFFIT_MAN:S,$,.gz,:S,^,share/,}
 
 do-build:
 .for sFile in ${STUFFIT_FILES}
@@ -35,7 +35,7 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${sFile} ${STAGEDIR}${PREFIX}/bin
 .endfor
 .for mFile in ${STUFFIT_MAN}
-	${INSTALL_MAN} ${WRKSRC}/${mFile} ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/${mFile} ${STAGEDIR}${PREFIX}/share/man/man1
 .endfor
 
 .include <bsd.port.mk>
diff --git a/archivers/urbackup-client/Makefile b/archivers/urbackup-client/Makefile
index 1e88dcb8c848..59cd8bb07237 100644
--- a/archivers/urbackup-client/Makefile
+++ b/archivers/urbackup-client/Makefile
@@ -52,7 +52,7 @@ post-stage:
 		${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/urbackupclient.conf
 
 	${INSTALL_MAN} ${WRKSRC}/docs/urbackupclientbackend.1 \
-		${STAGEDIR}${MANPREFIX}/man/man1
+		${STAGEDIR}${PREFIX}/share/man/man1
 
 .for f in ${CONFFILES}
 	${MV} ${STAGEDIR}${PREFIX}/etc/urbackup/${f} ${STAGEDIR}${PREFIX}/etc/urbackup/${f}.sample
diff --git a/archivers/urbackup-client/pkg-plist b/archivers/urbackup-client/pkg-plist
index dd3fc9242e0f..f44c1026425a 100644
--- a/archivers/urbackup-client/pkg-plist
+++ b/archivers/urbackup-client/pkg-plist
@@ -2,7 +2,7 @@ bin/blockalign
 bin/urbackupclientctl
 %%GUI%%bin/urbackupclientgui
 sbin/urbackupclientbackend
-@(,,0444) man/man1/urbackupclientbackend.1.gz
+share/man/man1/urbackupclientbackend.1.gz
 @mode 0600
 @sample etc/urbackup/mariadbdump.conf.sample
 @sample etc/urbackup/mariadbxtrabackup.conf.sample
diff --git a/archivers/zoo/Makefile b/archivers/zoo/Makefile
index ca0a3aa32028..3e917725b7a8 100644
--- a/archivers/zoo/Makefile
+++ b/archivers/zoo/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	zoo
 PORTVERSION=	2.10.1
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	archivers
 MASTER_SITES=	ftp://ftp.kiarchive.ru/pub/unix/arcers/ \
 		LOCAL/ehaupt
@@ -20,7 +20,7 @@ MAKEFILE=	makefile
 do-install:
 .for f in fiz zoo
 	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${f}.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/${f}.1 ${STAGEDIR}${PREFIX}/share/man/man1
 .endfor
 
 .include <bsd.port.mk>
diff --git a/archivers/zoo/pkg-plist b/archivers/zoo/pkg-plist
index 32106e2191c5..61111af8c9d8 100644
--- a/archivers/zoo/pkg-plist
+++ b/archivers/zoo/pkg-plist
@@ -1,4 +1,4 @@
 bin/fiz
 bin/zoo
-man/man1/fiz.1.gz
-man/man1/zoo.1.gz
+share/man/man1/fiz.1.gz
+share/man/man1/zoo.1.gz



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