components/gnu-gs-fonts-other/Makefile
author John Beck <John.Beck@Oracle.COM>
Sat, 17 Jan 2015 09:17:37 -0800
branchs11-update
changeset 3661 47545fb8aed4
parent 2855 576d5a7857b7
child 3996 20c0f21bbe1e
permissions -rw-r--r--
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
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
#
3661
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 2855
diff changeset
    22
# Copyright (c) 2011, 2014, 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
3661
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 2855
diff changeset
    36
TPNO=			8517
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 2855
diff changeset
    37
86
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    38
# 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
    39
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
    40
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    41
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
    42
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    43
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
    44
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
    45
2855
576d5a7857b7 16404201 serialize pkglinting of components
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 2434
diff changeset
    46
# This package delivers only data files and has no dependencies.
576d5a7857b7 16404201 serialize pkglinting of components
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 2434
diff changeset
    47
EXTDEPFILES = $(NULLDEPFILE)
576d5a7857b7 16404201 serialize pkglinting of components
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 2434
diff changeset
    48
86
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    49
# 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
    50
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
    51
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    52
install: build
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    53
	$(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
    54
	$(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
    55
	$(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
    56
181
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 88
diff changeset
    57
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
    58
88
892ec2c1d36f 7014471 move gnu-gs-fonts-other to userland (fix clean)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 86
diff changeset
    59
clean::
892ec2c1d36f 7014471 move gnu-gs-fonts-other to userland (fix clean)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 86
diff changeset
    60
	$(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
    61
86
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    62
include ../../make-rules/depend.mk