git: 2eb145a102e1 - main - graphics/blender*: fix pkg-plist use share/man

From: Loïc Bartoletti <lbartoletti_at_FreeBSD.org>
Date: Mon, 16 May 2022 06:57:32 UTC
The branch main has been updated by lbartoletti:

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

commit 2eb145a102e176aeef12901069bb57850e3d65c5
Author:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
AuthorDate: 2022-04-14 18:22:27 +0000
Commit:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
CommitDate: 2022-05-16 06:49:45 +0000

    graphics/blender*: fix pkg-plist use share/man
    
    Approved by:    portmgr (blanket)
---
 graphics/blender-lts28/Makefile  | 6 +++---
 graphics/blender-lts28/pkg-plist | 2 +-
 graphics/blender-lts29/Makefile  | 6 +++---
 graphics/blender-lts29/pkg-plist | 2 +-
 graphics/blender/Makefile        | 2 +-
 graphics/blender/pkg-plist       | 2 +-
 6 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/graphics/blender-lts28/Makefile b/graphics/blender-lts28/Makefile
index 40d81f691e13..5ddae5a01989 100644
--- a/graphics/blender-lts28/Makefile
+++ b/graphics/blender-lts28/Makefile
@@ -194,7 +194,7 @@ post-build:
 
 post-install:
 	${INSTALL_MAN} ${INSTALL_WRKSRC}/bin/${PORTNAME}.1 \
-		${STAGEDIR}${MAN1PREFIX}/man/man1
+		${STAGEDIR}${MAN1PREFIX}/share/man/man1
 	# rename files to prevent conflict with other blender versions
 	${MV} ${STAGEDIR}${PREFIX}/share/blender \
 		${STAGEDIR}${PREFIX}/share/blender${PKGNAMESUFFIX}
@@ -205,8 +205,8 @@ post-install:
 	${INSTALL_SCRIPT} ${WRKDIR}/blender ${STAGEDIR}/${PREFIX}/bin/blender${PKGNAMESUFFIX}
 	${MV} ${STAGEDIR}${PREFIX}/bin/blender-thumbnailer.py \
 		${STAGEDIR}${PREFIX}/bin/blender${PKGNAMESUFFIX}-thumbnailer.py
-	${MV} ${STAGEDIR}${PREFIX}/man/man1/blender.1 \
-		${STAGEDIR}${PREFIX}/man/man1/blender${PKGNAMESUFFIX}.1
+	${MV} ${STAGEDIR}${PREFIX}/share/man/man1/blender.1 \
+		${STAGEDIR}${PREFIX}/share/man/man1/blender${PKGNAMESUFFIX}.1
 	${MV} ${STAGEDIR}${PREFIX}/share/applications/blender.desktop \
 		${STAGEDIR}${PREFIX}/share/applications/blender${PKGNAMESUFFIX}.desktop
 	${MV} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/blender.svg \
diff --git a/graphics/blender-lts28/pkg-plist b/graphics/blender-lts28/pkg-plist
index 0a1c476fee51..ada5574e9020 100644
--- a/graphics/blender-lts28/pkg-plist
+++ b/graphics/blender-lts28/pkg-plist
@@ -2,7 +2,7 @@ bin/blender%%SUFFIX%%
 bin/blender-bin%%SUFFIX%%
 bin/blender%%SUFFIX%%-thumbnailer.py
 %%DRACO%%%%PYTHON_SITELIBDIR%%/libextern_draco.so
-man/man1/blender%%SUFFIX%%.1.gz
+share/man/man1/blender%%SUFFIX%%.1.gz
 share/applications/blender%%SUFFIX%%.desktop
 %%OPENCOLORIO%%%%DATADIR%%/%%VER%%/datafiles/colormanagement/config.ocio
 %%OPENCOLORIO%%%%DATADIR%%/%%VER%%/datafiles/colormanagement/filmic/filmic_desat65cube.spi3d
diff --git a/graphics/blender-lts29/Makefile b/graphics/blender-lts29/Makefile
index 74da0393482d..3afb7a2613ec 100644
--- a/graphics/blender-lts29/Makefile
+++ b/graphics/blender-lts29/Makefile
@@ -197,7 +197,7 @@ post-build:
 
 post-install:
 	${INSTALL_MAN} ${INSTALL_WRKSRC}/bin/${PORTNAME}.1 \
