components/gnu-gs-fonts-std/Makefile
changeset 86 fbacc6fc0fea
child 88 892ec2c1d36f
equal deleted inserted replaced
85:8098282b503b 86:fbacc6fc0fea
       
     1 #
       
     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 #
       
    22 # Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
       
    23 #
       
    24 include ../../make-rules/shared-macros.mk
       
    25 
       
    26 COMPONENT_NAME=         gnu-gs-fonts-std
       
    27 COMPONENT_VERSION=      6.0
       
    28 COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_VERSION)
       
    29 COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
       
    30 COMPONENT_ARCHIVE_HASH= sha1:cdad2f3752c513fe1cfb0eeaf6661753e2cc182c
       
    31 COMPONENT_ARCHIVE_URL=  http://softlayer.dl.sourceforge.net/sourceforge/gs-fonts/$(COMPONENT_ARCHIVE)
       
    32 
       
    33 # set relocate_to option while unpacking the tar ball
       
    34 UNPACK_ARGS= -r $(COMPONENT_SRC)
       
    35 
       
    36 PROTOGSSHAREDIR=$(PROTOUSRSHAREDIR)/ghostscript
       
    37 
       
    38 include ../../make-rules/prep.mk
       
    39 include ../../make-rules/ips.mk
       
    40 
       
    41 # untar the tar ball and apply the patches
       
    42 build:  $(SOURCE_DIR)/.prep
       
    43 
       
    44 install: build
       
    45 	$(MKDIR) $(PROTO_DIR)
       
    46 	$(MKDIR) -m 755 -p $(PROTOGSSHAREDIR)
       
    47 	$(CP) -r $(SOURCE_DIR)/* $(PROTOGSSHAREDIR)
       
    48 
       
    49 # empty test target
       
    50 test:
       
    51 
       
    52 include ../../make-rules/depend.mk