Aurelien Larcher
2020-06-05 1418b76f4f4a4d79c466f9d9a4c4cce671f8fc34
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 #
c538e2 24 include ../../../make-rules/shared-macros.mk
728dae 25
SG-SM-BI 26 COMPONENT_NAME=         gnu-gs-fonts-other
27 COMPONENT_VERSION=      6.0
60e6e0 28 COMPONENT_PROJECT_URL=    http://sourceforge.net/projects/gs-fonts/
728dae 29 COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_VERSION)
SG-SM-BI 30 COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
35e110 31 COMPONENT_ARCHIVE_HASH= \
MS 32     sha256:8146cccc4699fe9dab841446bdd17039f4769c903eceb54409188b920754aab3
5cbedb 33 COMPONENT_ARCHIVE_URL=  $(COMPONENT_PROJECT_URL)files/gs-fonts/6.0%20%28misc%2C%20GPL%29/$(COMPONENT_ARCHIVE)/download
3b89c9 34 COMPONENT_BUGDB=    utility/ghostscript
728dae 35
SG-SM-BI 36 # set relocate_to option while unpacking the tar ball
37 UNPACK_ARGS= -r $(COMPONENT_SRC)
38
39 PROTOGSSHAREDIR=$(PROTOUSRSHAREDIR)/ghostscript
40
c538e2 41 include $(WS_TOP)/make-rules/prep.mk
AP 42 include $(WS_TOP)/make-rules/ips.mk
728dae 43
SG-SM-BI 44 # untar the tar ball and apply the patches
45 build:        $(SOURCE_DIR)/.prep
46
47 install: build
48     $(MKDIR) $(PROTO_DIR)
49     $(MKDIR) -m 755 -p $(PROTOGSSHAREDIR)
50     $(CP) -r $(SOURCE_DIR)/* $(PROTOGSSHAREDIR)
51
4158c0 52 test:    $(NO_TESTS)
728dae 53
767eaf 54 clean::
NJ 55     $(RM) -r $(BUILD_DIR)