source: trunk/dports/lang/groovy/Portfile @ 141685

Last change on this file since 141685 was 141685, checked in by khindenburg@…, 4 years ago

groovy: update to 2.4.5 maintainer #49392

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1# $Id: Portfile 141685 2015-10-26 20:09:58Z khindenburg@macports.org $
2
3PortSystem 1.0
4
5name            groovy
6version         2.4.5
7
8categories      lang java
9maintainers     breun.nl:nils openmaintainer
10platforms       darwin
11license         Apache-2
12supported_archs noarch
13
14description     Groovy -- a Java-based scripting language
15
16long_description Groovy... \
17                * is an agile and dynamic language for the Java Virtual Machine \
18                * builds upon the strengths of Java but has additional power \
19                  features inspired by languages like Python, Ruby and Smalltalk \
20                * makes modern programming features available to Java developers \
21                  with almost-zero learning curve \
22                * provides the ability to statically type check and statically \
23                  compile your code for robustness and performance \
24                * supports Domain-Specific Languages and other compact syntax so \
25                  your code becomes easy to read and maintain \
26                * makes writing shell and build scripts easy with its powerful \
27                  processing primitives, OO abilities and an Ant DSL \
28                * increases developer productivity by reducing scaffolding code \
29                  when developing web, GUI, database or console applications \
30                * simplifies testing by supporting unit testing and mocking \
31                  out-of-the-box \
32                * seamlessly integrates with all existing Java classes and \
33                  libraries \
34                * compiles straight to Java bytecode so you can use it anywhere \
35                  you can use Java
36
37homepage        http://groovy-lang.org/
38master_sites    http://dl.bintray.com/${name}/maven/
39distname        apache-${name}-binary-${version}
40use_zip         yes
41
42checksums       rmd160  87ea07599dd100dedda57dbac86a3036029134f7 \
43                sha256  87e8e9af1f718b84c9bca5a8c42425aadb9e97d8e4ad64e0c91f7c1454cd4caa
44
45worksrcdir      ${name}-${version}
46
47use_configure   no
48
49build {}
50
51destroot {
52    set target ${destroot}${prefix}/share/java/${name}
53
54    # Create the target java directory
55    xinstall -m 755 -d ${target}
56
57    # Copy over the needed elements of our directory tree
58    foreach d { bin conf embeddable indy lib } {
59        copy ${worksrcpath}/${d} ${target}
60    }
61
62    # Remove extraneous bat files
63    foreach f [glob -directory ${target}/bin *.bat] {
64        delete ${f}
65    }
66
67    # Add symlinks to the scripts
68    foreach f { grape groovy groovyConsole groovyc groovydoc groovysh java2groovy startGroovy } {
69        ln -s ../share/java/${name}/bin/${f} ${destroot}${prefix}/bin
70    }
71}
72
73livecheck.regex ${name}-binary-(\[\\d\.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.