5891N/A#
5891N/A# CDDL HEADER START
5891N/A#
5891N/A# The contents of this file are subject to the terms of the
5891N/A# Common Development and Distribution License (the "License").
5891N/A# You may not use this file except in compliance with the License.
5891N/A#
5891N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5891N/A# or http://www.opensolaris.org/os/licensing.
5891N/A# See the License for the specific language governing permissions
5891N/A# and limitations under the License.
5891N/A#
5891N/A# When distributing Covered Code, include this CDDL HEADER in each
5891N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5891N/A# If applicable, add the following below this CDDL HEADER, with the
5891N/A# fields enclosed by brackets "[]" replaced with your own identifying
5891N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5891N/A#
5891N/A# CDDL HEADER END
5891N/A#
5891N/A
5891N/A#
5891N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
5891N/A#
5891N/A
5891N/ABUILD_BITS= NO_ARCH
5891N/Ainclude ../../../make-rules/shared-macros.mk
5891N/A
5891N/ACOMPONENT_NAME= itstool
5891N/ACOMPONENT_VERSION= 2.0.2
5891N/ACOMPONENT_PROJECT_URL= http://itstool.org/
5891N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
5891N/ACOMPONENT_ARCHIVE_HASH= \
5891N/A sha256:bf909fb59b11a646681a8534d5700fec99be83bb2c57badf8c1844512227033a
5891N/ACOMPONENT_ARCHIVE_URL= http://files.itstool.org/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
5891N/A
5891N/ATPNO= 25891
5891N/A
5891N/ATEST_TARGET= $(NO_TESTS)
5891N/Ainclude $(WS_MAKE_RULES)/common.mk
5891N/A
5891N/A# pkgdepend complains if it doesn't find a version of python specified
5891N/A# Uses 2.7 as upstream is still working on Python 3 compatibility:
5891N/A# https://github.com/itstool/itstool/pull/3
5891N/ACONFIGURE_OPTIONS += PYTHON="$(PYTHON.2.7)"
5891N/A
5891N/AREQUIRED_PACKAGES += library/python/libxml2-27
5891N/AREQUIRED_PACKAGES += runtime/python-27
5891N/AREQUIRED_PACKAGES += text/gawk