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]
21 # Copyright 2016 Jim Klimov
22 # Copyright 2019 Tim Mooney
26 include ..
/..
/..
/make-rules
/shared-macros.mk
28 COMPONENT_NAME
= itstool
29 COMPONENT_VERSION
= 2.0.7
31 COMPONENT_SUMMARY
= ITS Tool allows you to translate your XML documents with PO files using rules from the W3C Internationalization Tag Set
32 COMPONENT_PROJECT_URL
= http
://itstool.org
/
33 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
34 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
35 COMPONENT_ARCHIVE_HASH
= sha256
:6b9a7cd29a12bb95598f5750e8763cee78836a1a207f85b74d8b3275b27e87ca
36 COMPONENT_ARCHIVE_URL
= http
://files.itstool.org
/itstool
/$(COMPONENT_ARCHIVE
)
37 COMPONENT_FMRI
= text
/$(COMPONENT_NAME
)
38 COMPONENT_LICENSE
= GPLv3
39 COMPONENT_LICENSE_FILE
= COPYING.GPL3
40 COMPONENT_CLASSIFICATION
= System
/Text Tools
42 TEST_TARGET
=$(NO_TESTS
)
43 include $(WS_MAKE_RULES
)/common.mk
49 CFLAGS
+= $(CPP_LARGEFILES
)
50 CPPFLAGS
+= $(CPP_LARGEFILES
)
52 CONFIGURE_ENV
+= PYTHON
=$(PYTHON
)
54 CONFIGURE_OPTIONS
+= --sysconfdir
=$(ETCDIR
)
56 # Auto-generated dependencies
57 PYTHON_REQUIRED_PACKAGES
+= library
/python
/libxml2
58 PYTHON_REQUIRED_PACKAGES
+= runtime
/python