source: trunk/dports/java/gnu-classpath/Portfile

Last change on this file was 100288, checked in by ryandesign@…, 5 years ago

gnu-classpath: update to 0.99, including an upstream patch to fix a build failure on OS X

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 100288 2012-12-07 10:28:03Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            gnu-classpath
6set my_name     classpath
7version         0.99
8maintainers     nomaintainer
9categories      java
10# has a runtime exception similar to gcc's
11license         {GPL-2+ Permissive}
12platforms       darwin
13description     Essential libraries for Java.
14
15long_description \
16    GNU Classpath, Essential Libraries for Java, \
17    is a GNU project to create free core class \
18    libraries for use with virtual machines and \
19    compilers for the java programming language.
20
21homepage        http://www.gnu.org/software/classpath/classpath.html
22master_sites    gnu:${my_name}
23distname        ${my_name}-${version}
24
25checksums       rmd160  eb1d9c93b3c3acaaa3e0cba69a8935d44812e181 \
26                sha256  f929297f8ae9b613a1a167e231566861893260651d913ad9b6c11933895fecc8
27
28patchfiles      patch-native-jni-java-nio-Makefile.in
29patchfiles-append patch-native-jni-java-io-java_io_VMConsole.c.diff
30
31depends_build   port:antlr
32depends_lib     port:libiconv
33
34configure.args  --mandir=${prefix}/share/man \
35                --infodir=${prefix}/share/info \
36                --disable-gtk-peer \
37                --disable-gconf-peer \
38                --disable-plugin \
39                --with-antlr-jar=${prefix}/lib/antlr.jar
40
41variant gtk {
42    depends_lib-append      port:gtk2 \
43                            port:gconf
44
45    configure.args-delete   --disable-gtk-peer \
46                            --disable-gconf-peer
47}
48
49post-destroot {
50    xinstall -m 755 -d ${destroot}${prefix}/share/java
51    move ${destroot}${prefix}/share/classpath/glibj.zip \
52        ${destroot}${prefix}/share/java/glibj.jar
53    ln ${destroot}${prefix}/share/java/glibj.jar ${destroot}${prefix}/share/classpath/glibj.zip
54}
55
56livecheck.name  ${my_name}
Note: See TracBrowser for help on using the repository browser.