components/gnu-gs-fonts-std/Makefile
author sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
Mon, 14 Feb 2011 11:28:56 -0800
changeset 86 fbacc6fc0fea
child 88 892ec2c1d36f
permissions -rw-r--r--
7014471 move gnu-gs-fonts-other to userland 7014472 move gnu-gs-fonts-std to userland
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
86
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
     1
#
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
     2
#
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
     3
# CDDL HEADER START
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
     4
#
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
     5
# The contents of this file are subject to the terms of the
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
     6
# Common Development and Distribution License (the "License").
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
     7
# You may not use this file except in compliance with the License.
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
     8
#
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
     9
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    10
# or http://www.opensolaris.org/os/licensing.
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    11
# See the License for the specific language governing permissions
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    12
# and limitations under the License.
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    13
#
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    14
# When distributing Covered Code, include this CDDL HEADER in each
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    15
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    16
# If applicable, add the following below this CDDL HEADER, with the
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    17
# fields enclosed by brackets "[]" replaced with your own identifying
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    18
# information: Portions Copyright [yyyy] [name of copyright owner]
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    19
#
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    20
# CDDL HEADER END
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    21
#
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    22
# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    23
#
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    24
include ../../make-rules/shared-macros.mk
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    25
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    26
COMPONENT_NAME=         gnu-gs-fonts-std
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    27
COMPONENT_VERSION=      6.0
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    28
COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_VERSION)
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    29
COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    30
COMPONENT_ARCHIVE_HASH= sha1:cdad2f3752c513fe1cfb0eeaf6661753e2cc182c
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_URL=  http://softlayer.dl.sourceforge.net/sourceforge/gs-fonts/$(COMPONENT_ARCHIVE)
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    32
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    33
# set relocate_to option while unpacking the tar ball
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    34
UNPACK_ARGS= -r $(COMPONENT_SRC)
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    35
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    36
PROTOGSSHAREDIR=$(PROTOUSRSHAREDIR)/ghostscript
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    37
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    38
include ../../make-rules/prep.mk
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    39
include ../../make-rules/ips.mk
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    40
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    41
# untar the tar ball and apply the patches
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    42
build:  $(SOURCE_DIR)/.prep
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    43
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    44
install: build
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    45
	$(MKDIR) $(PROTO_DIR)
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    46
	$(MKDIR) -m 755 -p $(PROTOGSSHAREDIR)
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    47
	$(CP) -r $(SOURCE_DIR)/* $(PROTOGSSHAREDIR)
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    48
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    49
# empty test target
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    50
test:
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    51
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    52
include ../../make-rules/depend.mk