head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.12 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.10 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.8 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.6 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.4 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.2 pkgsrc-2024Q4-base:1.1; locks; strict; comment @# @; 1.1 date 2024.12.18.12.31.30; author nia; state Exp; branches; next ; commitid QxW46RJkv8UFRYBF; desc @@ 1.1 log @vym: Fix portability of man page installation. This package actually honours PKGMANDIR and uses CMAKE_INSTALL_MANDIR in the upstream code, but this was negated in several SUBSTs that were inserted into the package Makefile, resulting in installation failing on anything where PKGMANDIR isn't "man" (most things other than NetBSD use "share/man"). Remove the SUBSTs and fix installation in another way. See the pkgsrc guide for information on how MANCOMPRESSED can handle .gz man pages automatically. @ text @$NetBSD$ Install man page to proper directory. --- CMakeLists.txt.orig 2024-12-18 12:17:33.482709233 +0000 +++ CMakeLists.txt @@@@ -161,7 +161,7 @@@@ add_dependencies(vym make-translations-d install(DIRECTORY demos DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}) install(DIRECTORY doc DESTINATION ${CMAKE_INSTALL_DOCDIR} FILES_MATCHING PATTERN "*.pdf") -install(FILES doc/vym.1.gz DESTINATION ${CMAKE_INSTALL_MANDIR}) +install(FILES doc/vym.1.gz DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) install(FILES README.md LICENSE.txt DESTINATION ${CMAKE_INSTALL_DOCDIR}) install(DIRECTORY exports flags icons macros ${CMAKE_BINARY_DIR}/translations scripts styles DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}) @