2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2016-2017 Jim Klimov
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= groovy
19 COMPONENT_MAJOR_VERSION
= 2.4
20 COMPONENT_MINOR_VERSION
= 12
22 COMPONENT_VERSION
= $(COMPONENT_MAJOR_VERSION
).
$(COMPONENT_MINOR_VERSION
)
23 COMPONENT_ARCHIVE
= apache-
$(COMPONENT_NAME
)-binary-
$(COMPONENT_VERSION
).zip
24 COMPONENT_FMRI
= developer
/groovy-24
25 COMPONENT_CLASSIFICATION
= Development
/Java
26 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
27 COMPONENT_PROJECT_URL
= http
://groovy-lang.org
/
28 COMPONENT_ARCHIVE_HASH
= \
29 sha256
:93b9a19c760c2af846afa0e9c78692d70186cdde36e070e9806fe11b84a8a7b6
30 COMPONENT_ARCHIVE_URL
=\
31 https
://bintray.com
/artifact
/download
/groovy
/maven
/$(COMPONENT_ARCHIVE
)
32 COMPONENT_LICENSE
= Apache-2.0
,BSD
,MIT
,Eclipse
,PublicDomain
33 COMPONENT_LICENSE_FILE
= LICENSE
34 COMPONENT_SUMMARY
= Groovy is a Java-based scripting language
36 TEST_TARGET
=$(NO_TESTS
)
37 include $(WS_MAKE_RULES
)/common.mk
41 COMPONENT_PREP_ACTION
+= ($(CP
) $(COMPONENT_DIR
)/files
/Makefile
$(SOURCE_DIR
))
43 COMPONENT_COPY_ACTION
= $(CP
) -r
$(SOURCE_DIR
)/* $(@D
)/
45 COMPONENT_INSTALL_ENV
+= GROOVY_MAJOR_VERSION
=$(COMPONENT_MAJOR_VERSION
)
47 COMPONENT_POST_INSTALL_ACTION
= $(FIND
) $(PROTO_DIR
) -name \
*.bat
-delete
49 REQUIRED_PACKAGES
+= SUNWcs
50 REQUIRED_PACKAGES
+= developer
/java
/openjdk7
51 REQUIRED_PACKAGES
+= developer
/java
/openjdk8
52 REQUIRED_PACKAGES
+= runtime
/java
/openjdk7
53 REQUIRED_PACKAGES
+= runtime
/java
/openjdk8
54 REQUIRED_PACKAGES
+= system
/library