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

Last change on this file since 33473 was 33473, checked in by nox@…, 12 years ago

gnu-classpath:

  • Use GNU livecheck from base/.
  • Use move instead of file rename.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 33473 2008-01-27 15:29:04Z nox@macports.org $
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
29configure.args  --mandir=${prefix}/share/man \
30                --infodir=${prefix}/share/info \
31                --disable-gtk-peer \
32                --disable-gconf-peer \
33                --with-jikes \
34                --disable-plugin
35
36variant gtk {
37    depends-lib-append  port:gtk2 \
38                        port:gconf
39
40    configure-delete    --disable-gtk-peer \
41                        --disable-gconf-peer
42}
43
44post-destroot {
45    xinstall -m 755 -d ${destroot}${prefix}/share/java
46    move ${destroot}${prefix}/share/classpath/glibj.zip \
47        ${destroot}${prefix}/share/java/glibj.jar
48}
49
50platform darwin 7 {
51    # jikes on 10.3 is < 1.22
52    depends_build-append    port:jikes
53}
54
55livecheck.name  ${my_name}
Note: See TracBrowser for help on using the repository browser.