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 (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
14 # Copyright 2016 Aurelien Larcher
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= arphic-uming
21 COMPONENT_VERSION
= 0.2.20080216.1
22 # Version was bumped at OI /dev times
23 IPS_COMPONENT_VERSION
= 0.5.11
25 COMPONENT_SUMMARY
= CJK Unicode TrueType font Ming style
26 COMPONENT_PROJECT_URL
= https
://www.freedesktop.org
/wiki
/Software
/CJKUnifonts
27 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
28 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
29 COMPONENT_ARCHIVE_URL
= \
30 http
://archive.debian.org
/debian
/pool
/main
/t
/ttf-
$(COMPONENT_NAME
)/ttf-
$(COMPONENT_NAME
)_
$(COMPONENT_VERSION
).orig.
tar.gz
31 COMPONENT_ARCHIVE_HASH
= \
32 sha256
:8038a6db9e832456d5da5559aff8d15130243be1091bf24f3243503a6f1bda98
33 # Archive does not contain any top directory
34 UNPACK_ARGS
= -r
$(COMPONENT_SRC
)
35 COMPONENT_LICENSE
= ARPHIC PUBLIC LICENSE
39 include $(WS_MAKE_RULES
)/font.mk
41 COMPONENT_FONT_SRC_DIR
=
42 COMPONENT_FONT_FILES
+= fonts.alias
43 COMPONENT_FONT_FILES
+= uming.ttc
44 COMPONENT_FONTCONF_SRC_DIR
=
46 # Copy content of provided fonts.alias
47 COMPONENT_POST_BUILD_ACTION
= \
48 ( cat
$(COMPONENT_DIR
)/fonts.alias
> $(@D
)/fonts.alias
)