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