Fixed download URLs
[unleashed-userland.git] / components / gnu-gs-fonts-std / Makefile
blobade6f0999411c3fa13097c6ddd027111769caf20
3 # CDDL HEADER START
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.
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.
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]
20 # CDDL HEADER END
22 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
24 include ../../make-rules/shared-macros.mk
26 COMPONENT_NAME= gnu-gs-fonts-std
27 COMPONENT_VERSION= 6.0
28 COMPONENT_PROJECT_URL= http://sourceforge.net/projects/gs-fonts/
29 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
30 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
31 COMPONENT_ARCHIVE_HASH= \
32 sha256:4cef38d05aa958dfee4dabb8d1599b8ad2b2347413b7895c94d8882c8a0fb9d3
33 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)files/gs-fonts/6.0%20%28base%2035%2C%20GPL%29/$(COMPONENT_ARCHIVE)/download
34 COMPONENT_BUGDB= utility/ghostscript
36 # set relocate_to option while unpacking the tar ball
37 UNPACK_ARGS= -r $(COMPONENT_SRC)
39 PROTOGSSHAREDIR=$(PROTOUSRSHAREDIR)/ghostscript
41 include ../../make-rules/prep.mk
42 include ../../make-rules/ips.mk
44 # untar the tar ball and apply the patches
45 build: $(SOURCE_DIR)/.prep
47 install: build
48 $(MKDIR) $(PROTO_DIR)
49 $(MKDIR) -m 755 -p $(PROTOGSSHAREDIR)
50 $(CP) -r $(SOURCE_DIR)/* $(PROTOGSSHAREDIR)
52 test: $(NO_TESTS)
54 clean::
55 $(RM) -r $(BUILD_DIR)
57 include ../../make-rules/depend.mk