Makefile revision 3661
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd#
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd# CDDL HEADER START
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd#
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd# The contents of this file are subject to the terms of the
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd# Common Development and Distribution License (the "License").
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd# You may not use this file except in compliance with the License.
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd#
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd# or http://www.opensolaris.org/os/licensing.
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd# See the License for the specific language governing permissions
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# and limitations under the License.
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen#
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# When distributing Covered Code, include this CDDL HEADER in each
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd# If applicable, add the following below this CDDL HEADER, with the
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd# fields enclosed by brackets "[]" replaced with your own identifying
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd# information: Portions Copyright [yyyy] [name of copyright owner]
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen#
3f08db06526d6901aa08c110b5bc7dde6bc39905nd# CDDL HEADER END
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd#
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd#
3f08db06526d6901aa08c110b5bc7dde6bc39905nd# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd#
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd
0853e1e2522c1ac17f697221758bcbd4781a7ff9ndinclude ../../../make-rules/shared-macros.mk
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7nd
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjungCOMPONENT_NAME= ipython
0853e1e2522c1ac17f697221758bcbd4781a7ff9ndCOMPONENT_VERSION= 0.10
c2ed7ae314df26c4cd9e3a7224dabc6baa3f4dceigalicCOMPONENT_PROJECT_URL= http://ipython.org/
c2ed7ae314df26c4cd9e3a7224dabc6baa3f4dceigalicCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
0853e1e2522c1ac17f697221758bcbd4781a7ff9ndCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
0853e1e2522c1ac17f697221758bcbd4781a7ff9ndCOMPONENT_ARCHIVE_HASH= \
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd sha256:60d602637dc5f078b083a4ca5ab64364ba816bd72439844012ed11a30f88228c
0853e1e2522c1ac17f697221758bcbd4781a7ff9ndCOMPONENT_ARCHIVE_URL= http://archive.ipython.org/release/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
0853e1e2522c1ac17f697221758bcbd4781a7ff9ndCOMPONENT_BUGDB= python-mod/ipython
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd
0853e1e2522c1ac17f697221758bcbd4781a7ff9ndTPNO= 9640
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd
0853e1e2522c1ac17f697221758bcbd4781a7ff9ndinclude $(WS_TOP)/make-rules/prep.mk
0853e1e2522c1ac17f697221758bcbd4781a7ff9ndinclude $(WS_TOP)/make-rules/setup.py.mk
0853e1e2522c1ac17f697221758bcbd4781a7ff9ndinclude $(WS_TOP)/make-rules/ips.mk
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd# Replace "#!/usr/bin/env ..." shebang lines with properly versioned ones.
0853e1e2522c1ac17f697221758bcbd4781a7ff9ndCOMPONENT_PRE_BUILD_ACTION = \
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd /usr/bin/find $(SOURCE_DIR) -name *.py \
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd -exec $(GSED) -i -e 's/env python/python$(PYTHON_VERSION)/' "{}" \; ;
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd# Unpack the ipython man pages.
0853e1e2522c1ac17f697221758bcbd4781a7ff9ndCOMPONENT_POST_UNPACK_ACTION = \
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd (cd $(SOURCE_DIR)/docs/man; /usr/bin/gunzip * )
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd# common targets
0853e1e2522c1ac17f697221758bcbd4781a7ff9ndbuild: $(BUILD_32)
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd
0853e1e2522c1ac17f697221758bcbd4781a7ff9ndinstall: $(INSTALL_32)
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh
0853e1e2522c1ac17f697221758bcbd4781a7ff9ndtest: $(NO_TESTS)
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd
0853e1e2522c1ac17f697221758bcbd4781a7ff9ndBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd
0853e1e2522c1ac17f697221758bcbd4781a7ff9ndinclude $(WS_TOP)/make-rules/depend.mk
0853e1e2522c1ac17f697221758bcbd4781a7ff9nd