Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2024 07:30:20 GMT
From:      Yasuhiro Kimura <yasu@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f4ddce55b265 - main - cad/qelectrotech: Move man pages to share/man
Message-ID:  <202403220730.42M7UKHP085030@gitrepo.freebsd.org>

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

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

commit f4ddce55b265950ff09e7dedcb2a7f4b00a5055d
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2024-03-22 07:26:40 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-03-22 07:29:47 +0000

    cad/qelectrotech: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 cad/qelectrotech/Makefile  |  3 +++
 cad/qelectrotech/pkg-plist | 26 +++++++++++++-------------
 2 files changed, 16 insertions(+), 13 deletions(-)

diff --git a/cad/qelectrotech/Makefile b/cad/qelectrotech/Makefile
index b8f7844a8d7a..ad3a9e4bbf9b 100644
--- a/cad/qelectrotech/Makefile
+++ b/cad/qelectrotech/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	qelectrotech
 DISTVERSION=	0.9.0
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	cad
 MASTER_SITES=	https://git.tuxfamily.org/qet/qet.git/snapshot/
@@ -34,6 +35,8 @@ pre-configure:
 		${WRKSRC}/${PORTNAME}.pro
 	${REINPLACE_CMD} -e 's,doc/,share/doc/,g' \
 		${WRKSRC}/${PORTNAME}.pro
+	${REINPLACE_CMD} -e '/QET_MAN_PATH/s,man/,share/man/,g' \
+		${WRKSRC}/${PORTNAME}.pro
 	${REINPLACE_CMD} -e 's,../share,share,g' \
 		${WRKSRC}/${PORTNAME}.pro
 
diff --git a/cad/qelectrotech/pkg-plist b/cad/qelectrotech/pkg-plist
index 3ca0b4f8bc82..e25bbbfd664f 100644
--- a/cad/qelectrotech/pkg-plist
+++ b/cad/qelectrotech/pkg-plist
@@ -1,17 +1,4 @@
 bin/qelectrotech
-man/be/man1/qelectrotech.1.gz
-man/cs/man1/qelectrotech.1.gz
-man/el/man1/qelectrotech.1.gz
-man/es/man1/qelectrotech.1.gz
-man/fr.ISO8859-1/man1/qelectrotech.1.gz
-man/fr.UTF-8/man1/qelectrotech.1.gz
-man/fr/man1/qelectrotech.1.gz
-man/it/man1/qelectrotech.1.gz
-man/man1/qelectrotech.1.gz
-man/nl/man1/qelectrotech.1.gz
-man/pl/man1/qelectrotech.1.gz
-man/pt/man1/qelectrotech.1.gz
-man/ru/man1/qelectrotech.1.gz
 share/appdata/qelectrotech.appdata.xml
 share/applications/qelectrotech.desktop
 %%DOCSDIR%%/CREDIT
@@ -47,6 +34,19 @@ share/icons/hicolor/64x64/apps/qelectrotech.png
 share/icons/hicolor/64x64/mimetypes/application-x-qet-element.png
 share/icons/hicolor/64x64/mimetypes/application-x-qet-project.png
 share/icons/hicolor/64x64/mimetypes/application-x-qet-titleblock.png
+share/man/be/man1/qelectrotech.1.gz
+share/man/cs/man1/qelectrotech.1.gz
+share/man/el/man1/qelectrotech.1.gz
+share/man/es/man1/qelectrotech.1.gz
+share/man/fr.ISO8859-1/man1/qelectrotech.1.gz
+share/man/fr.UTF-8/man1/qelectrotech.1.gz
+share/man/fr/man1/qelectrotech.1.gz
+share/man/it/man1/qelectrotech.1.gz
+share/man/man1/qelectrotech.1.gz
+share/man/nl/man1/qelectrotech.1.gz
+share/man/pl/man1/qelectrotech.1.gz
+share/man/pt/man1/qelectrotech.1.gz
+share/man/ru/man1/qelectrotech.1.gz
 share/mime/packages/qelectrotech.xml
 %%DATADIR%%/elements/10_electric/10_allpole/100_folio_referencing/01coming_arrow.elmt
 %%DATADIR%%/elements/10_electric/10_allpole/100_folio_referencing/02going_arrow.elmt



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