# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 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 2024 Marcel Telka # BUILD_STYLE = archive include ../../../make-rules/shared-macros.mk COMPONENT_NAME= unicode-ucd-unihan COMPONENT_VERSION= 16.0.0 COMPONENT_SUMMARY= Unicode Han Database COMPONENT_PROJECT_URL= https://www.unicode.org/ucd/ COMPONENT_FMRI= data/unicode-ucd-unihan COMPONENT_CLASSIFICATION= System/Text Tools COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= Unihan.zip COMPONENT_ARCHIVE_URL= https://www.unicode.org/Public/zipped/$(HUMAN_VERSION)/$(COMPONENT_ARCHIVE) COMPONENT_ARCHIVE_HASH= sha256:b8f000df69de7828d21326a2ffea462b04bc7560022989f7cc704f10521ef3e0 COMPONENT_LICENSE= Unicode-3.0 BUILD_TARGET = $(BUILD_DIR)/.built INSTALL_TARGET = $(BUILD_DIR)/.installed TEST_TARGET = $(NO_TESTS) include $(WS_MAKE_RULES)/common.mk # Hack to avoid the zip file unpacking UNPACK = $(MKDIR) $(SOURCE_DIR) ; $(CP) UNPACK_ARGS := $(USERLAND_ARCHIVES)$(COMPONENT_ARCHIVE) $(SOURCE_DIR) USERLAND_ARCHIVES = \# CLEAN_PATHS += $(BUILD_DIR) CLEAN_PATHS += $(PROTO_DIR) $(BUILD_DIR)/.built: $(SOURCE_DIR)/.prep $(MKDIR) $(BUILD_DIR) $(TOUCH) $@ $(BUILD_DIR)/.installed: $(BUILD_DIR)/.built $(MKDIR) $(PROTOUSRSHAREDIR)/unicode/ucd $(CP) -a $(SOURCE_DIR)/$(COMPONENT_ARCHIVE) $(PROTOUSRSHAREDIR)/unicode/ucd $(TOUCH) $@ # Auto-generated dependencies