2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2024 Marcel Telka
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= unicode-ucd-unihan
21 COMPONENT_VERSION
= 16.0.0
22 COMPONENT_SUMMARY
= Unicode Han Database
23 COMPONENT_PROJECT_URL
= https
://www.unicode.org
/ucd
/
24 COMPONENT_FMRI
= data
/unicode-ucd-unihan
25 COMPONENT_CLASSIFICATION
= System
/Text Tools
26 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
27 COMPONENT_ARCHIVE
= Unihan.zip
28 COMPONENT_ARCHIVE_URL
= https
://www.unicode.org
/Public
/zipped
/$(HUMAN_VERSION
)/$(COMPONENT_ARCHIVE
)
29 COMPONENT_ARCHIVE_HASH
= sha256
:b8f000df69de7828d21326a2ffea462b04bc7560022989f7cc704f10521ef3e0
30 COMPONENT_LICENSE
= Unicode-3.0
32 BUILD_TARGET
= $(BUILD_DIR
)/.built
33 INSTALL_TARGET
= $(BUILD_DIR
)/.installed
34 TEST_TARGET
= $(NO_TESTS
)
36 include $(WS_MAKE_RULES
)/common.mk
38 # Hack to avoid the zip file unpacking
39 UNPACK
= $(MKDIR
) $(SOURCE_DIR
) ; $(CP
)
40 UNPACK_ARGS
:= $(USERLAND_ARCHIVES
)$(COMPONENT_ARCHIVE
) $(SOURCE_DIR
)
41 USERLAND_ARCHIVES
= \
#
43 CLEAN_PATHS
+= $(BUILD_DIR
)
44 CLEAN_PATHS
+= $(PROTO_DIR
)
46 $(BUILD_DIR
)/.built
: $(SOURCE_DIR
)/.prep
50 $(BUILD_DIR
)/.installed
: $(BUILD_DIR
)/.built
51 $(MKDIR
) $(PROTOUSRSHAREDIR
)/unicode
/ucd
52 $(CP
) -a
$(SOURCE_DIR
)/$(COMPONENT_ARCHIVE
) $(PROTOUSRSHAREDIR
)/unicode
/ucd
55 # Auto-generated dependencies