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

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

Use ${homepage} in master_sites.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.8 KB
Line 
1# $Id: Portfile 52983 2009-06-27 02:14:56Z blair@macports.org $
2
3PortSystem 1.0
4
5name            ice-java
6version         3.3.1
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        You must install the db46 port with the +java variant.
29
30homepage        http://www.zeroc.com/
31master_sites    ${homepage}download/Ice/3.3/:ice
32dist_subdir     ice-cpp
33distname        Ice-${version}
34distfiles       ${distname}${extract.suffix}:ice
35checksums       Ice-${version}.tar.gz \
36                        md5 1f37dfcec4662fcde030553fb447d064 \
37                        sha1 08d0f32bdb7d909b4a531d45cccfa97bdde649aa \
38                        rmd160 d64d52c35640cebe1145e62f57618473d17cbeb5
39platforms       darwin
40
41depends_lib     port:db46 \
42                port:ice-cpp
43depends_build   port:apache-ant \
44                port:jgoodies-forms \
45                port:jgoodies-looks \
46                port:proguard
47
48use_configure   no
49
50set classpath ${prefix}/lib/db46/db.jar:${prefix}/share/java/forms.jar:${prefix}/share/java/looks.jar:${prefix}/share/java/proguard.jar
51
52build.dir       ${worksrcpath}/java
53build.env       JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home CLASSPATH=${classpath} ICE_HOME=${prefix}
54build.cmd       ant
55build.target    clean all
56
57test.run        yes
58test.dir        ${worksrcpath}/java
59test.env        CLASSPATH=${classpath} DYLD_LIBRARY_PATH=${prefix}/lib/db46 ICE_HOME=${prefix}
60test.cmd        python
61test.target     allTests.py
62
63destroot {
64        set ice-java ${workpath}/Ice-${version}/java
65        set javadir ${destroot}${prefix}/share/java
66        set docdir ${destroot}${prefix}/share/doc/${name}
67
68        xinstall -d -m 755 ${javadir}
69        xinstall -d -m 755 ${docdir}
70
71        foreach f {ant-ice.jar Ice.jar IceGridGUI.jar} {
72                file copy ${ice-java}/lib/${f} ${javadir}/
73        }
74        file copy ${ice-java}/resources/IceGridAdmin ${docdir}/
75
76        foreach f {CHANGES ICE_LICENSE LICENSE RELEASE_NOTES} {
77                file copy ${worksrcpath}/${f} ${docdir}
78        }
79        file copy ${worksrcpath}/java/INSTALL ${docdir}
80
81        if {[variant_isset demo_source_code]} {
82                file copy ${ice-java}/demo ${docdir}/
83        }
84}
85
86variant demo_source_code description {Install demonstration Java code} {
87}
Note: See TracBrowser for help on using the repository browser.