source: trunk/dports/java/eclipse-ecj32/Portfile

Last change on this file was 121766, checked in by jmr@…, 3 years ago

eclipse-ecj32: license, noarch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 121766 2014-07-07 17:29:40Z ryandesign@macports.org $
2
3PortSystem              1.0
4
5name                    eclipse-ecj32
6version                 3.2.2-200702121330
7revision                4
8categories              java
9license                 EPL-1
10maintainers             gmail.com:mvfranz openmaintainer
11platforms               darwin
12supported_archs         noarch
13distname                ecjsrc
14use_zip                 yes
15extract.mkdir           yes
16worksrcdir              eclipse-ecj
17use_configure           no
18
19description             Eclipse java bytecode compiler
20long_description        Eclipse java bytecode compiler
21
22homepage                http://www.eclipse.org/
23master_sites            http://download.eclipse.org/eclipse/downloads/drops/R-${version} \
24                        http://archive.eclipse.org/eclipse/downloads/drops/R-${version}
25
26checksums               md5 f9d7b548658c84231b00fada8d4b4f1b \
27                        sha1 50f6b20a1542176e46d48fa522b9f24b2399878b \
28                        rmd160 f49f0b5a24a509e46ecd44da82d79f98f4391c34
29
30depends_build           port:apache-ant
31depends_lib             bin:java:kaffe
32
33post-patch {
34    copy ${filespath}/build.xml ${worksrcpath}
35    copy ${filespath}/ecj.in ${worksrcpath}/ecj
36    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/ecj
37    file mkdir ${worksrcpath}/META-INF
38    copy ${filespath}/MANIFEST.MF ${worksrcpath}/META-INF
39}
40
41build.cmd               ${prefix}/bin/ant
42build.target            build
43
44destroot {
45    xinstall -d ${destroot}${prefix}/share/java
46    xinstall -W ${worksrcpath} eclipse-ecj.jar ${destroot}${prefix}/share/java
47    xinstall -W ${worksrcpath} ecj ${destroot}${prefix}/bin
48}
Note: See TracBrowser for help on using the repository browser.