author | Rich Burridge <rich.burridge@oracle.com> |
Thu, 08 Sep 2016 09:15:40 -0700 | |
changeset 6861 | 6110892450ff |
parent 5682 | 94c0ca64c022 |
child 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
1714 | 1 |
# |
2 |
# CDDL HEADER START |
|
3 |
# |
|
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. |
|
7 |
# |
|
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. |
|
12 |
# |
|
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] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
|
21 |
||
22 |
# |
|
5585
2d9515d641e1
22867768 Update xmlto to version 0.0.28
Rich Burridge <rich.burridge@oracle.com>
parents:
4887
diff
changeset
|
23 |
# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. |
1714 | 24 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5585
diff
changeset
|
25 |
BUILD_BITS= 64 |
1714 | 26 |
include ../../make-rules/shared-macros.mk |
27 |
||
28 |
COMPONENT_NAME= xmlto |
|
5585
2d9515d641e1
22867768 Update xmlto to version 0.0.28
Rich Burridge <rich.burridge@oracle.com>
parents:
4887
diff
changeset
|
29 |
COMPONENT_VERSION= 0.0.28 |
1714 | 30 |
COMPONENT_PROJECT_URL= https://fedorahosted.org/xmlto/ |
31 |
COMPONENT_ARCHIVE_HASH= \ |
|
5585
2d9515d641e1
22867768 Update xmlto to version 0.0.28
Rich Burridge <rich.burridge@oracle.com>
parents:
4887
diff
changeset
|
32 |
sha256:2f986b7c9a0e9ac6728147668e776d405465284e13c74d4146c9cbc51fd8aad3 |
1714 | 33 |
COMPONENT_ARCHIVE_URL= https://fedorahosted.org/releases/x/m/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE) |
34 |
||
5585
2d9515d641e1
22867768 Update xmlto to version 0.0.28
Rich Burridge <rich.burridge@oracle.com>
parents:
4887
diff
changeset
|
35 |
TPNO= 27193 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1714
diff
changeset
|
36 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5585
diff
changeset
|
37 |
SYSTEM_TEST_TARGET= configure $(SYSTEM_TEST_64) |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5585
diff
changeset
|
38 |
include $(WS_MAKE_RULES)/common.mk |
1714 | 39 |
|
40 |
# These will be used by the xmlto script. |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5585
diff
changeset
|
41 |
CONFIGURE_ENV += FIND="$(GNUBIN)/find" |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5585
diff
changeset
|
42 |
CONFIGURE_ENV += GETOPT="$(GNUBIN)/getopt" |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5585
diff
changeset
|
43 |
CONFIGURE_ENV += GREP="$(GNUBIN)/grep" |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5585
diff
changeset
|
44 |
CONFIGURE_ENV += TAIL="$(GNUBIN)/tail" |
1714 | 45 |
|
4559
b8f0fb772f16
21315323 Hookup system-tests for xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
46 |
# Strip compilation lines from test output |
b8f0fb772f16
21315323 Hookup system-tests for xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
47 |
COMPONENT_TEST_TRANSFORMS += \ |
b8f0fb772f16
21315323 Hookup system-tests for xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
48 |
'-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \ |
b8f0fb772f16
21315323 Hookup system-tests for xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
49 |
'-e "s|^.*source=.*libtool=no.*$$|XXX_CC_XXX|g" ' \ |
b8f0fb772f16
21315323 Hookup system-tests for xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
50 |
'-e "s|^.*DEPDIR=.deps.*$$|XXX_CC_XXX|g" ' \ |
b8f0fb772f16
21315323 Hookup system-tests for xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
51 |
'-e "s|^.*xmlif.l.*$$|XXX_CC_XXX|g" ' \ |
b8f0fb772f16
21315323 Hookup system-tests for xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
52 |
'-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \ |
b8f0fb772f16
21315323 Hookup system-tests for xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
53 |
'-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \ |
b8f0fb772f16
21315323 Hookup system-tests for xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
54 |
'-e "/^XXX_CC_XXX$$/d" ' |
b8f0fb772f16
21315323 Hookup system-tests for xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
55 |
|
b8f0fb772f16
21315323 Hookup system-tests for xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
56 |
COMPONENT_SYSTEM_TEST_ENV += top_srcdir=$(SOURCE_DIR) |
b8f0fb772f16
21315323 Hookup system-tests for xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
57 |
COMPONENT_SYSTEM_TEST_ENV += top_builddir=$(BUILD_DIR) |
b8f0fb772f16
21315323 Hookup system-tests for xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
58 |
COMPONENT_PRE_SYSTEM_TEST_ACTION += \ |
b8f0fb772f16
21315323 Hookup system-tests for xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
59 |
$(GSED) -i -e "s|^XMLIF=.*$$|XMLIF=/usr/bin/xmlif|" \ |
b8f0fb772f16
21315323 Hookup system-tests for xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
60 |
$(SOURCE_DIR)/xmlif/test/run-test |
b8f0fb772f16
21315323 Hookup system-tests for xmlto
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
61 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5585
diff
changeset
|
62 |
# Used by this Makefile. |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5585
diff
changeset
|
63 |
REQUIRED_PACKAGES += text/gnu-sed |
1714 | 64 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
65 |
REQUIRED_PACKAGES += file/gnu-coreutils |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
66 |
REQUIRED_PACKAGES += file/gnu-findutils |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
67 |
REQUIRED_PACKAGES += library/libxml2 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
68 |
REQUIRED_PACKAGES += library/libxslt |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
69 |
REQUIRED_PACKAGES += shell/bash |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
70 |
REQUIRED_PACKAGES += shell/gnu-getopt |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
71 |
REQUIRED_PACKAGES += text/gnu-grep |
4887
4db7e64f5de8
21881935 xmlto shouldn't use w3m and should depend on lynx
Rich Burridge <rich.burridge@oracle.com>
parents:
4559
diff
changeset
|
72 |
REQUIRED_PACKAGES += web/browser/lynx |