python/hypothesis: update to 6.122.3
[oi-userland.git] / components / text / tidy / Makefile
blobb0621c09ea541e240dc146762aefb4980a6de0eb
2 # CDDL HEADER START
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]
19 # CDDL HEADER END
23 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
26 include ../../../make-rules/shared-macros.mk
28 COMPONENT_NAME= tidy
29 COMPONENT_VERSION= 1.0.0
30 COMPONENT_REVISION= 4
31 COMPONENT_PROJECT_URL= http://tidy.sourceforge.net/
32 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
33 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
34 COMPONENT_ARCHIVE_HASH= \
35 sha256:074023e48ed151db743d194af1028e4a17fa72a18e4069b4f18d4683db4bb9cf
36 COMPONENT_ARCHIVE_URL= http://dlc.openindiana.org/oi-build/source-archives/$(COMPONENT_ARCHIVE)
37 COMPONENT_BUGDB= library/tidy
39 include $(WS_MAKE_RULES)/prep.mk
40 include $(WS_MAKE_RULES)/configure.mk
41 include $(WS_MAKE_RULES)/ips.mk
43 #tree.js, treeview.js, tidyenum_8h.html are installed
44 #from files directory manually as doxygen didn't generate them.
45 #This needs to be fixed later.
47 COMPONENT_PREP_ACTION = \
48 (cd $(SOURCE_DIR); doxygen htmldoc/doxygen.cfg)
50 CONFIGURE_OPTIONS += --disable-static
51 CONFIGURE_OPTIONS += --enable-access
52 CONFIGURE_OPTIONS += --enable-utf16
53 CONFIGURE_OPTIONS += --enable-asian
55 COMPONENT_PRE_CONFIGURE_ACTION = \
56 ($(CP) -r $(SOURCE_DIR)/test $(@D))
58 PROTODOCDIR=$(PROTOUSRSHAREDIR)/doc/tidy
60 $(PROTODOCDIR):
61 $(MKDIR) $@
63 # ASLR_MODE = $(ASLR_ENABLE)
65 COMPONENT_TEST_DIR = $(@D)/test
66 COMPONENT_TEST_CMD = ./testall.sh
67 COMPONENT_TEST_TARGETS =
69 # Master test results are the same for both 32-bit and 64-bit, so override
70 # here, rather than create multiple identical master files.
71 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
73 # common targets
74 build: $(BUILD_32_and_64)
76 install: $(INSTALL_32_and_64) $(PROTODOCDIR)
77 $(CP) -r $(SOURCE_DIR)/htmldoc/api $(PROTODOCDIR)
79 test: $(TEST_32_and_64)
81 # Auto-generated dependencies
82 REQUIRED_PACKAGES += system/library