Ticket #27741: Portfile-gnu-classpath

File Portfile-gnu-classpath, 1.4 KB (added by chicagotripp (Altoine Barker), 14 years ago)
Line 
1# $Id$
2
3PortSystem      1.0
4
5name            gnu-classpath
6set my_name     classpath
7version         0.93
8maintainers     nomaintainer
9categories      java
10platforms       darwin
11description     Essential libraries for Java.
12
13long_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
19homepage        http://www.gnu.org/software/classpath/classpath.html
20master_sites    gnu:${my_name}
21distname        ${my_name}-${version}
22
23checksums       sha1 336cae589ec91a4fe212c2149c57b51dab2ca002
24
25patchfiles      patch-native-jni-java-nio-Makefile.in
26
27depends_lib     port:libiconv \
28                port:jikes
29
30configure.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
37variant gtk {
38    depends_lib-append      port:gtk2 \
39                            port:gconf
40
41    configure.args-delete   --disable-gtk-peer \
42                            --disable-gconf-peer
43}
44
45post-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
51livecheck.name  ${my_name}