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

Last change on this file since 75972 was 38136, checked in by ryandesign@…, 11 years ago

eclipse-ecj32: r35799 broke the port again when the prefix is not /opt/local. Fixing again.

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