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

Last change on this file since 85001 was 85001, checked in by jmr@…, 9 years ago

gnu-classpath: license

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