1 | # $Id: Portfile 30199 2007-10-22 21:00:27Z jmpp@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name eclipse-ecj32 |
---|
6 | version 3.2.2-200702121330 |
---|
7 | revision 1 |
---|
8 | |
---|
9 | categories java |
---|
10 | maintainers |
---|
11 | platforms darwin |
---|
12 | |
---|
13 | description Eclipse java bytecode compiler |
---|
14 | long_description Eclipse java bytecode compiler |
---|
15 | |
---|
16 | homepage http://www.eclipse.org/ |
---|
17 | master_sites http://download.eclipse.org/eclipse/downloads/drops/R-${version} \ |
---|
18 | http://archive.eclipse.org/eclipse/downloads/drops/R-${version} |
---|
19 | |
---|
20 | distname ecjsrc |
---|
21 | use_zip yes |
---|
22 | |
---|
23 | checksums md5 f9d7b548658c84231b00fada8d4b4f1b |
---|
24 | |
---|
25 | depends_build bin:ant:apache-ant |
---|
26 | depends_lib bin:java:kaffe |
---|
27 | #depends_run |
---|
28 | |
---|
29 | #worksrcdir eclipse-ecj_${ver2} |
---|
30 | extract.mkdir yes |
---|
31 | worksrcdir eclipse-ecj |
---|
32 | use_configure no |
---|
33 | |
---|
34 | post-patch { |
---|
35 | copy ${filespath}/build.xml ${worksrcpath} |
---|
36 | } |
---|
37 | |
---|
38 | build.cmd ant |
---|
39 | build.target build |
---|
40 | |
---|
41 | destroot { |
---|
42 | xinstall -m 755 -d ${destroot}${prefix}/share/java |
---|
43 | xinstall -m 644 \ |
---|
44 | ${worksrcpath}/ecj.jar \ |
---|
45 | ${destroot}${prefix}/share/java/ |
---|
46 | } |
---|