Ignore:
Timestamp:
Mar 26, 2006, 5:00:05 PM (13 years ago)
Author:
jberry
Message:

Update groovy --> 1.0-jsr-05
Resolves bug #7819

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/groovy/Portfile

    r13920 r17177  
    1 # $Id: Portfile,v 1.4 2005/09/06 04:41:53 jberry Exp $
     1# $Id: Portfile,v 1.5 2006/03/26 17:00:05 jberry Exp $
    22
    33PortSystem                      1.0
    44
    55name                            groovy
    6 version                         1.0-jsr-03
     6version                         1.0-jsr-05
    77
    88categories                      java lang
     
    2424                                        or it can be used dynamically as an alternative language such \
    2525                                        as for scripting Java objects, templating or writing unit test cases.
     26homepage                        http://groovy.codehaus.org/
    2627
    2728distname                        ${name}-${version}-src
    2829master_sites            http://dist.codehaus.org/groovy/distributions/
    29 checksums                       md5 54d7c8347ccf31ea61b7ec642ce2c731
     30checksums                       md5 6e3a9f279d3b4d169b7cd75624a6aac7
    3031
    3132depends_build           bin:ant:apache-ant \
     
    4243post-patch {
    4344        reinplace /<wiki2testcase/d ${worksrcpath}/maven.xml
    44        
    45         # Fix improper DOS line endings on some of the script files
    46         foreach f { groovy groovyConsole groovysh } {
    47                 set script "${worksrcpath}/src/bin/$f"
    48                 system "tmpfile=`mktemp -t groovy` && cat $script | tr -d '\r' > \$tmpfile && cat \$tmpfile > $script && rm \$tmpfile"
    49         }
    5045}
    5146
     
    6459        # Fix permissions on the scripts,
    6560        # and at the same time add symlinks to them
    66         foreach f { grok groovy groovyc groovyConsole groovysh } {
     61        foreach f { grok groovy groovyc groovyConsole groovysh startGroovy } {
    6762                file attributes ${target}/bin/${f} -permissions +x
    6863                system "cd ${destroot}${prefix}/bin && ln -s ../share/java/${name}/bin/${f}"
Note: See TracChangeset for help on using the changeset viewer.