Ignore:
Timestamp:
Sep 18, 2014, 8:52:23 AM (6 years ago)
Author:
ryandesign@…
Message:

groovy-devel: replaced_by groovy (#41446)

Location:
trunk/dports/java/groovy-devel
Files:
1 deleted
1 edited

Legend:

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

    r125396 r125451  
    33PortSystem 1.0
    44
     5replaced_by     groovy
     6PortGroup       obsolete 1.0
     7
    58name            groovy-devel
    6 version         2.0.0-beta-2
     9version         2.1.8
    710categories      java lang
    811maintainers     nomaintainer
    912platforms       darwin
    10 description     Groovy -- a Java-based scripting language
    11 long_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.
    2413homepage        http://groovy.codehaus.org/
    25 conflicts               groovy
    26 distname        groovy-src-${version}
    27 master_sites    http://dist.codehaus.org/groovy/distributions/
    28 checksums       md5     5633778ee6d6c108cb343d74f2607167 \
    29                 sha1    d6bc8f12953e0af0d82043f42f09d5a9326cbbc0 \
    30                 rmd160  315f4515f72fe12f478a1ec6b9bcf759e85bc5c1
    31 use_configure   no
    32 worksrcdir      groovy-${version}
    33 patchfiles      patch-build-maven.xml.diff patch-settings.xml.diff
    34 extract.suffix  .zip
    35 extract.cmd     unzip
    36 extract.pre_args        -qu
    37 extract.post_args "-d ${workpath}"
    38 #extract                        yes
    39 #use_zip                        yes
    40 
    41 build.cmd       ant
    42 build.target    install -DskipTests=true
    43 destroot {
    44     set target ${destroot}${prefix}/share/java/groovy
    45 
    46     # Create the target java directory
    47     xinstall -m 755 -d ${destroot}${prefix}/share/java
    48        
    49     # Copy in our directory tree
    50     file copy ${worksrcpath}/target/install ${target}
    51                
    52     # Remove .bat files
    53     foreach f [glob -directory ${target}/bin *.bat] { file delete $f }
    54     # Fix permissions on the scripts,
    55     # and at the same time add symlinks to them
    56     foreach f { grape groovy groovyc groovyConsole groovysh java2groovy startGroovy } {
    57         file attributes ${target}/bin/${f} -permissions +x
    58         system "cd ${destroot}${prefix}/bin && ln -s ../share/java/groovy/bin/${f}"
    59     }
    60 }
Note: See TracChangeset for help on using the changeset viewer.