head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2025.12.13.17.48.57; author vins; state dead; branches; next 1.1; commitid KBiRx6dK9OiC3hmG; 1.1 date 2025.11.02.18.44.07; author vins; state Exp; branches; next ; commitid WQuSNvPNHmhRE0hG; desc @@ 1.2 log @shells/fish4: remove (merged in shells/fish) @ text @$NetBSD: patch-cmake_Install.cmake,v 1.1 2025/11/02 18:44:07 vins Exp $ Use pkgsrc defaults. --- cmake/Install.cmake.orig 2025-11-01 23:44:37.984452608 +0000 +++ cmake/Install.cmake @@@@ -6,11 +6,14 @@@@ set(prefix ${CMAKE_INSTALL_PREFIX}) set(bindir ${CMAKE_INSTALL_BINDIR}) set(sysconfdir ${CMAKE_INSTALL_SYSCONFDIR}) set(mandir ${CMAKE_INSTALL_MANDIR}) +set(libdir ${CMAKE_INSTALL_LIBDIR}) + set(datadir ${CMAKE_INSTALL_FULL_DATADIR}) file(RELATIVE_PATH rel_datadir ${CMAKE_INSTALL_PREFIX} ${datadir}) set(docdir ${CMAKE_INSTALL_DOCDIR}) +set(egdir "${datadir}/examples") set(rel_completionsdir "fish/vendor_completions.d") set(rel_functionsdir "fish/vendor_functions.d") @@@@ -82,7 +85,7 @@@@ install(PROGRAMS ${PROGRAMS} fish_create_dirs(${sysconfdir}/fish/conf.d ${sysconfdir}/fish/completions ${sysconfdir}/fish/functions) -install(FILES etc/config.fish DESTINATION ${sysconfdir}/fish/) +install(FILES etc/config.fish DESTINATION ${egdir}/fish/) fish_create_dirs(${rel_datadir}/fish ${rel_datadir}/fish/completions ${rel_datadir}/fish/functions ${rel_datadir}/fish/groff @@@@ -102,7 +105,7 @@@@ install(FILES share/config.fish fish_create_dirs(${rel_datadir}/fish/vendor_completions.d ${rel_datadir}/fish/vendor_functions.d ${rel_datadir}/fish/vendor_conf.d) -fish_try_create_dirs(${rel_datadir}/pkgconfig) +fish_try_create_dirs(${libdir}/pkgconfig) configure_file(fish.pc.in fish.pc.noversion @@ONLY) add_custom_command(OUTPUT fish.pc @@@@ -115,7 +118,7 @@@@ add_custom_command(OUTPUT fish.pc add_custom_target(build_fish_pc ALL DEPENDS fish.pc) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/fish.pc - DESTINATION ${rel_datadir}/pkgconfig) + DESTINATION ${libdir}/pkgconfig) install(DIRECTORY share/completions/ DESTINATION ${rel_datadir}/fish/completions @ 1.1 log @shells/fish4: import fish 4.1.2 as shells/fish4 This package includes the new fish 4.x branch (rebuilt in Rust). fish is a smart and user friendly command line shell for UNIX-like operating systems, written mainly with interactive use in mind. fish includes features like syntax highlighting, autosuggest-as-you-type, and fancy tab completions that just work, with no configuration required. @ text @d1 1 a1 1 $NetBSD$ @