Makefile revision 88
c8d185ad5827bf2cf9982075e3336f680759a260Andreas Gustafsson#
c8d185ad5827bf2cf9982075e3336f680759a260Andreas Gustafsson#
c8d185ad5827bf2cf9982075e3336f680759a260Andreas Gustafsson# CDDL HEADER START
40c1177517ca5312371da6cc697d813576cfe5a8Andreas Gustafsson#
c8d185ad5827bf2cf9982075e3336f680759a260Andreas Gustafsson# The contents of this file are subject to the terms of the
22cafd0ece9c8d22a1218f000afdbceda21fe8afBrian Wellington# Common Development and Distribution License (the "License").
22cafd0ece9c8d22a1218f000afdbceda21fe8afBrian Wellington# You may not use this file except in compliance with the License.
2cb74c5bc52ef415a771fafe0bf504eab609feadBrian Wellington#
2cb74c5bc52ef415a771fafe0bf504eab609feadBrian Wellington# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3d60fe9bafbf633e3a7811c11227baebb17878a4Brian Wellington# or http://www.opensolaris.org/os/licensing.
3d60fe9bafbf633e3a7811c11227baebb17878a4Brian Wellington# See the License for the specific language governing permissions
218c8472e6c8c1a014e412615cc97bb93c0ef9c2Brian Wellington# and limitations under the License.
218c8472e6c8c1a014e412615cc97bb93c0ef9c2Brian Wellington#
218c8472e6c8c1a014e412615cc97bb93c0ef9c2Brian Wellington# When distributing Covered Code, include this CDDL HEADER in each
218c8472e6c8c1a014e412615cc97bb93c0ef9c2Brian Wellington# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f24c135e09214c3843a49fd32ebef2f6a436ba8eBrian Wellington# If applicable, add the following below this CDDL HEADER, with the
f24c135e09214c3843a49fd32ebef2f6a436ba8eBrian Wellington# fields enclosed by brackets "[]" replaced with your own identifying
d77312050f1fb1d41b450d4fe6908ea155264d08Brian Wellington# information: Portions Copyright [yyyy] [name of copyright owner]
f24c135e09214c3843a49fd32ebef2f6a436ba8eBrian Wellington#
4b9f0fd0791cb9cb31087789a03fa3a28dd4b583Andreas Gustafsson# CDDL HEADER END
02940eaf0f732c28c0b39ed114a3803074a80138Andreas Gustafsson#
02940eaf0f732c28c0b39ed114a3803074a80138Andreas Gustafsson# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
02940eaf0f732c28c0b39ed114a3803074a80138Andreas Gustafsson#
dc1453b15d6656cd0661d5bec56359efa649268dAndreas Gustafssoninclude ../../make-rules/shared-macros.mk
9a7d163f6f305d48771b4c56d8d18efc6dfc8fc3Mark Andrews
80aba3d49a872ca11d7cf8550c3a993162e7939fMark AndrewsCOMPONENT_NAME= gnu-gs-fonts-std
31039b15173fb3e375269991920e4843f664457eMark AndrewsCOMPONENT_VERSION= 6.0
31039b15173fb3e375269991920e4843f664457eMark AndrewsCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
aa23a35d81a9618a40c4a9b44be48009553e4777Andreas GustafssonCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
aa23a35d81a9618a40c4a9b44be48009553e4777Andreas GustafssonCOMPONENT_ARCHIVE_HASH= sha1:cdad2f3752c513fe1cfb0eeaf6661753e2cc182c
936af16e0dbac26c1ec2337e684ff6ca9b2fe1bbAndreas GustafssonCOMPONENT_ARCHIVE_URL= http://softlayer.dl.sourceforge.net/sourceforge/gs-fonts/$(COMPONENT_ARCHIVE)
aa23a35d81a9618a40c4a9b44be48009553e4777Andreas Gustafsson
22457624d3e63e7cd255b4083cb435c16caea26dBob Halley# set relocate_to option while unpacking the tar ball
22457624d3e63e7cd255b4083cb435c16caea26dBob HalleyUNPACK_ARGS= -r $(COMPONENT_SRC)
019fefd77d7e77f3c841808ab604f8ce31679d2dBrian Wellington
f765672e93eb863ae86571b4a46c9d0b33264976Mark AndrewsPROTOGSSHAREDIR=$(PROTOUSRSHAREDIR)/ghostscript
91425b5e7204b05165e2c5b244f3dad502f9627dBrian Wellington
91425b5e7204b05165e2c5b244f3dad502f9627dBrian Wellingtoninclude ../../make-rules/prep.mk
91425b5e7204b05165e2c5b244f3dad502f9627dBrian Wellingtoninclude ../../make-rules/ips.mk
91425b5e7204b05165e2c5b244f3dad502f9627dBrian Wellington
b18a5b6730dcb062cf7f47c6b3cb909030b58f36Brian Wellington# untar the tar ball and apply the patches
b18a5b6730dcb062cf7f47c6b3cb909030b58f36Brian Wellingtonbuild: $(SOURCE_DIR)/.prep
e880677f633f726b7df11ba3e59d4406e22256aaMark Andrews
e880677f633f726b7df11ba3e59d4406e22256aaMark Andrewsinstall: build
7e361074bc8a2df7a0891a7040eea02ca3a5e286Andreas Gustafsson $(MKDIR) $(PROTO_DIR)
328b080b4af258fdd4d3a2ea1558b48706bd8116Andreas Gustafsson $(MKDIR) -m 755 -p $(PROTOGSSHAREDIR)
328b080b4af258fdd4d3a2ea1558b48706bd8116Andreas Gustafsson $(CP) -r $(SOURCE_DIR)/* $(PROTOGSSHAREDIR)
328b080b4af258fdd4d3a2ea1558b48706bd8116Andreas Gustafsson
328b080b4af258fdd4d3a2ea1558b48706bd8116Andreas Gustafsson# empty test target
328b080b4af258fdd4d3a2ea1558b48706bd8116Andreas Gustafssontest:
9e560b59a722d06a62b5aed761e71fec72638a7cBrian Wellington
9e560b59a722d06a62b5aed761e71fec72638a7cBrian Wellingtonclean::
f91dc72b422479b5a0caf1fe54c4054d25ae6055Brian Wellington $(RM) -r $(BUILD_DIR)
f91dc72b422479b5a0caf1fe54c4054d25ae6055Brian Wellington
7e361074bc8a2df7a0891a7040eea02ca3a5e286Andreas Gustafssoninclude ../../make-rules/depend.mk
7e361074bc8a2df7a0891a7040eea02ca3a5e286Andreas Gustafsson