author | david.comay@oracle.com |
Fri, 09 Sep 2016 16:31:02 -0700 | |
changeset 6878 | 252671ed151a |
parent 6400 | 19257b6c5395 |
child 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
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 |
6400
19257b6c5395
23094067 Upgrade texinfo to 6.1
Bick Torrejon <bick.torrejon@oracle.com>
parents:
5797
diff
changeset
|
29 |
COMPONENT_NAME= texinfo |
19257b6c5395
23094067 Upgrade texinfo to 6.1
Bick Torrejon <bick.torrejon@oracle.com>
parents:
5797
diff
changeset
|
30 |
COMPONENT_VERSION= 6.1 |
19257b6c5395
23094067 Upgrade texinfo to 6.1
Bick Torrejon <bick.torrejon@oracle.com>
parents:
5797
diff
changeset
|
31 |
COMPONENT_PROJECT_URL= https://www.gnu.org/software/texinfo/ |
19257b6c5395
23094067 Upgrade texinfo to 6.1
Bick Torrejon <bick.torrejon@oracle.com>
parents:
5797
diff
changeset
|
32 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
19257b6c5395
23094067 Upgrade texinfo to 6.1
Bick Torrejon <bick.torrejon@oracle.com>
parents:
5797
diff
changeset
|
33 |
COMPONENT_ARCHIVE_HASH= \ |
19257b6c5395
23094067 Upgrade texinfo to 6.1
Bick Torrejon <bick.torrejon@oracle.com>
parents:
5797
diff
changeset
|
34 |
sha256:02582b6d9b0552f1cb1312be6bd7023e9799603c3b2320fa68a36029e4cbafbb |
19257b6c5395
23094067 Upgrade texinfo to 6.1
Bick Torrejon <bick.torrejon@oracle.com>
parents:
5797
diff
changeset
|
35 |
COMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/texinfo/$(COMPONENT_ARCHIVE) |
221
a82f927119a1
7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
36 |
|
6400
19257b6c5395
23094067 Upgrade texinfo to 6.1
Bick Torrejon <bick.torrejon@oracle.com>
parents:
5797
diff
changeset
|
37 |
TPNO_TEXINFO= 27244 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1522
diff
changeset
|
38 |
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
|
39 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5628
diff
changeset
|
40 |
include $(WS_MAKE_RULES)/gnu-component.mk |
221
a82f927119a1
7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
41 |
|
663
2a5f723e7a09
7121463 text/texinfo doesn't deliver a file, but manifests it
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents:
609
diff
changeset
|
42 |
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
|
43 |
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
|
44 |
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
|
45 |
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
|
46 |
INFOPATH := $(INFOPATH):. |
2a5f723e7a09
7121463 text/texinfo doesn't deliver a file, but manifests it
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents:
609
diff
changeset
|
47 |
|
2a5f723e7a09
7121463 text/texinfo doesn't deliver a file, but manifests it
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents:
609
diff
changeset
|
48 |
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
|
49 |
|
221
a82f927119a1
7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
50 |
CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
a82f927119a1
7017805 texinfo should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
51 |
|
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
|
52 |
# 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
|
53 |
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
|
54 |
|
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 |
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
|
56 |
$(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
|
57 |
|
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 |
# 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
|
59 |
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
|
60 |
$(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
|
61 |
$(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
|
62 |
$(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
|
63 |
$(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
|
64 |
|
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 |
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
|
66 |
|
5628
f2a8a7ecf3e1
15760468 texinfo should be updated to 6.0
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
4984
diff
changeset
|
67 |
COMPONENT_TEST_TRANSFORMS += \ |
f2a8a7ecf3e1
15760468 texinfo should be updated to 6.0
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
4984
diff
changeset
|
68 |
'-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
|
69 |
'-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
|
70 |
'-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
|
71 |
'-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
|
72 |
'-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
|
73 |
'-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
|
74 |
'-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
|
75 |
'-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
|
76 |
'-e "/^XXX_CC_XXX$$/d" ' |
f2a8a7ecf3e1
15760468 texinfo should be updated to 6.0
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
4984
diff
changeset
|
77 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
78 |
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
|
79 |
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
|
80 |
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
|
81 |
REQUIRED_PACKAGES += shell/bash |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
82 |
REQUIRED_PACKAGES += shell/ksh93 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
83 |
REQUIRED_PACKAGES += system/core-os |
6400
19257b6c5395
23094067 Upgrade texinfo to 6.1
Bick Torrejon <bick.torrejon@oracle.com>
parents:
5797
diff
changeset
|
84 |
REQUIRED_PACKAGES += system/library |