[131376] trunk/dports/devel/gradle-devel/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sat Jan 10 08:37:01 PST 2015
Revision: 131376
https://trac.macports.org/changeset/131376
Author: ryandesign at macports.org
Date: 2015-01-10 08:37:01 -0800 (Sat, 10 Jan 2015)
Log Message:
-----------
gradle-devel: remove unnecessary bulk of portfile, since it has been replaced by gradle
Modified Paths:
--------------
trunk/dports/devel/gradle-devel/Portfile
Modified: trunk/dports/devel/gradle-devel/Portfile
===================================================================
--- trunk/dports/devel/gradle-devel/Portfile 2015-01-10 16:19:26 UTC (rev 131375)
+++ trunk/dports/devel/gradle-devel/Portfile 2015-01-10 16:37:01 UTC (rev 131376)
@@ -4,63 +4,5 @@
replaced_by gradle
PortGroup obsolete 1.0
name gradle-devel
-version 1.0-rc-2
-revision 1
+version 2.2.1
categories devel java groovy
-maintainers nomaintainer
-description An open-source build system that is based on the Groovy language
-long_description Gradle is a build system which offers you ease, power and freedom. \
- You can choose the balance for yourself. It has powerful multi-project build \
- support. It has a layer on top of Ivy that provides a build-by-convention \
- integration for Ivy. It gives you always the choice between the flexibility \
- of Ant and the convenience of a build-by-convention behavior.
-
-homepage http://www.gradle.org/
-platforms darwin
-distname gradle-${version}-bin
-conflicts gradle
-master_sites http://services.gradle.org/distributions/
-checksums md5 60c5255b0bdc73ae88a1e7ffb9034ecb \
- sha1 7ec4e7f8430490ef07c4bc1764e4535072a9af26 \
- rmd160 882f1ccc2b6752883391e4ce981c2da8446cfb5c
-
-worksrcdir gradle-${version}
-set workTarget ""
-
-use_zip yes
-use_configure no
-
-build.cmd true
-
-platform darwin {
- build.env JAVA_HOME=/Library/Java/Home
-}
-
-pre-destroot {
- # Remove extraneous bat files
- foreach f [glob -directory ${worksrcpath}${workTarget}/bin *.bat] {
- file delete $f
- }
-}
-
-destroot {
- # Create the target java directory
- xinstall -m 755 -d ${destroot}${prefix}/share/java/gradle
-
- # Copy over the needed elements of our directory tree
- file copy ${worksrcpath}/bin \
- ${worksrcpath}/lib \
- ${worksrcpath}/LICENSE \
- ${worksrcpath}/NOTICE \
- ${destroot}${prefix}/share/java/gradle
-
- # Symlink gradle into the bin directory
- system "cd ${destroot}${prefix}/bin && ln -s ${prefix}/share/java/gradle/bin/gradle"
-}
-
-post-activate {
- ui_msg "****************************************************************************"
- ui_msg "* Remember to set the environment variable GRADLE_HOME to the path to"
- ui_msg "* the gradle distribution: ${prefix}/share/java/gradle"
- ui_msg "****************************************************************************"
- }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150110/87db434e/attachment.html>
More information about the macports-changes
mailing list