Changeset 51276 for trunk/dports/java


Ignore:
Timestamp:
May 22, 2009, 5:40:19 AM (11 years ago)
Author:
gui_dos@…
Message:

groovy: version bump to 1.6.3 (#19618)

File:
1 edited

Legend:

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

    r50103 r51276  
    11# $Id$
    22
    3 PortSystem                      1.0
     3PortSystem 1.0
    44
    5 name                            groovy
    6 version                         1.6.2
     5name            groovy
     6version         1.6.3
     7categories      java lang
     8maintainers     nomaintainer
     9platforms       darwin
     10description     Groovy -- a Java-based scripting language
     11long_description Groovy is a new agile dynamic language for the JVM combining \
     12                lots of great features from languages like Python, Ruby and \
     13                Smalltalk and making them available to Java developers \
     14                using a Java-like syntax. \
     15                \
     16                Groovy is designed to help you get things done on the Java \
     17                platform in a quicker, more concise and fun way - bringing \
     18                the power of Python and Ruby inside the Java platform. \
     19                \
     20                Groovy can be used as an alternative compiler to javac to \
     21                generate standard Java bytecode to be used by any Java project \
     22                or it can be used dynamically as an alternative language such \
     23                as for scripting Java objects, templating or writing unit test cases.
     24homepage        http://groovy.codehaus.org/
     25distname        groovy-src-${version}
     26master_sites    http://dist.codehaus.org/groovy/distributions/
     27checksums       md5     61a2f81749d4bc5e8ab84c2a8c2eace4 \
     28                sha1    2b3648cce1369e043bf1a4130ea4a2a5c3bd6c08 \
     29                rmd160  ed236f24a3afedf8fd5e9f03cea9e1687e8719a8
     30use_zip         yes
     31depends_build   port:apache-ant
     32depends_lib     bin:java:kaffe                 
     33use_configure   no
     34worksrcdir      groovy-${version}
     35build.cmd       ant
     36build.target    install -DskipTests=true
     37destroot {
     38    set target ${destroot}${prefix}/share/java/groovy
    739
    8 categories                      java lang
    9 maintainers                     nomaintainer
    10 platforms                       darwin
    11 
    12 description                     Groovy -- a Java-based scripting language
    13 long_description        Groovy is a new agile dynamic language for the JVM combining \
    14                                         lots of great features from languages like Python, Ruby and \
    15                                         Smalltalk and making them available to Java developers \
    16                                         using a Java-like syntax. \
    17                                         \
    18                                         Groovy is designed to help you get things done on the Java \
    19                                         platform in a quicker, more concise and fun way - bringing \
    20                                         the power of Python and Ruby inside the Java platform. \
    21                                         \
    22                                         Groovy can be used as an alternative compiler to javac to \
    23                                         generate standard Java bytecode to be used by any Java project \
    24                                         or it can be used dynamically as an alternative language such \
    25                                         as for scripting Java objects, templating or writing unit test cases.
    26 homepage                        http://groovy.codehaus.org/
    27 
    28 distname                        groovy-src-${version}
    29 master_sites            http://dist.codehaus.org/groovy/distributions/
    30 
    31 checksums           md5     fcddb2f76c0f96d801ec7e84345f149b \
    32                     sha1    320d2fa94462e14f19286a8b004ab81997f6177b \
    33                     rmd160  5b2e802e466b6be563dcbf9cecec6b9ceae7f58a
    34 
    35 use_zip                         yes
    36 
    37 depends_build           port:apache-ant
    38 depends_lib                     bin:java:kaffe
    39                                        
    40 use_configure           no
    41 
    42 worksrcdir                      groovy-${version}
    43 
    44 build.cmd                       ant
    45 build.target            install -DskipTests=true
    46 
    47 destroot {
    48         set target ${destroot}${prefix}/share/java/groovy
     40    # Create the target java directory
     41    xinstall -m 755 -d ${destroot}${prefix}/share/java
    4942       
    50         # Create the target java directory
    51         xinstall -m 755 -d ${destroot}${prefix}/share/java
    52        
    53         # Copy in our directory tree
    54         file copy ${worksrcpath}/target/install ${target}
     43    # Copy in our directory tree
     44    file copy ${worksrcpath}/target/install ${target}
    5545               
    56         # Remove .bat files
    57         foreach f [glob -directory ${target}/bin *.bat] { file delete $f }
    58        
    59         # Fix permissions on the scripts,
    60         # and at the same time add symlinks to them
    61         foreach f { grape groovy groovyc groovyConsole groovysh java2groovy startGroovy } {
    62                 file attributes ${target}/bin/${f} -permissions +x
    63                 system "cd ${destroot}${prefix}/bin && ln -s ../share/java/groovy/bin/${f}"
    64         }
     46    # Remove .bat files
     47    foreach f [glob -directory ${target}/bin *.bat] { file delete $f }
     48    # Fix permissions on the scripts,
     49    # and at the same time add symlinks to them
     50    foreach f { grape groovy groovyc groovyConsole groovysh java2groovy startGroovy } {
     51        file attributes ${target}/bin/${f} -permissions +x
     52        system "cd ${destroot}${prefix}/bin && ln -s ../share/java/groovy/bin/${f}"
     53    }
    6554}
Note: See TracChangeset for help on using the changeset viewer.