components/gnu-gs-fonts-std/Makefile
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Wed, 29 Aug 2012 11:05:56 -0700
changeset 957 255465c5756f
parent 800 2ad056ed89ec
child 1058 34d7aaa03423
permissions -rw-r--r--
Close of build 04.
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
#
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 609
diff changeset
    22
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
86
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
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 181
diff changeset
    28
COMPONENT_PROJECT_URL=	http://sourceforge.net/projects/gs-fonts/
86
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    29
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
    30
COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 609
diff changeset
    31
COMPONENT_ARCHIVE_HASH= \
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 609
diff changeset
    32
    sha256:4cef38d05aa958dfee4dabb8d1599b8ad2b2347413b7895c94d8882c8a0fb9d3
86
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    33
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
    34
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    35
# 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
    36
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
    37
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    38
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
    39
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    40
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
    41
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
    42
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    43
# 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
    44
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
    45
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    46
install: build
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    47
	$(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
    48
	$(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
    49
	$(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
    50
181
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 88
diff changeset
    51
test:	$(NO_TESTS)
86
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    52
88
892ec2c1d36f 7014471 move gnu-gs-fonts-other to userland (fix clean)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 86
diff changeset
    53
clean::
892ec2c1d36f 7014471 move gnu-gs-fonts-other to userland (fix clean)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 86
diff changeset
    54
	$(RM) -r $(BUILD_DIR)
892ec2c1d36f 7014471 move gnu-gs-fonts-other to userland (fix clean)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 86
diff changeset
    55
86
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    56
include ../../make-rules/depend.mk