source: trunk/dports/devel/ice-java/Portfile @ 37184

Last change on this file since 37184 was 37184, checked in by blair@…, 11 years ago

New upstream 3.3.0 release of Ice for Java.

  • ice-java/files: Remove this directory since all patches are in the released version.
  • ice-java/Portfile: Updated portfile. Use Java 1.5 to compile Ice.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.7 KB
Line 
1# $Id: Portfile 37184 2008-05-29 06:06:50Z blair@macports.org $
2
3PortSystem 1.0
4
5name            ice-java
6version         3.3.0
7categories      devel java
8maintainers     blair
9description     Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
10
11long_description \
12        The Internet Communications Engine (Ice) is a modern alternative to \
13        object middleware such as CORBA or COM/DCOM/COM+, with support for \
14        C++, C#, Java, PHP, Python, Ruby and Visual Basic. \
15        Ice consists of the following packages. \
16        Slice: The Specification Language for Ice.  Slice establishes a \
17        contract between clients and servers, and is also used to describe \
18        persistent data. \
19        Slice Compilers: Slice specifications are compiled into various \
20        programming languages. Ice supports C++, Java, C#, Visual Basic, PHP, \
21        Python and Ruby.  Ice clients and servers work together, regardless \
22        of the programming language. \
23        Ice: The Ice core library manages all the communication tasks using a \
24        highly efficient protocol (including protocol compression and support \
25        for both TCP and UDP), provides a flexible thread pool for \
26        multi-threaded servers. \
27        This Port provides the Java runtime and bindings.
28
29homepage        http://www.zeroc.com/
30master_sites    http://www.zeroc.com/download/Ice/3.3/
31dist_subdir     ice-cpp
32distname        Ice-${version}
33checksums       md5 0500306d9cdbc0fbb553fbb529de557a \
34                sha1 b599c3a4d1d3006b868bf2cbcd8e2a2d4575fb22 \
35                rmd160 e85b37c93f12d9ae97c6b7b2f64f506fa051e4f8
36platforms       darwin
37
38depends_lib     port:db46 \
39                port:ice-cpp
40depends_build   port:apache-ant \
41                port:jgoodies-forms \
42                port:jgoodies-looks \
43                port:proguard
44
45use_configure   no
46
47set classpath ${prefix}/lib/db46/db.jar:${prefix}/share/java/forms.jar:${prefix}/share/java/looks.jar:${prefix}/share/java/proguard.jar
48
49build.dir       ${worksrcpath}/java
50build.env       JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home CLASSPATH=${classpath} ICE_HOME=${prefix}
51build.cmd       ant
52build.target    clean all
53
54test.run        yes
55test.dir        ${worksrcpath}/java
56test.env        CLASSPATH=${classpath} DYLD_LIBRARY_PATH=${prefix}/lib/db46 ICE_HOME=${prefix}
57test.cmd        python
58test.target     allTests.py
59
60destroot {
61        set ice-java ${workpath}/Ice-${version}/java
62        set javadir ${destroot}${prefix}/share/java
63        set docdir ${destroot}${prefix}/share/doc/${name}
64
65        xinstall -d -m 755 ${javadir}
66        xinstall -d -m 755 ${docdir}
67
68        foreach f {ant-ice.jar Ice.jar IceGridGUI.jar} {
69                file copy ${ice-java}/lib/${f} ${javadir}/
70        }
71        file copy ${ice-java}/resources/IceGridAdmin ${docdir}/
72
73        foreach f {CHANGES ICE_LICENSE LICENSE RELEASE_NOTES} {
74                file copy ${worksrcpath}/${f} ${docdir}
75        }
76        file copy ${worksrcpath}/java/INSTALL ${docdir}
77
78        if {[variant_isset demo_source_code]} {
79                file copy ${ice-java}/demo ${docdir}/
80        }
81}
82
83variant demo_source_code description {Install demonstration Java code} {
84}
Note: See TracBrowser for help on using the repository browser.