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

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

gnu-classpath: Whitespace changes.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 33472 2008-01-27 15:26:54Z nox@macports.org $
2
3PortSystem      1.0
4
5name            gnu-classpath
6version         0.93
7maintainers     nomaintainer
8categories      java
9platforms       darwin
10description     Essential libraries for Java.
11
12long_description \
13    GNU Classpath, Essential Libraries for Java, \
14    is a GNU project to create free core class \
15    libraries for use with virtual machines and \
16    compilers for the java programming language.
17
18homepage        http://www.gnu.org/software/classpath/classpath.html
19master_sites    gnu:classpath
20distname        classpath-${version}
21
22checksums       sha1 336cae589ec91a4fe212c2149c57b51dab2ca002
23
24patchfiles      patch-native-jni-java-nio-Makefile.in
25
26depends_lib     port:libiconv
27
28configure.args  --mandir=${prefix}/share/man \
29                --infodir=${prefix}/share/info \
30                --disable-gtk-peer \
31                --disable-gconf-peer \
32                --with-jikes \
33                --disable-plugin
34
35variant gtk {
36    depends-lib-append  port:gtk2 \
37                        port:gconf
38
39    configure-delete    --disable-gtk-peer \
40                        --disable-gconf-peer
41}
42
43post-destroot {
44    xinstall -m 755 -d ${destroot}${prefix}/share/java
45    file rename ${destroot}${prefix}/share/classpath/glibj.zip \
46        ${destroot}${prefix}/share/java/glibj.jar
47}
48
49platform darwin 7 {
50    # jikes on 10.3 is < 1.22
51    depends_build   port:jikes
52}
53
54livecheck.check regex
55livecheck.url   http://ftp.gnu.org/gnu/classpath/?C=M&O=D
56livecheck.regex classpath-(\[0-9.\]+)\\.
Note: See TracBrowser for help on using the repository browser.