Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 2024 18:38:04 GMT
From:      Nuno Teixeira <eduardo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: cb8366697da4 - main - net/yaz: Move man pages to share/man
Message-ID:  <202403201838.42KIc46M042063@gitrepo.freebsd.org>

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

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

commit cb8366697da498807142c0308eee21403a383d44
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-20 18:25:14 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-20 18:37:12 +0000

    net/yaz: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 net/yaz/Makefile  |  5 +++--
 net/yaz/pkg-plist | 30 +++++++++++++++---------------
 2 files changed, 18 insertions(+), 17 deletions(-)

diff --git a/net/yaz/Makefile b/net/yaz/Makefile
index 07718b87e5b7..050168385c25 100644
--- a/net/yaz/Makefile
+++ b/net/yaz/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	yaz
 DISTVERSION=	5.31.1
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	net
 MASTER_SITES=	https://ftp.indexdata.dk/pub/yaz/
 
@@ -18,6 +18,7 @@ USES=		gnome iconv libtool ncurses pathfix localbase:ldflags \
 		pkgconfig readline shebangfix tcl
 SHEBANG_FILES=	src/yaz-asncomp
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 USE_GNOME=	libxml2 libxslt
 USE_LDCONFIG=	yes
 MAKE_JOBS_UNSAFE=	yes
@@ -41,7 +42,7 @@ post-patch:
 	@${REINPLACE_CMD} 's|tclsh |tclsh${TCL_VER} |' ${WRKSRC}/configure
 
 post-configure:
-	@${REINPLACE_CMD} -e 's,[$$]{datarootdir}/man,${PREFIX}/man,' \
+	@${REINPLACE_CMD} -e 's,[$$]{datarootdir}/man,${PREFIX}/share/man,' \
 		${WRKSRC}/doc/Makefile
 
 post-install:
diff --git a/net/yaz/pkg-plist b/net/yaz/pkg-plist
index a820d25e5071..a8e294e07eac 100644
--- a/net/yaz/pkg-plist
+++ b/net/yaz/pkg-plist
@@ -140,22 +140,22 @@ lib/libyaz_server.so.5.0.0
 libdata/pkgconfig/yaz-icu.pc
 libdata/pkgconfig/yaz-server.pc
 libdata/pkgconfig/yaz.pc
-man/man1/yaz-asncomp.1.gz
-man/man1/yaz-client.1.gz
-man/man1/yaz-config.1.gz
-man/man1/yaz-iconv.1.gz
-man/man1/yaz-icu.1.gz
-man/man1/yaz-illclient.1.gz
-man/man1/yaz-json-parse.1.gz
-man/man1/yaz-marcdump.1.gz
-man/man1/yaz-record-conv.1.gz
-man/man1/yaz-url.1.gz
-man/man1/zoomsh.1.gz
-man/man7/bib1-attr.7.gz
-man/man7/yaz-log.7.gz
-man/man7/yaz.7.gz
-man/man8/yaz-ztest.8.gz
 share/aclocal/yaz.m4
+share/man/man1/yaz-asncomp.1.gz
+share/man/man1/yaz-client.1.gz
+share/man/man1/yaz-config.1.gz
+share/man/man1/yaz-iconv.1.gz
+share/man/man1/yaz-icu.1.gz
+share/man/man1/yaz-illclient.1.gz
+share/man/man1/yaz-json-parse.1.gz
+share/man/man1/yaz-marcdump.1.gz
+share/man/man1/yaz-record-conv.1.gz
+share/man/man1/yaz-url.1.gz
+share/man/man1/zoomsh.1.gz
+share/man/man7/bib1-attr.7.gz
+share/man/man7/yaz-log.7.gz
+share/man/man7/yaz.7.gz
+share/man/man8/yaz-ztest.8.gz
 %%DATADIR%%/etc/MARC21slim2DC.xsl
 %%DATADIR%%/etc/MARC21slim2MODS.xsl
 %%DATADIR%%/etc/MARC21slim2RDFDC.xsl



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