4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
23 # Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
24 # Copyright (c) 2019, Michal Nowak
25 # Copyright (c) 2021, Nona Hansel
28 USE_DEFAULT_TEST_TRANSFORMS
= yes
29 include ..
/..
/..
/make-rules
/shared-macros.mk
31 COMPONENT_NAME
= texinfo
32 COMPONENT_VERSION
= 7.2
33 COMPONENT_SUMMARY
= Documentation system for on-line information and printed output
34 COMPONENT_PROJECT_URL
= https
://www.gnu.org
/software
/texinfo
/
35 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
36 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
37 COMPONENT_ARCHIVE_HASH
= sha256
:0329d7788fbef113fa82cb80889ca197a344ce0df7646fe000974c5d714363a6
38 COMPONENT_ARCHIVE_URL
= https
://ftp.gnu.org
/gnu
/texinfo
/$(COMPONENT_ARCHIVE
)
39 COMPONENT_FMRI
= text
/texinfo
40 COMPONENT_CLASSIFICATION
= Development
/GNU
42 include $(WS_MAKE_RULES
)/common.mk
44 INFOPATH
:= /usr
/share
/info
45 INFOPATH
:= $(INFOPATH
):/usr
/sfw
/share
/info
46 INFOPATH
:= $(INFOPATH
):/usr
/gnu
/share
/info
47 INFOPATH
:= $(INFOPATH
):/usr
/local
/share
/info
48 INFOPATH
:= $(INFOPATH
):.
50 CPPFLAGS
+= -DDEFAULT_INFOPATH
=\\\"$(INFOPATH
)\\\"
52 CONFIGURE_OPTIONS
+= --infodir=$(CONFIGURE_INFODIR
)
53 CONFIGURE_OPTIONS
+= CPPFLAGS
="$(CPPFLAGS)"
55 # Set PATH to make sure run_parser_all.sh is able to find GNU diff
56 COMPONENT_TEST_ENV
+= PATH
=$(PATH.gnu
)
58 COMPONENT_TEST_TRANSFORMS
+= \
59 '-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
60 '-e "s|^.*$(CXX).*$$|XXX_CC_XXX|g" ' \
61 '-e "s|^DEPDIR.*$$|XXX_CC_XXX|g" ' \
62 '-e "s|^mv.*$$|XXX_CC_XXX|g" ' \
63 '-e "s|.*ginstall.*|XXX_CC_XXX|g" ' \
64 '-e "s|^make.*: Nothing to be.*$$|XXX_CC_XXX|g" ' \
65 '-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \
66 '-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \
67 '-e "s|^make.*: .*is up to date.*$$|XXX_CC_XXX|g" ' \
68 '-e "/^XXX_CC_XXX$$/d" '
70 # Auto-generated dependencies
71 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
72 REQUIRED_PACKAGES
+= SUNWcs
73 REQUIRED_PACKAGES
+= library
/ncurses
74 REQUIRED_PACKAGES
+= runtime
/perl
75 REQUIRED_PACKAGES
+= shell/bash
76 REQUIRED_PACKAGES
+= shell/ksh93
77 REQUIRED_PACKAGES
+= system
/library