components/perl_modules/gettext/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Thu, 20 Aug 2015 14:26:17 -0700
changeset 4802 62e47da66002
child 5577 09a6352d52ad
permissions -rw-r--r--
PSARC 2015/241 Locale::gettext Perl module 21091517 We should add the Perl Locale::gettext module to Userland
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4802
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
#
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
#
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
#
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
#
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
#
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    20
#
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    21
# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    22
#
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    23
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    24
include ../../../make-rules/shared-macros.mk
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    25
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    26
COMPONENT_NAME=		gettext
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
COMPONENT_VERSION=	1.0.5
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    28
HUMAN_VERSION=		1.05
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    29
COMPONENT_PROJECT_URL=	http://search.cpan.org/~pvandry/gettext-1.05/gettext.pm
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    30
COMPONENT_SRC=		$(COMPONENT_NAME)-$(HUMAN_VERSION)
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_HASH=	\
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    33
    sha256:27367f3dc1be79c9ed178732756e37e4cfce45f9e2a27ebf26e1f40d80124694
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_URL=	http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/$(COMPONENT_ARCHIVE)
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    35
COMPONENT_BUGDB=	perl-mod/gettext
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    36
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    37
TPNO=			22740
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    38
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    39
include $(WS_MAKE_RULES)/prep.mk
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    40
include $(WS_MAKE_RULES)/ips.mk
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    41
include $(WS_MAKE_RULES)/makemaker.mk
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    42
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    43
COMPONENT_TEST_TARGETS = test
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    44
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    45
COMPONENT_TEST_TRANSFORMS += \
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    46
	'-n ' \
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    47
	'-e "/ ok/p" ' \
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    48
	'-e "/All /p" ' \
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    49
	'-e "/Result: /p" '
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    50
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    51
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    52
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    53
build:		$(BUILD_32_and_64)
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    54
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    55
install:	$(INSTALL_32_and_64)
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    56
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    57
test:		$(TEST_32_and_64)
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    58
62e47da66002 PSARC 2015/241 Locale::gettext Perl module
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    59
system-test:	$(SYSTEM_TESTS_NOT_IMPLEMENTED)