components/gnu-gs-fonts-other/Makefile
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Mon, 11 Mar 2013 10:38:09 -0700
branchs11-update
changeset 2520 ceec631e74d1
parent 2434 6c9bb5cf5610
child 1434 c782e620dd26
child 2855 576d5a7857b7
permissions -rw-r--r--
Close of build 10.
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-other
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:8146cccc4699fe9dab841446bdd17039f4769c903eceb54409188b920754aab3
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)
2434
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents: 800
diff changeset
    34
COMPONENT_BUGDB=	utility/ghostscript
86
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
# 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
    37
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
    38
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    39
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
    40
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/prep.mk
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    42
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
    43
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    44
# 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
    45
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
    46
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    47
install: build
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    48
	$(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
    49
	$(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
    50
	$(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
    51
181
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 88
diff changeset
    52
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
    53
88
892ec2c1d36f 7014471 move gnu-gs-fonts-other to userland (fix clean)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 86
diff changeset
    54
clean::
892ec2c1d36f 7014471 move gnu-gs-fonts-other to userland (fix clean)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 86
diff changeset
    55
	$(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
    56
86
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    57
include ../../make-rules/depend.mk