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