Andreas Wacknitz
2024-03-31 783118944874d559e30eea1600352e3feb5263a7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"). You may
# only use this file in accordance with the terms of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
 
#
# Copyright 2016 Adam Stevko
# Copyright 2018 Michal Nowak
# Copyright 2020 Andreas Wacknitz
#
 
BUILD_STYLE= justmake
include ../../../make-rules/shared-macros.mk
 
COMPONENT_NAME=        zsh-syntax-highlighting
COMPONENT_VERSION=    0.8.0
COMPONENT_SUMMARY=    Fish shell like syntax highlighting for Zsh
COMPONENT_PROJECT_URL=    https://github.com/zsh-users/zsh-syntax-highlighting
COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=    $(COMPONENT_VERSION).tar.gz
COMPONENT_ARCHIVE_URL=    $(COMPONENT_PROJECT_URL)/archive/$(COMPONENT_ARCHIVE)
COMPONENT_ARCHIVE_HASH= sha256:5981c19ebaab027e356fe1ee5284f7a021b89d4405cc53dc84b476c3aee9cc32
COMPONENT_FMRI=        utility/$(COMPONENT_NAME)
COMPONENT_CLASSIFICATION= System/Shells
COMPONENT_LICENSE=    Various
COMPONENT_LICENSE_FILE=    COPYING.md
 
include $(WS_MAKE_RULES)/common.mk
 
COMPONENT_INSTALL_ENV += PREFIX=$(USRDIR)
 
COMPONENT_TEST_TARGETS= test
 
COMPONENT_TEST_TRANSFORMS= \
    '-ne "/^ok/p" ' \
    '-ne "/^not ok/p" '
 
# Auto-generated dependencies
REQUIRED_PACKAGES += shell/zsh