components/python/markdown/Makefile
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Mon, 21 Apr 2014 10:36:37 -0700
branchs11-update
changeset 3090 2da1d1d90c07
parent 2811 3e51f310353f
child 1948 2d1537e7942d
permissions -rw-r--r--
18615984 userland should move to parfait 1.4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2811
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
#
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
#
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
#
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
#
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
#
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    20
#
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    21
# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    22
#
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    23
include ../../../make-rules/shared-macros.mk
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    24
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    25
COMPONENT_NAME=		Markdown
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    26
COMPONENT_VERSION=	2.3.1
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    28
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    29
COMPONENT_ARCHIVE_HASH=	\
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    30
    sha256:ffebd9385717aba00ff4e95b705b7693ddf12a7d483483d441218b6d3f4cf290
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_URL=	$(call pypi_url)
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    32
COMPONENT_PROJECT_URL=	http://packages.python.org/Markdown/
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    33
COMPONENT_BUGDB=	python-mod/markdown
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    34
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    35
include $(WS_TOP)/make-rules/prep.mk
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    36
include $(WS_TOP)/make-rules/setup.py.mk
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    37
include $(WS_TOP)/make-rules/ips.mk
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    38
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    39
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    40
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    41
COMPONENT_TEST_ARGS=	./run-tests.py
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    42
COMPONENT_TEST_DIR=	$(SOURCE_DIR)
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    43
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    44
COMPONENT_POST_INSTALL_ACTION = \
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    45
	(cd $(PROTO_DIR)/usr/bin ; \
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    46
         $(MV) -f markdown_py markdown_py-$(PYTHON_VERSION))
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    47
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    48
# common targets
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    49
build:		$(BUILD_NO_ARCH)
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    50
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    51
install:	$(INSTALL_NO_ARCH)
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    52
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    53
test:		$(TEST_NO_ARCH)
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    54
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    55
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    56
3e51f310353f PSARC 2013/317 markdown version 2.3.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    57
include $(WS_TOP)/make-rules/depend.mk