components/texinfo/Makefile
author Craig Mohrman <craig.mohrman@oracle.com>
Mon, 18 Apr 2016 13:01:02 -0700
changeset 5797 432ac76de3b0
parent 5682 94c0ca64c022
child 6400 19257b6c5395
permissions -rw-r--r--
23078956 adjust the remainder of the userland components to use perl 5.22 22909079 resume testing in several perl modules 22909338 xml-parsers pkg manifests should be cleaned up once 5.12 threaded is gone 23051223 dbd-sqlite's clobber doesn't remove generated DBD-SQLite.license file 23057814 graphviz perl package depends on other obsolete perl packages 22991554 DBD-SQLite has an unlisted build dependency on library/perl-5/database et al
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
221
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     1
#
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     3
#
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     7
#
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    12
#
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    18
#
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    20
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5628
diff changeset
    21
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5628
diff changeset
    22
#
5628
f2a8a7ecf3e1 15760468 texinfo should be updated to 6.0
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 4984
diff changeset
    23
# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
221
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    24
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5628
diff changeset
    25
BUILD_BITS= 64
5628
f2a8a7ecf3e1 15760468 texinfo should be updated to 6.0
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 4984
diff changeset
    26
# using gcc makes parfait happy.
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5628
diff changeset
    27
COMPILER= gcc
221
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    28
include ../../make-rules/shared-macros.mk
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    29
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_NAME=		texinfo
5628
f2a8a7ecf3e1 15760468 texinfo should be updated to 6.0
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 4984
diff changeset
    31
COMPONENT_VERSION=	6.0
f2a8a7ecf3e1 15760468 texinfo should be updated to 6.0
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 4984
diff changeset
    32
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.xz
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 663
diff changeset
    33
COMPONENT_ARCHIVE_HASH=	\
5628
f2a8a7ecf3e1 15760468 texinfo should be updated to 6.0
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 4984
diff changeset
    34
    sha256:11ba4358696e8be3b3c7cfc88b89cf69525791aeabf0ee0a59ca58ebbd3471e4
221
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    35
5628
f2a8a7ecf3e1 15760468 texinfo should be updated to 6.0
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 4984
diff changeset
    36
TPNO_TEXINFO=		26645
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1522
diff changeset
    37
TPNO_TEXI2HTML=		9089
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1522
diff changeset
    38
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5628
diff changeset
    39
include $(WS_MAKE_RULES)/gnu-component.mk
221
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    40
663
2a5f723e7a09 7121463 text/texinfo doesn't deliver a file, but manifests it
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    41
INFOPATH := /usr/share/info
2a5f723e7a09 7121463 text/texinfo doesn't deliver a file, but manifests it
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    42
INFOPATH := $(INFOPATH):/usr/sfw/share/info
2a5f723e7a09 7121463 text/texinfo doesn't deliver a file, but manifests it
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    43
INFOPATH := $(INFOPATH):/usr/gnu/share/info
2a5f723e7a09 7121463 text/texinfo doesn't deliver a file, but manifests it
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    44
INFOPATH := $(INFOPATH):/usr/local/share/info
2a5f723e7a09 7121463 text/texinfo doesn't deliver a file, but manifests it
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    45
INFOPATH := $(INFOPATH):.
2a5f723e7a09 7121463 text/texinfo doesn't deliver a file, but manifests it
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    46
2a5f723e7a09 7121463 text/texinfo doesn't deliver a file, but manifests it
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    47
CPPFLAGS += -DDEFAULT_INFOPATH=\\\"$(INFOPATH)\\\"
2a5f723e7a09 7121463 text/texinfo doesn't deliver a file, but manifests it
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    48
221
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    49
CONFIGURE_OPTIONS  +=		--infodir=$(CONFIGURE_INFODIR)
a82f927119a1 7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    50
5797
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    51
# PERL_SCRIPTS_PROCESS needs to be the last COMPONENT_POST_INSTALL_ACTION
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    52
COMPONENT_POST_INSTALL_ACTION = 
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    53
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    54
COMPONENT_POST_INSTALL_ACTION += \
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    55
	$(INSTALL) -m 0755 texi2html.pl $(PROTOUSRBINDIR)/texi2html;
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    56
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    57
# Adjust '#!/usr/bin/perl'
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    58
PERL_SCRIPTS= \
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    59
	$(PROTOUSRBINDIR)/makeinfo \
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    60
	$(PROTOUSRBINDIR)/pod2texi \
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    61
	$(PROTOUSRBINDIR)/texi2any \
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    62
	$(PROTOUSRBINDIR)/texi2html
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    63
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    64
COMPONENT_POST_INSTALL_ACTION += $(PERL_SCRIPTS_PROCESS)
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    65
5628
f2a8a7ecf3e1 15760468 texinfo should be updated to 6.0
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 4984
diff changeset
    66
COMPONENT_TEST_TRANSFORMS += \
f2a8a7ecf3e1 15760468 texinfo should be updated to 6.0
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 4984
diff changeset
    67
	'-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
f2a8a7ecf3e1 15760468 texinfo should be updated to 6.0
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 4984
diff changeset
    68
	'-e "s|^.*$(CXX).*$$|XXX_CC_XXX|g" ' \
f2a8a7ecf3e1 15760468 texinfo should be updated to 6.0
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 4984
diff changeset
    69
	'-e "s|^DEPDIR.*$$|XXX_CC_XXX|g" ' \
f2a8a7ecf3e1 15760468 texinfo should be updated to 6.0
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 4984
diff changeset
    70
	'-e "s|^mv.*$$|XXX_CC_XXX|g" ' \
f2a8a7ecf3e1 15760468 texinfo should be updated to 6.0
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 4984
diff changeset
    71
	'-e "s|^make.*: Nothing to be.*$$|XXX_CC_XXX|g" ' \
f2a8a7ecf3e1 15760468 texinfo should be updated to 6.0
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 4984
diff changeset
    72
	'-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \
f2a8a7ecf3e1 15760468 texinfo should be updated to 6.0
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 4984
diff changeset
    73
	'-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \
5797
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    74
	'-e "s|.*ginstall.*$$|XXX_CC_XXX|g" ' \
5628
f2a8a7ecf3e1 15760468 texinfo should be updated to 6.0
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 4984
diff changeset
    75
	'-e "/^XXX_CC_XXX$$/d" '
f2a8a7ecf3e1 15760468 texinfo should be updated to 6.0
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 4984
diff changeset
    76
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    77
REQUIRED_PACKAGES += library/ncurses
5797
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    78
REQUIRED_PACKAGES += $(PERL_PKG)
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    79
REQUIRED_PACKAGES += runtime/python-27
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    80
REQUIRED_PACKAGES += shell/bash
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    81
REQUIRED_PACKAGES += shell/ksh93
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    82
REQUIRED_PACKAGES += system/core-os