Makefile revision 2899
173N/A#
173N/A# CDDL HEADER START
173N/A#
173N/A# The contents of this file are subject to the terms of the
173N/A# Common Development and Distribution License (the "License").
173N/A# You may not use this file except in compliance with the License.
173N/A#
173N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
173N/A# or http://www.opensolaris.org/os/licensing.
173N/A# See the License for the specific language governing permissions
173N/A# and limitations under the License.
173N/A#
173N/A# When distributing Covered Code, include this CDDL HEADER in each
173N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
173N/A# If applicable, add the following below this CDDL HEADER, with the
173N/A# fields enclosed by brackets "[]" replaced with your own identifying
173N/A# information: Portions Copyright [yyyy] [name of copyright owner]
173N/A#
173N/A# CDDL HEADER END
173N/A#
173N/A# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
173N/A#
173N/Ainclude ../../../make-rules/shared-macros.mk
173N/A
173N/ACOMPONENT_NAME= lesscpy
173N/ACOMPONENT_VERSION= 0.9j
173N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
173N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
173N/ACOMPONENT_ARCHIVE_HASH= \
173N/A sha256:fa01d435a1ab3abafba683519bdc7aca5e19399e96225e1a8bc1d660b566364d
173N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
173N/ACOMPONENT_PROJECT_URL= https://github.com/robotis/Lesscpy
173N/ACOMPONENT_BUGDB= python-mod/lesscpy
173N/A
173N/ATPNO= 16108
173N/A
173N/A# Depends on ply which is not Python 3 ready.
372N/APYTHON_VERSIONS= 2.7 2.6
173N/A
173N/A# convert the 'j' in COMPONENT_VERSION to 10
173N/AIPS_COMPONENT_VERSION = 0.9.10
173N/A
173N/Ainclude $(WS_TOP)/make-rules/prep.mk
173N/Ainclude $(WS_TOP)/make-rules/setup.py.mk
173N/Ainclude $(WS_TOP)/make-rules/ips.mk
173N/A
173N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
173N/A
173N/A# Author's name has non-ASCII characters.
173N/ACOMPONENT_BUILD_ENV += LC_ALL=en_US.UTF-8
173N/ACOMPONENT_INSTALL_ENV += LC_ALL=en_US.UTF-8
173N/A
173N/ACOMPONENT_POST_INSTALL_ACTION = \
(cd $(PROTO_DIR)/usr/bin ; $(MV) -f lesscpy lesscpy-$(PYTHON_VERSION))
# common targets
build: $(BUILD_NO_ARCH)
install: $(INSTALL_NO_ARCH)
test: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include $(WS_TOP)/make-rules/depend.mk