You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
85 lines
3.1 KiB
Plaintext
85 lines
3.1 KiB
Plaintext
PortSystem 1.0
|
|
|
|
name zeroc-ice33-java
|
|
version 3.3.1
|
|
revision 1
|
|
set branch [join [lrange [split ${version} .] 0 1] .]
|
|
categories java devel
|
|
maintainers nomaintainer
|
|
conflicts zeroc-ice34-java zeroc-ice35-java
|
|
license GPL-2
|
|
description Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
|
|
|
|
long_description \
|
|
The Internet Communications Engine (Ice) is a modern alternative to \
|
|
object middleware such as CORBA or COM/DCOM/COM+, with support for \
|
|
C++, C#, Java, PHP, Python, Ruby and Visual Basic. \
|
|
Ice consists of the following packages. \
|
|
Slice: The Specification Language for Ice. Slice establishes a \
|
|
contract between clients and servers, and is also used to describe \
|
|
persistent data. \
|
|
Slice Compilers: Slice specifications are compiled into various \
|
|
programming languages. Ice supports C++, Java, C#, Visual Basic, PHP, \
|
|
Python and Ruby. Ice clients and servers work together, regardless \
|
|
of the programming language. \
|
|
Ice: The Ice core library manages all the communication tasks using a \
|
|
highly efficient protocol (including protocol compression and support \
|
|
for both TCP and UDP), provides a flexible thread pool for \
|
|
multi-threaded servers. \
|
|
This Port provides the Java runtime and bindings.
|
|
|
|
homepage http://www.zeroc.com/
|
|
master_sites ${homepage}download/Ice/${branch}/
|
|
dist_subdir zeroc-ice33
|
|
distname Ice-${version}
|
|
checksums md5 1f37dfcec4662fcde030553fb447d064 \
|
|
sha1 08d0f32bdb7d909b4a531d45cccfa97bdde649aa \
|
|
rmd160 d64d52c35640cebe1145e62f57618473d17cbeb5
|
|
platforms darwin
|
|
|
|
depends_lib port:db46-java \
|
|
port:zeroc-ice33
|
|
depends_build port:apache-ant \
|
|
port:jgoodies-forms \
|
|
port:jgoodies-looks \
|
|
port:proguard
|
|
|
|
use_configure no
|
|
|
|
set classpath ${prefix}/lib/db46/db.jar:${prefix}/share/java/jgoodies-forms.jar:${prefix}/share/java/jgoodies-looks.jar:${prefix}/share/java/proguard.jar
|
|
|
|
build.dir ${worksrcpath}/java
|
|
build.env JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home CLASSPATH=${classpath} ICE_HOME=${prefix}
|
|
build.cmd ant
|
|
build.target clean all
|
|
|
|
test.run yes
|
|
test.env JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home CLASSPATH=${classpath} ICE_HOME=${prefix} DYLD_LIBRARY_PATH=${prefix}/lib/db46
|
|
test.cmd python
|
|
test.target allTests.py
|
|
|
|
destroot {
|
|
set javadir ${destroot}${prefix}/share/java
|
|
set docdir ${destroot}${prefix}/share/doc/${name}
|
|
|
|
xinstall -d -m 755 ${javadir}
|
|
xinstall -d -m 755 ${docdir}
|
|
|
|
foreach f {ant-ice.jar Ice.jar IceGridGUI.jar} {
|
|
file copy ${build.dir}/lib/${f} ${javadir}/
|
|
}
|
|
file copy ${build.dir}/resources/IceGridAdmin ${docdir}/
|
|
|
|
foreach f {CHANGES ICE_LICENSE LICENSE RELEASE_NOTES} {
|
|
file copy ${worksrcpath}/${f} ${docdir}
|
|
}
|
|
file copy ${build.dir}/INSTALL ${docdir}
|
|
|
|
if {[variant_isset demo_source_code]} {
|
|
file copy ${build.dir}/demo ${docdir}/
|
|
}
|
|
}
|
|
|
|
variant demo_source_code description {Install demonstration Java code} {
|
|
}
|