1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name gnu-classpath |
---|
6 | set my_name classpath |
---|
7 | version 0.93 |
---|
8 | maintainers nomaintainer |
---|
9 | categories java |
---|
10 | platforms darwin |
---|
11 | description Essential libraries for Java. |
---|
12 | |
---|
13 | long_description \ |
---|
14 | GNU Classpath, Essential Libraries for Java, \ |
---|
15 | is a GNU project to create free core class \ |
---|
16 | libraries for use with virtual machines and \ |
---|
17 | compilers for the java programming language. |
---|
18 | |
---|
19 | homepage http://www.gnu.org/software/classpath/classpath.html |
---|
20 | master_sites gnu:${my_name} |
---|
21 | distname ${my_name}-${version} |
---|
22 | |
---|
23 | checksums sha1 336cae589ec91a4fe212c2149c57b51dab2ca002 |
---|
24 | |
---|
25 | patchfiles patch-native-jni-java-nio-Makefile.in |
---|
26 | |
---|
27 | depends_lib port:libiconv \ |
---|
28 | port:jikes |
---|
29 | |
---|
30 | configure.args --mandir=${prefix}/share/man \ |
---|
31 | --infodir=${prefix}/share/info \ |
---|
32 | --disable-gtk-peer \ |
---|
33 | --disable-gconf-peer \ |
---|
34 | --with-jikes \ |
---|
35 | --disable-plugin |
---|
36 | |
---|
37 | variant gtk { |
---|
38 | depends_lib-append port:gtk2 \ |
---|
39 | port:gconf |
---|
40 | |
---|
41 | configure.args-delete --disable-gtk-peer \ |
---|
42 | --disable-gconf-peer |
---|
43 | } |
---|
44 | |
---|
45 | post-destroot { |
---|
46 | xinstall -m 755 -d ${destroot}${prefix}/share/java |
---|
47 | move ${destroot}${prefix}/share/classpath/glibj.zip \ |
---|
48 | ${destroot}${prefix}/share/java/glibj.jar |
---|
49 | } |
---|
50 | |
---|
51 | livecheck.name ${my_name} |
---|