Andreas Wacknitz
2023-07-06 9adec8ae66becb97518ed11882dd8f385b5b06c6
commit | author | age
728dae 1 #
SG-SM-BI 2 #
3 # CDDL HEADER START
4 #
5 # The contents of this file are subject to the terms of the
6 # Common Development and Distribution License (the "License").
7 # You may not use this file except in compliance with the License.
8 #
9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 # or http://www.opensolaris.org/os/licensing.
11 # See the License for the specific language governing permissions
12 # and limitations under the License.
13 #
14 # When distributing Covered Code, include this CDDL HEADER in each
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 # If applicable, add the following below this CDDL HEADER, with the
17 # fields enclosed by brackets "[]" replaced with your own identifying
18 # information: Portions Copyright [yyyy] [name of copyright owner]
19 #
20 # CDDL HEADER END
21 #
35e110 22 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
728dae 23 #
9adec8 24 BUILD_BITS= NO_ARCH
AW 25 BUILD_STYLE= archive
c538e2 26 include ../../../make-rules/shared-macros.mk
728dae 27
SG-SM-BI 28 COMPONENT_NAME=         gnu-gs-fonts-other
29 COMPONENT_VERSION=      6.0
9adec8 30 COMPONENT_REVISION=        1
AW 31 COMPONENT_SUMMARY=        GNU Ghostscript Fonts (Other)
32 COMPONENT_PROJECT_URL=    https://sourceforge.net/projects/gs-fonts/
728dae 33 COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_VERSION)
SG-SM-BI 34 COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
9adec8 35 COMPONENT_ARCHIVE_HASH= sha256:8146cccc4699fe9dab841446bdd17039f4769c903eceb54409188b920754aab3
5cbedb 36 COMPONENT_ARCHIVE_URL=  $(COMPONENT_PROJECT_URL)files/gs-fonts/6.0%20%28misc%2C%20GPL%29/$(COMPONENT_ARCHIVE)/download
9adec8 37 COMPONENT_FMRI=            print/filter/ghostscript/fonts/gnu-gs-fonts-other
AW 38 COMPONENT_CLASSIFICATION=    System/Printing
39 COMPONENT_LICENSE=        GPLv2
728dae 40
SG-SM-BI 41 # set relocate_to option while unpacking the tar ball
42 UNPACK_ARGS= -r $(COMPONENT_SRC)
43
9adec8 44 PROTOGSSHAREDIR= $(PROTOUSRSHAREDIR)/ghostscript
728dae 45
9adec8 46 TEST_TARGET= $(NO_TESTS)
AW 47 include $(WS_MAKE_RULES)/common.mk
728dae 48
SG-SM-BI 49 # untar the tar ball and apply the patches
50 build:        $(SOURCE_DIR)/.prep
51
52 install: build
53     $(MKDIR) $(PROTO_DIR)
54     $(MKDIR) -m 755 -p $(PROTOGSSHAREDIR)
55     $(CP) -r $(SOURCE_DIR)/* $(PROTOGSSHAREDIR)
56
767eaf 57 clean::
NJ 58     $(RM) -r $(BUILD_DIR)
9adec8 59