Makefile revision 984
279N/A#
279N/A# CDDL HEADER START
279N/A#
279N/A# The contents of this file are subject to the terms of the
279N/A# Common Development and Distribution License (the "License").
279N/A# You may not use this file except in compliance with the License.
279N/A#
279N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
279N/A# or http://www.opensolaris.org/os/licensing.
279N/A# See the License for the specific language governing permissions
279N/A# and limitations under the License.
279N/A#
279N/A# When distributing Covered Code, include this CDDL HEADER in each
279N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
279N/A# If applicable, add the following below this CDDL HEADER, with the
279N/A# fields enclosed by brackets "[]" replaced with your own identifying
279N/A# information: Portions Copyright [yyyy] [name of copyright owner]
279N/A#
279N/A# CDDL HEADER END
279N/A#
279N/A
1380N/A#
279N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
279N/A#
279N/A
279N/Ainclude ../../make-rules/shared-macros.mk
279N/A
1506N/ACOMPONENT_NAME= grails
1506N/ACOMPONENT_VERSION= 1.0.3
279N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
279N/ACOMPONENT_PROJECT_URL= http://grails.org/
279N/ACOMPONENT_ARCHIVE= $(COMPONENT_NAME)-src-$(COMPONENT_VERSION).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
1506N/A sha256:529e3cb766e1d49ef60f591f4b9355c5f3d090e38ba193505685cc0cdb729a59
279N/ACOMPONENT_ARCHIVE_URL= http://dist.codehaus.org/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
279N/A
1258N/Ainclude ../../make-rules/prep.mk
279N/Ainclude ../../make-rules/ant.mk
279N/Ainclude ../../make-rules/ips.mk
279N/A
279N/ACOMPONENT_PRE_BUILD_ACTION = $(MKDIR) $(@D)/tmp
279N/ACOMPONENT_BUILD_ENV += "ANT_OPTS=-Djava.io.tmpdir=$(BUILD_DIR_32)/tmp"
279N/A
1506N/A# common targets
279N/Abuild: $(BUILD_32)
279N/A
279N/A# fix names with spaces
279N/A# workaround for bug 6734267 (pkgmk does not allow spaces in file names)
279N/A# the following files are not used directly by Grails framework...
840N/A$(INSTALL_32): $(BUILD_32)
447N/A (cd $(COMPONENT_SRC)/media/icons ; \
447N/A mv 'grails - 16x16 icon.png' grails-16x16icon.png ; \
447N/A mv 'grails - 32x32 icon.png' grails-32x32icon.png ; \
447N/A mv 'grails - 48x48 icon.png' grails-48x48icon.png ; \
447N/A mv 'grails - 64x64 icon.png' grails-64x64icon.png ; \
447N/A mv 'grails - 128x128 icon.png' grails-128x128icon.png)
447N/A $(TOUCH) $@
924N/A
279N/Ainstall: $(INSTALL_32)
279N/A
279N/Atest: $(NO_TESTS)
279N/A
447N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
279N/A
1506N/Ainclude ../../make-rules/depend.mk
1506N/A