Makefile revision 871
99N/A#
99N/A# CDDL HEADER START
99N/A#
99N/A# The contents of this file are subject to the terms of the
99N/A# Common Development and Distribution License (the "License").
99N/A# You may not use this file except in compliance with the License.
99N/A#
99N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
99N/A# or http://www.opensolaris.org/os/licensing.
99N/A# See the License for the specific language governing permissions
99N/A# and limitations under the License.
99N/A#
99N/A# When distributing Covered Code, include this CDDL HEADER in each
99N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
99N/A# If applicable, add the following below this CDDL HEADER, with the
99N/A# fields enclosed by brackets "[]" replaced with your own identifying
99N/A# information: Portions Copyright [yyyy] [name of copyright owner]
99N/A#
99N/A# CDDL HEADER END
99N/A#
727N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
99N/A#
127N/Ainclude ../../make-rules/shared-macros.mk
99N/A
99N/APATH=/usr/bin:/usr/gnu/bin:/usr/sbin
99N/A
99N/ACOMPONENT_NAME= mercurial
871N/ACOMPONENT_VERSION= 2.2.1
618N/ACOMPONENT_PROJECT_URL= http://mercurial.selenic.com/
99N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
99N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
871N/A sha256:ab4ffe751553f852813c21ad73907530ffbc5aa39b0cf962f61fe70f196cbb81
99N/ACOMPONENT_ARCHIVE_URL= http://www.selenic.com/mercurial/release/$(COMPONENT_ARCHIVE)
99N/A
99N/Ainclude $(WS_TOP)/make-rules/prep.mk
99N/Ainclude $(WS_TOP)/make-rules/setup.py.mk
99N/Ainclude $(WS_TOP)/make-rules/ips.mk
99N/A
783N/ACOMPONENT_POST_INSTALL_ACTION = \
783N/A (cd $(PROTO_DIR)/usr/bin ; $(MV) -f hg hg-$(PYTHON_VERSION))
783N/A
99N/APKG_PROTO_DIRS += $(COMPONENT_SRC)/contrib
99N/APKG_PROTO_DIRS += $(COMPONENT_SRC)/doc
196N/A
196N/A# Set mod time of patched file from patch. Use this to ensure that the .py
196N/A# file consistently gets the same timestamp.
196N/A$(SOURCE_DIR)/.https_proxy.patched: GPATCH_FLAGS += -Z
99N/A
99N/A# common targets
99N/Abuild: $(BUILD_32)
99N/A
99N/Ainstall: $(INSTALL_32)
99N/A
99N/Atest: $(INSTALL_32)
99N/A (cd $(COMPONENT_SRC)/tests ; \
871N/A PYTHONPATH=$(PROTO_DIR)/$(PYTHON_LIB) TERM=dumb \
871N/A $(PYTHON) ./run-tests.py --shell /bin/bash)
99N/A
99N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
99N/A
99N/Ainclude $(WS_TOP)/make-rules/depend.mk