rawtherappe: fix man page installation Ride updatediff -r1.32 -r1.33 pkgsrc/graphics/rawtherapee/Makefile
(wiz)
@@ -1,34 +1,31 @@ | @@ -1,34 +1,31 @@ | |||
1 | # $NetBSD: Makefile,v 1.32 2023/11/21 16:09:25 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.33 2023/11/21 16:26:36 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= rawtherapee-5.9 | 3 | DISTNAME= rawtherapee-5.9 | |
4 | CATEGORIES= graphics | 4 | CATEGORIES= graphics | |
5 | MASTER_SITES= http://rawtherapee.com/shared/source/ | 5 | MASTER_SITES= http://rawtherapee.com/shared/source/ | |
6 | EXTRACT_SUFX= .tar.xz | 6 | EXTRACT_SUFX= .tar.xz | |
7 | 7 | |||
8 | MAINTAINER= ryoon@NetBSD.org | 8 | MAINTAINER= ryoon@NetBSD.org | |
9 | HOMEPAGE= https://rawtherapee.com/ | 9 | HOMEPAGE= https://rawtherapee.com/ | |
10 | COMMENT= Powerful cross-platform raw photo processing program | 10 | COMMENT= Powerful cross-platform raw photo processing program | |
11 | LICENSE= gnu-gpl-v3 | 11 | LICENSE= gnu-gpl-v3 | |
12 | 12 | |||
13 | USE_CMAKE= yes | 13 | USE_CMAKE= yes | |
14 | USE_LANGUAGES= c c++ | 14 | USE_LANGUAGES= c c++ | |
15 | USE_TOOLS+= pkg-config | 15 | USE_TOOLS+= pkg-config | |
16 | 16 | |||
17 | # for patch-CMakeLists.txt | |||
17 | CMAKE_ARGS+= -DPKGMANDIR=${PKGMANDIR} | 18 | CMAKE_ARGS+= -DPKGMANDIR=${PKGMANDIR} | |
18 | 19 | |||
19 | # ReleaseInfo.cmake must exist or it will try to use git(1) to regen it. | |||
20 | pre-configure: | |||
21 | touch ${WRKSRC}/ReleaseInfo.cmake | |||
22 | ||||
23 | .include "../../audio/libcanberra/buildlink3.mk" | 20 | .include "../../audio/libcanberra/buildlink3.mk" | |
24 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | 21 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | |
25 | .include "../../graphics/lcms2/buildlink3.mk" | 22 | .include "../../graphics/lcms2/buildlink3.mk" | |
26 | .include "../../graphics/lensfun/buildlink3.mk" | 23 | .include "../../graphics/lensfun/buildlink3.mk" | |
27 | .include "../../graphics/libiptcdata/buildlink3.mk" | 24 | .include "../../graphics/libiptcdata/buildlink3.mk" | |
28 | .include "../../graphics/librsvg/buildlink3.mk" | 25 | .include "../../graphics/librsvg/buildlink3.mk" | |
29 | .include "../../graphics/tiff/buildlink3.mk" | 26 | .include "../../graphics/tiff/buildlink3.mk" | |
30 | .include "../../math/fftw/buildlink3.mk" | 27 | .include "../../math/fftw/buildlink3.mk" | |
31 | .include "../../textproc/expat/buildlink3.mk" | 28 | .include "../../textproc/expat/buildlink3.mk" | |
32 | .include "../../x11/gtkmm3/buildlink3.mk" | 29 | .include "../../x11/gtkmm3/buildlink3.mk" | |
33 | .include "../../mk/jpeg.buildlink3.mk" | 30 | .include "../../mk/jpeg.buildlink3.mk" | |
34 | .include "../../mk/bsd.pkg.mk" | 31 | .include "../../mk/bsd.pkg.mk" |
@@ -1,16 +1,17 @@ | @@ -1,16 +1,17 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.4 2023/11/21 16:09:25 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.5 2023/11/21 16:26:36 wiz Exp $ | |
2 | bin/rawtherapee | 2 | bin/rawtherapee | |
3 | bin/rawtherapee-cli | 3 | bin/rawtherapee-cli | |
4 | man/man1/rawtherapee.1 | |||
4 | share/applications/rawtherapee.desktop | 5 | share/applications/rawtherapee.desktop | |
5 | share/doc/rawtherapee/AUTHORS.txt | 6 | share/doc/rawtherapee/AUTHORS.txt | |
6 | share/doc/rawtherapee/AboutThisBuild.txt | 7 | share/doc/rawtherapee/AboutThisBuild.txt | |
7 | share/doc/rawtherapee/LICENSE | 8 | share/doc/rawtherapee/LICENSE | |
8 | share/doc/rawtherapee/RELEASE_NOTES.txt | 9 | share/doc/rawtherapee/RELEASE_NOTES.txt | |
9 | share/icons/hicolor/128x128/apps/rawtherapee.png | 10 | share/icons/hicolor/128x128/apps/rawtherapee.png | |
10 | share/icons/hicolor/16x16/apps/rawtherapee.png | 11 | share/icons/hicolor/16x16/apps/rawtherapee.png | |
11 | share/icons/hicolor/24x24/apps/rawtherapee.png | 12 | share/icons/hicolor/24x24/apps/rawtherapee.png | |
12 | share/icons/hicolor/256x256/apps/rawtherapee.png | 13 | share/icons/hicolor/256x256/apps/rawtherapee.png | |
13 | share/icons/hicolor/32x32/apps/rawtherapee.png | 14 | share/icons/hicolor/32x32/apps/rawtherapee.png | |
14 | share/icons/hicolor/48x48/apps/rawtherapee.png | 15 | share/icons/hicolor/48x48/apps/rawtherapee.png | |
15 | share/icons/hicolor/64x64/apps/rawtherapee.png | 16 | share/icons/hicolor/64x64/apps/rawtherapee.png | |
16 | share/icons/hicolor/scalable/apps/rawtherapee.svg | 17 | share/icons/hicolor/scalable/apps/rawtherapee.svg | |
@@ -553,27 +554,26 @@ share/rawtherapee/languages/Italiano | @@ -553,27 +554,26 @@ share/rawtherapee/languages/Italiano | |||
553 | share/rawtherapee/languages/Japanese | 554 | share/rawtherapee/languages/Japanese | |
554 | share/rawtherapee/languages/LICENSE | 555 | share/rawtherapee/languages/LICENSE | |
555 | share/rawtherapee/languages/Magyar | 556 | share/rawtherapee/languages/Magyar | |
556 | share/rawtherapee/languages/Nederlands | 557 | share/rawtherapee/languages/Nederlands | |
557 | share/rawtherapee/languages/Polish | 558 | share/rawtherapee/languages/Polish | |
558 | share/rawtherapee/languages/Portugues | 559 | share/rawtherapee/languages/Portugues | |
559 | share/rawtherapee/languages/Portugues (Brasil) | 560 | share/rawtherapee/languages/Portugues (Brasil) | |
560 | share/rawtherapee/languages/README | 561 | share/rawtherapee/languages/README | |
561 | share/rawtherapee/languages/Russian | 562 | share/rawtherapee/languages/Russian | |
562 | share/rawtherapee/languages/Serbian (Cyrilic Characters) | 563 | share/rawtherapee/languages/Serbian (Cyrilic Characters) | |
563 | share/rawtherapee/languages/Slovenian | 564 | share/rawtherapee/languages/Slovenian | |
564 | share/rawtherapee/languages/Swedish | 565 | share/rawtherapee/languages/Swedish | |
565 | share/rawtherapee/languages/default | 566 | share/rawtherapee/languages/default | |
566 | share/rawtherapee/man/man1/rawtherapee.1 | |||
567 | share/rawtherapee/options | 567 | share/rawtherapee/options | |
568 | share/rawtherapee/profiles/Auto-Matched Curve - ISO High.pp3 | 568 | share/rawtherapee/profiles/Auto-Matched Curve - ISO High.pp3 | |
569 | share/rawtherapee/profiles/Auto-Matched Curve - ISO Low.pp3 | 569 | share/rawtherapee/profiles/Auto-Matched Curve - ISO Low.pp3 | |
570 | share/rawtherapee/profiles/Auto-Matched Curve - ISO Medium.pp3 | 570 | share/rawtherapee/profiles/Auto-Matched Curve - ISO Medium.pp3 | |
571 | share/rawtherapee/profiles/Film Negative - Black and White.pp3 | 571 | share/rawtherapee/profiles/Film Negative - Black and White.pp3 | |
572 | share/rawtherapee/profiles/Film Negative.pp3 | 572 | share/rawtherapee/profiles/Film Negative.pp3 | |
573 | share/rawtherapee/profiles/Non-raw/Brighten.pp3 | 573 | share/rawtherapee/profiles/Non-raw/Brighten.pp3 | |
574 | share/rawtherapee/profiles/Pixel Shift/PS ISO High.pp3 | 574 | share/rawtherapee/profiles/Pixel Shift/PS ISO High.pp3 | |
575 | share/rawtherapee/profiles/Pixel Shift/PS ISO Low.pp3 | 575 | share/rawtherapee/profiles/Pixel Shift/PS ISO Low.pp3 | |
576 | share/rawtherapee/profiles/Pixel Shift/PS ISO Medium.pp3 | 576 | share/rawtherapee/profiles/Pixel Shift/PS ISO Medium.pp3 | |
577 | share/rawtherapee/profiles/Pixel Shift/PS No Motion.pp3 | 577 | share/rawtherapee/profiles/Pixel Shift/PS No Motion.pp3 | |
578 | share/rawtherapee/profiles/Pop/Pop 1.pp3 | 578 | share/rawtherapee/profiles/Pop/Pop 1.pp3 | |
579 | share/rawtherapee/profiles/Pop/Pop 2 Lab.pp3 | 579 | share/rawtherapee/profiles/Pop/Pop 2 Lab.pp3 |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.7 2023/11/21 16:09:25 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.8 2023/11/21 16:26:36 wiz Exp $ | |
2 | 2 | |||
3 | BLAKE2s (rawtherapee-5.9.tar.xz) = 7c1c20e6504d34752b70f597df97b37eb1be68803528eb3e00343d58fa3ff692 | 3 | BLAKE2s (rawtherapee-5.9.tar.xz) = 7c1c20e6504d34752b70f597df97b37eb1be68803528eb3e00343d58fa3ff692 | |
4 | SHA512 (rawtherapee-5.9.tar.xz) = 0d848a36293eb5cac3212910eaf1d011315269c6bbe780c4c2e5f91719721e25a7d1678a7e4453fa4a9694618978b04828612dc03e1d50cb9c11ad4d238e7ca8 | 4 | SHA512 (rawtherapee-5.9.tar.xz) = 0d848a36293eb5cac3212910eaf1d011315269c6bbe780c4c2e5f91719721e25a7d1678a7e4453fa4a9694618978b04828612dc03e1d50cb9c11ad4d238e7ca8 | |
5 | Size (rawtherapee-5.9.tar.xz) = 16219076 bytes | 5 | Size (rawtherapee-5.9.tar.xz) = 16219076 bytes | |
6 | SHA1 (patch-CMakeLists.txt) = fcbfca37cbf5c1952aea44376a5d5e8a556acc87 | 6 | SHA1 (patch-CMakeLists.txt) = f96c3edf8dd61f595f4e447dfb8c843ab132bcd6 | |
7 | SHA1 (patch-rtgui_CMakeLists.txt) = 563c3fa1efcbe9767fbecbd8c866fa7362dd3e8b | 7 | SHA1 (patch-rtgui_CMakeLists.txt) = 563c3fa1efcbe9767fbecbd8c866fa7362dd3e8b |
@@ -1,26 +1,15 @@ | @@ -1,26 +1,15 @@ | |||
1 | $NetBSD: patch-CMakeLists.txt,v 1.2 2023/11/21 16:09:25 wiz Exp $ | 1 | $NetBSD: patch-CMakeLists.txt,v 1.3 2023/11/21 16:26:36 wiz Exp $ | |
2 | 2 | |||
3 | Adapt man path. | 3 | Fix man page installation path. | |
4 | 4 | |||
5 | --- CMakeLists.txt.orig 2022-11-27 18:04:23.000000000 +0000 | 5 | --- CMakeLists.txt.orig 2023-11-21 16:16:22.166786047 +0000 | |
6 | +++ CMakeLists.txt | 6 | +++ CMakeLists.txt | |
7 | @@ -757,18 +757,8 @@ install( | 7 | @@ -767,7 +767,7 @@ if(BUILD_BUNDLE) | |
8 | 8 | endif() | ||
9 | # The standard location for man pages in Linux is /usr/share/man Use "manpath" | 9 | else() | |
10 | # to see the search paths for man pages on your system. | 10 | install(FILES "${PROJECT_SOURCE_DIR}/doc/manpage/rawtherapee.1" | |
11 | -if(BUILD_BUNDLE) | |||
12 | - if(APPLE) | |||
13 | - install(FILES "${PROJECT_SOURCE_DIR}/doc/manpage/rawtherapee.1" | |||
14 | +install(FILES "${PROJECT_SOURCE_DIR}/doc/manpage/rawtherapee.1" | |||
15 | DESTINATION "${DATADIR}/man/man1") | |||
16 | - else() | |||
17 | - install(FILES "${PROJECT_SOURCE_DIR}/doc/manpage/rawtherapee.1" | |||
18 | - DESTINATION "${DATADIR}/share/man/man1") | |||
19 | - endif() | |||
20 | -else() | |||
21 | - install(FILES "${PROJECT_SOURCE_DIR}/doc/manpage/rawtherapee.1" | |||
22 | - DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man1") | 11 | - DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man1") | |
23 | -endif() | 12 | + DESTINATION "${CMAKE_INSTALL_PREFIX}/${PKGMANDIR}/man1") | |
13 | endif() | |||
24 | 14 | |||
25 | if(WIN32) | 15 | if(WIN32) | |
26 | install(DIRECTORY "licenses" DESTINATION "${LICENCEDIR}") |