Andreas Wacknitz
2024-03-31 783118944874d559e30eea1600352e3feb5263a7
commit | author | age
cb1d64 1 #
R 2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
5 #
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
9 #
10
11 #
12 # Copyright 2017, Longrin Wischnewski.
b0834e 13 # Copyright 2019, Michal Nowak
01bc4b 14 # Copyright 2021, Nona Hansel
105e51 15 # Copyright 2022 Niklas Poslovski
cb1d64 16 #
de4e95 17
8cbcc0 18 BUILD_BITS= 64
AW 19 BUILD_STYLE= cmake
0941fa 20 USE_PARALLEL_BUILD= yes
c3d791 21 USE_DEFAULT_TEST_TRANSFORMS= yes
cb1d64 22 include ../../../make-rules/shared-macros.mk
R 23
c3a1d7 24 COMPONENT_NAME=        fish
0941fa 25 COMPONENT_VERSION=    3.7.1
8cbcc0 26 COMPONENT_SUMMARY=    Fish is a smart and user-friendly command line shell
cb1d64 27 COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
c3a1d7 28 COMPONENT_PROJECT_URL=    https://fishshell.com
01bc4b 29 COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.xz
0941fa 30 COMPONENT_ARCHIVE_HASH=    sha256:614c9f5643cd0799df391395fa6bbc3649427bb839722ce3b114d3bbc1a3b250
64f4fd 31 COMPONENT_ARCHIVE_URL=    https://github.com/fish-shell/fish-shell/releases/download/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
c3a1d7 32 COMPONENT_FMRI=        shell/fish
64f4fd 33 COMPONENT_CLASSIFICATION=    System/Shells
8cbcc0 34 COMPONENT_LICENSE=    GPLv2
cb1d64 35
0469b0 36 include $(WS_MAKE_RULES)/common.mk
8cbcc0 37 PATH= $(PATH.gnu)
cb1d64 38
c3a1d7 39 CMAKE_OPTIONS += -DCMAKE_INSTALL_SYSCONFDIR="/etc"
8cbcc0 40 CMAKE_OPTIONS += -DSYS_PCRE2_INCLUDE_DIR=/usr/include/pcre
AW 41 CMAKE_OPTIONS += -DFISH_USE_SYSTEM_PCRE2=ON
42 CMAKE_OPTIONS += -DWITH_GETTEXT=ON
cb1d64 43
c3d791 44 COMPONENT_TEST_ENV += LC_ALL=C.UTF-8
64f4fd 45 COMPONENT_TEST_CMD= gmake
AW 46 COMPONENT_TEST_TARGETS= test
c3a1d7 47
8cbcc0 48 # Manually added dependencies (for tests)
AW 49 PYTHON_REQUIRED_PACKAGES += library/python/pexpect
9bb44e 50
c3a1d7 51 # Auto-generated dependencies
f5010f 52 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
8cbcc0 53 REQUIRED_PACKAGES += library/pcre2
01bc4b 54 REQUIRED_PACKAGES += system/library
c3a1d7 55 REQUIRED_PACKAGES += system/library/math