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.
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.
12 # Copyright 2017, Longrin Wischnewski.
13 # Copyright 2019, Michal Nowak
14 # Copyright 2021, Nona Hansel
15 # Copyright 2022 Niklas Poslovski
20 USE_PARALLEL_BUILD
= yes
21 USE_DEFAULT_TEST_TRANSFORMS
= yes
22 include ..
/..
/..
/make-rules
/shared-macros.mk
25 COMPONENT_VERSION
= 3.7.1
26 COMPONENT_SUMMARY
= Fish is a smart and user-friendly command line
shell
27 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
28 COMPONENT_PROJECT_URL
= https
://fishshell.com
29 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
30 COMPONENT_ARCHIVE_HASH
= sha256
:614c9f5643cd0799df391395fa6bbc3649427bb839722ce3b114d3bbc1a3b250
31 COMPONENT_ARCHIVE_URL
= https
://github.com
/fish-shell
/fish-shell
/releases
/download
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
32 COMPONENT_FMRI
= shell/fish
33 COMPONENT_CLASSIFICATION
= System
/Shells
34 COMPONENT_LICENSE
= GPLv2
36 include $(WS_MAKE_RULES
)/common.mk
39 CMAKE_OPTIONS
+= -DCMAKE_INSTALL_SYSCONFDIR
="/etc"
40 CMAKE_OPTIONS
+= -DSYS_PCRE2_INCLUDE_DIR
=/usr
/include/pcre
41 CMAKE_OPTIONS
+= -DFISH_USE_SYSTEM_PCRE2
=ON
42 CMAKE_OPTIONS
+= -DWITH_GETTEXT
=ON
44 COMPONENT_TEST_ENV
+= LC_ALL
=C.UTF-8
45 COMPONENT_TEST_CMD
= gmake
46 COMPONENT_TEST_TARGETS
= test
48 # Manually added dependencies (for tests)
49 PYTHON_REQUIRED_PACKAGES
+= library
/python
/pexpect
51 # Auto-generated dependencies
52 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
53 REQUIRED_PACKAGES
+= library
/pcre2
54 REQUIRED_PACKAGES
+= system
/library
55 REQUIRED_PACKAGES
+= system
/library
/math