-		${STAGEDIR}${MAN1PREFIX}/man/man1
+		${STAGEDIR}${MAN1PREFIX}/share/man/man1
 	# rename files to prevent conflict with other blender versions
 	${MV} ${STAGEDIR}${PREFIX}/share/blender \
 		${STAGEDIR}${PREFIX}/share/blender${PKGNAMESUFFIX}
@@ -208,8 +208,8 @@ post-install:
 	${INSTALL_SCRIPT} ${WRKDIR}/blender ${STAGEDIR}/${PREFIX}/bin/blender${PKGNAMESUFFIX}
 	${MV} ${STAGEDIR}${PREFIX}/bin/blender-thumbnailer.py \
 		${STAGEDIR}${PREFIX}/bin/blender${PKGNAMESUFFIX}-thumbnailer.py
-	${MV} ${STAGEDIR}${PREFIX}/man/man1/blender.1 \
-		${STAGEDIR}${PREFIX}/man/man1/blender${PKGNAMESUFFIX}.1
+	${MV} ${STAGEDIR}${PREFIX}/share/man/man1/blender.1 \
+		${STAGEDIR}${PREFIX}/share/man/man1/blender${PKGNAMESUFFIX}.1
 	${MV} ${STAGEDIR}${PREFIX}/share/applications/blender.desktop \
 		${STAGEDIR}${PREFIX}/share/applications/blender${PKGNAMESUFFIX}.desktop
 	${MV} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/blender.svg \
diff --git a/graphics/blender-lts29/pkg-plist b/graphics/blender-lts29/pkg-plist
index e609a0ca171b..93d1c2d7acc4 100644
--- a/graphics/blender-lts29/pkg-plist
+++ b/graphics/blender-lts29/pkg-plist
@@ -2,7 +2,7 @@ bin/blender%%SUFFIX%%
 bin/blender-bin%%SUFFIX%%
 bin/blender%%SUFFIX%%-thumbnailer.py
 %%DRACO%%%%PYTHON_SITELIBDIR%%/libextern_draco.so
-man/man1/blender%%SUFFIX%%.1.gz
+share/man/man1/blender%%SUFFIX%%.1.gz
 share/applications/blender%%SUFFIX%%.desktop
 %%OPENCOLORIO%%%%DATADIR%%/%%VER%%/datafiles/colormanagement/config.ocio
 %%OPENCOLORIO%%%%DATADIR%%/%%VER%%/datafiles/colormanagement/filmic/filmic_desat65cube.spi3d
diff --git a/graphics/blender/Makefile b/graphics/blender/Makefile
index 2b7826c0c4e2..f61b587b47fe 100644
--- a/graphics/blender/Makefile
+++ b/graphics/blender/Makefile
@@ -196,7 +196,7 @@ post-build:
 
 post-install:
 	${INSTALL_MAN} ${INSTALL_WRKSRC}/bin/${PORTNAME}.1 \
-		${STAGEDIR}${MAN1PREFIX}/man/man1
+		${STAGEDIR}${MAN1PREFIX}/share/man/man1
 	${MV} ${STAGEDIR}/${PREFIX}/bin/blender ${STAGEDIR}/${PREFIX}/bin/blender-bin
 	${REINPLACE_CMD} -e 's|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|g' ${WRKDIR}/blender
 	${INSTALL_SCRIPT} ${WRKDIR}/blender ${STAGEDIR}/${PREFIX}/bin/blender
diff --git a/graphics/blender/pkg-plist b/graphics/blender/pkg-plist
index c4a05cc92c41..2cc991115296 100644
--- a/graphics/blender/pkg-plist
+++ b/graphics/blender/pkg-plist
@@ -2,7 +2,7 @@ bin/blender
 bin/blender-bin
 %%THUMBNAILER%%bin/blender-thumbnailer
 %%DRACO%%%%PYTHON_SITELIBDIR%%/libextern_draco.so
-man/man1/blender.1.gz
+share/man/man1/blender.1.gz
 share/applications/blender.desktop
 %%OPENCOLORIO%%%%DATADIR%%/%%VER%%/datafiles/colormanagement/config.ocio
 %%OPENCOLORIO%%%%DATADIR%%/%%VER%%/datafiles/colormanagement/filmic/filmic_desat65cube.spi3d