components/gnu-gs-fonts-other/Makefile
author John Beck <John.Beck@Oracle.COM>
Fri, 13 Jun 2014 12:36:52 -0700
changeset 1948 2d1537e7942d
parent 1537 68c1d972de17
child 3817 30b42c38bbc4
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
#
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1537
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)
1058
34d7aaa03423 15886624 Auto-generation of Userland gate list - Phase 3
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
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1537
diff changeset
    36
TPNO=			8517
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1537
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
1537
68c1d972de17 16703472 more userland components could benefit from resolve.deps files
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 1434
diff changeset
    46
# This package delivers only data files and has no dependencies.
68c1d972de17 16703472 more userland components could benefit from resolve.deps files
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 1434
diff changeset
    47
EXTDEPFILES = $(NULLDEPFILE)
68c1d972de17 16703472 more userland components could benefit from resolve.deps files
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 1434
diff changeset
    48
1434
c782e620dd26 17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 1058
diff changeset
    49
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
c782e620dd26 17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 1058
diff changeset
    50
86
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    51
# 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
    52
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
    53
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    54
install: build
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    55
	$(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
    56
	$(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
    57
	$(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
    58
181
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 88
diff changeset
    59
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
    60
88
892ec2c1d36f 7014471 move gnu-gs-fonts-other to userland (fix clean)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 86
diff changeset
    61
clean::
892ec2c1d36f 7014471 move gnu-gs-fonts-other to userland (fix clean)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 86
diff changeset
    62
	$(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
    63
86
fbacc6fc0fea 7014471 move gnu-gs-fonts-other to userland
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
diff changeset
    64
include ../../make-rules/depend.mk