Ticket #13999: Portfile

File Portfile, 1020 bytes (added by mvfranz@…, 16 years ago)

Portfile with patch-file copy

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