Makefile revision 844
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis#
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis# CDDL HEADER START
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis#
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis# The contents of this file are subject to the terms of the
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis# Common Development and Distribution License (the "License").
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis# You may not use this file except in compliance with the License.
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis#
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis# or http://www.opensolaris.org/os/licensing.
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis# See the License for the specific language governing permissions
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis# and limitations under the License.
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis#
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis# When distributing Covered Code, include this CDDL HEADER in each
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis# If applicable, add the following below this CDDL HEADER, with the
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis# fields enclosed by brackets "[]" replaced with your own identifying
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis# information: Portions Copyright [yyyy] [name of copyright owner]
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis#
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis# CDDL HEADER END
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis#
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis#
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtisinclude ../../make-rules/shared-macros.mk
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr JasiukajtisCOMPONENT_NAME= beanshell
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr JasiukajtisCOMPONENT_VERSION= 2.0b4
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr JasiukajtisCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr JasiukajtisCOMPONENT_PROJECT_URL= http://www.beanshell.org/
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr JasiukajtisCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr JasiukajtisCOMPONENT_ARCHIVE_HASH= \
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis sha256:a6f02b46796ed6b6a212cfc2d17e4797212db3206e21a3f4959adb60bddfff5f
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis# This should come from http://www.beanshell.org/ however they do not
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis# maintain previous versions of archives there anymore. When/if this
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis# component is upgraded the download location should revert back to
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis# beanshell.org if possible. Note also a fork of beanshell is receiving
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis# more attention at the google code repository of late.
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr JasiukajtisCOMPONENT_ARCHIVE_URL= $(EXTERNAL_ARCHIVE_MIRROR)/$(SOURCE_ARCHIVE)
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr JasiukajtisIPS_COMPONENT_VERSION= 2.0
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtis
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtisinclude ../../make-rules/prep.mk
25c28e83beb90e7c80452a7c818c5e6f73a07dc8Piotr Jasiukajtisinclude ../../make-rules/ant.mk
include ../../make-rules/ips.mk
COMPONENT_BUILD_ARGS += -Ddist-dir=${PROTO_DIR}
COMPONENT_BUILD_ARGS += -Djavadoc-dir=${PROTO_DIR}
COMPONENT_BUILD_TARGETS += dist
# We use the solaris-transform file to pick up files in the prototype area
# that are not found in the directories we install them to on Solaris.
# Doing this obviates the need to add it's location to each line in the
# associated beanshell.p5m file.
PUBLISH_TRANSFORMS += solaris-transform
# Needed to pick up scripts/bsh and bshcommands-bshdoc.xml
PKG_PROTO_DIRS += $(COMPONENT_DIR)
PKG_PROTO_DIRS += $(BUILD_DIR_32)
# common targets
build: $(BUILD_32)
install: build
test: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk