[125451] trunk/dports/java
ryandesign at macports.org
ryandesign at macports.org
Thu Sep 18 01:52:23 PDT 2014
Revision: 125451
https://trac.macports.org/changeset/125451
Author: ryandesign at macports.org
Date: 2014-09-18 01:52:23 -0700 (Thu, 18 Sep 2014)
Log Message:
-----------
groovy-devel: replaced_by groovy (#41446)
Modified Paths:
--------------
trunk/dports/java/groovy/Portfile
trunk/dports/java/groovy-devel/Portfile
Removed Paths:
-------------
trunk/dports/java/groovy-devel/files/
Modified: trunk/dports/java/groovy/Portfile
===================================================================
--- trunk/dports/java/groovy/Portfile 2014-09-18 08:46:04 UTC (rev 125450)
+++ trunk/dports/java/groovy/Portfile 2014-09-18 08:52:23 UTC (rev 125451)
@@ -26,7 +26,6 @@
distname groovy-src-${version}
master_sites http://dist.codehaus.org/groovy/distributions/
license Apache-2
-conflicts groovy-devel
use_zip yes
checksums rmd160 b1fd6a0e022565be74db240050bd1b21e2099ea3 \
Modified: trunk/dports/java/groovy-devel/Portfile
===================================================================
--- trunk/dports/java/groovy-devel/Portfile 2014-09-18 08:46:04 UTC (rev 125450)
+++ trunk/dports/java/groovy-devel/Portfile 2014-09-18 08:52:23 UTC (rev 125451)
@@ -2,59 +2,12 @@
PortSystem 1.0
+replaced_by groovy
+PortGroup obsolete 1.0
+
name groovy-devel
-version 2.0.0-beta-2
+version 2.1.8
categories java lang
maintainers nomaintainer
platforms darwin
-description Groovy -- a Java-based scripting language
-long_description Groovy is a new agile dynamic language for the JVM combining \
- lots of great features from languages like Python, Ruby and \
- Smalltalk and making them available to Java developers \
- using a Java-like syntax. \
- \
- Groovy is designed to help you get things done on the Java \
- platform in a quicker, more concise and fun way - bringing \
- the power of Python and Ruby inside the Java platform. \
- \
- Groovy can be used as an alternative compiler to javac to \
- generate standard Java bytecode to be used by any Java project \
- or it can be used dynamically as an alternative language such \
- as for scripting Java objects, templating or writing unit test cases.
homepage http://groovy.codehaus.org/
-conflicts groovy
-distname groovy-src-${version}
-master_sites http://dist.codehaus.org/groovy/distributions/
-checksums md5 5633778ee6d6c108cb343d74f2607167 \
- sha1 d6bc8f12953e0af0d82043f42f09d5a9326cbbc0 \
- rmd160 315f4515f72fe12f478a1ec6b9bcf759e85bc5c1
-use_configure no
-worksrcdir groovy-${version}
-patchfiles patch-build-maven.xml.diff patch-settings.xml.diff
-extract.suffix .zip
-extract.cmd unzip
-extract.pre_args -qu
-extract.post_args "-d ${workpath}"
-#extract yes
-#use_zip yes
-
-build.cmd ant
-build.target install -DskipTests=true
-destroot {
- set target ${destroot}${prefix}/share/java/groovy
-
- # Create the target java directory
- xinstall -m 755 -d ${destroot}${prefix}/share/java
-
- # Copy in our directory tree
- file copy ${worksrcpath}/target/install ${target}
-
- # Remove .bat files
- foreach f [glob -directory ${target}/bin *.bat] { file delete $f }
- # Fix permissions on the scripts,
- # and at the same time add symlinks to them
- foreach f { grape groovy groovyc groovyConsole groovysh java2groovy startGroovy } {
- file attributes ${target}/bin/${f} -permissions +x
- system "cd ${destroot}${prefix}/bin && ln -s ../share/java/groovy/bin/${f}"
- }
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140918/07ac35bc/attachment-0001.html>
More information about the macports-changes
mailing list