head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.2 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.1.0.2 pkgsrc-2025Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2026.03.18.09.39.06; author nia; state Exp; branches; next 1.1; commitid SBKiAD691nGoiryG; 1.1 date 2025.10.17.08.08.32; author wiz; state Exp; branches; next ; commitid dYWq3B6IS4SgGTeG; desc @@ 1.2 log @apngasm: Honour PKGMANDIR. @ text @$NetBSD: patch-cli_CMakeLists.txt,v 1.1 2025/10/17 08:08:32 wiz Exp $ boost 1.89 made system header-only. Honour PKGMANDIR. --- cli/CMakeLists.txt.orig 2021-11-26 06:44:20.000000000 +0000 +++ cli/CMakeLists.txt @@@@ -34,7 +34,7 @@@@ endif () if (APPLE OR WIN32) set(Boost_USE_STATIC_LIBS ON) endif () -find_package(Boost REQUIRED COMPONENTS program_options regex system) +find_package(Boost REQUIRED COMPONENTS program_options regex) include_directories(${Boost_INCLUDE_DIRS}) # Generate executable @@@@ -76,6 +76,8 @@@@ endif () include(${PROJECT_BINARY_DIR}/../lib/manifest.txt) configure_file(${PROJECT_SOURCE_DIR}/package/CMakeLists.txt.in ${PACKAGE_DIR}/CMakeLists.txt @@ONLY) +include(GNUInstallDirs) + if (UNIX OR APPLE OR MINGW) add_custom_target( package-cli @@@@ -83,5 +85,5 @@@@ if (UNIX OR APPLE OR MINGW) COMMAND ${CMAKE_MAKE_PROGRAM} package WORKING_DIRECTORY ${PACKAGE_DIR} ) - install(FILES ${PROJECT_SOURCE_DIR}/../docs/man/apngasm.1 DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1) + install(FILES ${PROJECT_SOURCE_DIR}/../docs/man/apngasm.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) endif () @ 1.1 log @apngasm: fix build with boost 1.89 @ text @d1 1 a1 1 $NetBSD$ d5 3 a7 1 --- cli/CMakeLists.txt.orig 2025-10-17 08:06:16.222044715 +0000 d18 16 @