[133996] trunk/dports/lang/groovy/Portfile

larryv at macports.org larryv at macports.org
Mon Mar 16 17:06:59 PDT 2015


Revision: 133996
          https://trac.macports.org/changeset/133996
Author:   larryv at macports.org
Date:     2015-03-16 17:06:59 -0700 (Mon, 16 Mar 2015)
Log Message:
-----------
groovy: Use `name` where appropriate (#46645)

Modified Paths:
--------------
    trunk/dports/lang/groovy/Portfile

Modified: trunk/dports/lang/groovy/Portfile
===================================================================
--- trunk/dports/lang/groovy/Portfile	2015-03-16 23:48:43 UTC (rev 133995)
+++ trunk/dports/lang/groovy/Portfile	2015-03-17 00:06:59 UTC (rev 133996)
@@ -28,14 +28,14 @@
                 as for scripting Java objects, templating or writing unit test cases.
 
 homepage        http://groovy.codehaus.org/
-master_sites    http://dl.bintray.com/groovy/maven/
-distname        groovy-binary-${version}
+master_sites    http://dl.bintray.com/${name}/maven/
+distname        ${name}-binary-${version}
 use_zip         yes
 
 checksums       rmd160  c33b1da017aa38d85e29ffbd17a66bc27ee22b7c \
                 sha256  8840d120bb84d39836f08492ac2f6caefefc03ffe957031a6bbfada055d53619
 
-worksrcdir      groovy-${version}
+worksrcdir      ${name}-${version}
 
 use_configure   no
 
@@ -59,8 +59,8 @@
 
     # Add symlinks to the scripts
     foreach f { grape groovy groovyConsole groovyc groovydoc groovysh java2groovy startGroovy } {
-        ln -s ../share/java/groovy/bin/${f} ${destroot}${prefix}/bin
+        ln -s ../share/java/${name}/bin/${f} ${destroot}${prefix}/bin
     }
 }
 
-livecheck.regex groovy-binary-(\[\\d\.\]+)${extract.suffix}
+livecheck.regex ${name}-binary-(\[\\d\.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150316/85be6024/attachment.html>


More information about the macports-changes mailing list