components/desktop/intltool/Makefile
author John Beck <John.Beck@Oracle.COM>
Tue, 26 Jul 2016 14:43:43 -0700
changeset 6492 3cf4ca7b5922
parent 5892 54e11e77ee33
child 7687 1093e2a9adbd
permissions -rw-r--r--
24356619 do not publish intltool when BUILD_TYPE=evaluation
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5892
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     1
#
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     3
#
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     7
#
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    12
#
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    18
#
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    20
#
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    21
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    22
#
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    23
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    24
#
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    25
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    26
BUILD_BITS= 		NO_ARCH
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    27
include ../../../make-rules/shared-macros.mk
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    28
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    29
COMPONENT_NAME=		intltool
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_VERSION=	0.51.0
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    31
COMPONENT_PROJECT_URL=	http://freedesktop.org/wiki/Software/intltool/
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_HASH= \
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    33
    sha256:67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_URL=	https://launchpad.net/$(COMPONENT_NAME)/trunk/$(COMPONENT_VERSION)/+download/$(COMPONENT_ARCHIVE)
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    35
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    36
TPNO=			25211
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    37
6492
3cf4ca7b5922 24356619 do not publish intltool when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5892
diff changeset
    38
# Forked from gnome/gettext, which was in Gnome in 11.3 => do-not-publish.
3cf4ca7b5922 24356619 do not publish intltool when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5892
diff changeset
    39
ifeq ($(BUILD_TYPE), evaluation)
3cf4ca7b5922 24356619 do not publish intltool when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5892
diff changeset
    40
BUILD_NO_ARCH=
3cf4ca7b5922 24356619 do not publish intltool when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5892
diff changeset
    41
INSTALL_NO_ARCH=
3cf4ca7b5922 24356619 do not publish intltool when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5892
diff changeset
    42
PUBLISH_STAMP=
3cf4ca7b5922 24356619 do not publish intltool when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5892
diff changeset
    43
endif
3cf4ca7b5922 24356619 do not publish intltool when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5892
diff changeset
    44
5892
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    45
include $(WS_MAKE_RULES)/common.mk
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    46
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    47
CONFIGURE_ENV += PERL="$(PERL)"
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    48
PKG_MACROS += PERLVER="$(PERL_VERSION)"
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    49
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    50
PERL_XML_PARSER_PKG = $(PERL_VERSION:5.%=library/perl-5/xml-parser-5%) 
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    51
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    52
REQUIRED_PACKAGES += $(PERL_PKG)
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    53
REQUIRED_PACKAGES += $(PERL_XML_PARSER_PKG)
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    54
REQUIRED_PACKAGES += text/gnu-gettext
54e11e77ee33 23169155 Move developer/gnome/gettext to Userland and split it up
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    55