Makefile revision 261
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync#
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# CDDL HEADER START
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync#
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# The contents of this file are subject to the terms of the
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# Common Development and Distribution License (the "License").
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# You may not use this file except in compliance with the License.
772269936494ffaddd0750ba9e28e805ba81398cvboxsync#
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# or http://www.opensolaris.org/os/licensing.
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# See the License for the specific language governing permissions
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# and limitations under the License.
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync#
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# When distributing Covered Code, include this CDDL HEADER in each
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# If applicable, add the following below this CDDL HEADER, with the
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync#
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# CDDL HEADER END
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync#
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync#
ca0ee85505c252493a3ee53577848ef8939f991bvboxsyncinclude ../../make-rules/shared-macros.mk
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync
bbc0a3fc49446bf8fa1fcfe669c10875701692bcvboxsyncCOMPONENT_NAME= beanshell
ca0ee85505c252493a3ee53577848ef8939f991bvboxsyncCOMPONENT_VERSION= 2.0b4
ca0ee85505c252493a3ee53577848ef8939f991bvboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
ca0ee85505c252493a3ee53577848ef8939f991bvboxsyncCOMPONENT_PROJECT_URL= http://www.beanshell.org/
bbc0a3fc49446bf8fa1fcfe669c10875701692bcvboxsyncCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
ca0ee85505c252493a3ee53577848ef8939f991bvboxsyncCOMPONENT_ARCHIVE_HASH= sha1:e5e956875fa4627d40eb06f3cce52fbf85798f1e
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# This should come from http://www.beanshell.org/ however they do not
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# maintain previous versions of archives there anymore. When/if this
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# component is upgraded the download location should revert back to
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# beanshell.org if possible. Note also a fork of beanshell is receiving
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync# more attention at the google code repository of late.
ca0ee85505c252493a3ee53577848ef8939f991bvboxsyncCOMPONENT_ARCHIVE_URL= http://static.opensolaris.org/tarball/userland/$(COMPONENT_ARCHIVE)
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync
ca0ee85505c252493a3ee53577848ef8939f991bvboxsyncIPS_COMPONENT_VERSION= 2.0
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync
6144154d0dabfabf32622da8f5f8afc82f31e763vboxsyncinclude ../../make-rules/prep.mk
6144154d0dabfabf32622da8f5f8afc82f31e763vboxsyncinclude ../../make-rules/ant.mk
ca0ee85505c252493a3ee53577848ef8939f991bvboxsyncinclude ../../make-rules/ips.mk
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync
ca0ee85505c252493a3ee53577848ef8939f991bvboxsyncCOMPONENT_BUILD_ARGS += -Ddist-dir=${PROTO_DIR}
ca0ee85505c252493a3ee53577848ef8939f991bvboxsyncCOMPONENT_BUILD_ARGS += -Djavadoc-dir=${PROTO_DIR}
772269936494ffaddd0750ba9e28e805ba81398cvboxsyncCOMPONENT_BUILD_TARGETS += dist
ca0ee85505c252493a3ee53577848ef8939f991bvboxsync
# 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