[96793] trunk/dports/devel/ice-java/Portfile
blair at macports.org
blair at macports.org
Sun Aug 19 00:53:32 PDT 2012
Revision: 96793
https://trac.macports.org/changeset/96793
Author: blair at macports.org
Date: 2012-08-19 00:53:32 -0700 (Sun, 19 Aug 2012)
Log Message:
-----------
ice-java: replaced_by zeroc-ice34-java.
Modified Paths:
--------------
trunk/dports/devel/ice-java/Portfile
Modified: trunk/dports/devel/ice-java/Portfile
===================================================================
--- trunk/dports/devel/ice-java/Portfile 2012-08-19 07:51:55 UTC (rev 96792)
+++ trunk/dports/devel/ice-java/Portfile 2012-08-19 07:53:32 UTC (rev 96793)
@@ -4,8 +4,8 @@
name ice-java
version 3.4.2
-revision 1
-set branch [join [lrange [split ${version} .] 0 1] .]
+revision 2
+replaced_by zeroc-ice34-java
categories devel java
maintainers blair
license GPL-2
@@ -31,58 +31,10 @@
You must install the db46 port with the +java variant.
homepage http://www.zeroc.com/
-master_sites ${homepage}download/Ice/${branch}/
-dist_subdir zeroc-ice34
-distname Ice-${version}
-checksums md5 e97672eb4a63c6b8dd202d0773e19dc7 \
- sha1 8c84d6e3b227f583d05e08251e07047e6c3a6b42 \
- rmd160 7ce680a4eb5fa9d0bb6f8b8910e267dfc2373d75
platforms darwin
+distfiles
-depends_lib port:db46 \
- port:zeroc-ice34
-depends_build port:apache-ant \
- port:jgoodies-common \
- port:jgoodies-forms \
- port:jgoodies-looks \
- port:proguard
-
-build.dir ${worksrcpath}/java
-
-use_configure no
-
-set classpath ${prefix}/lib/db46/db.jar:${prefix}/share/java/jgoodies-common.jar:${prefix}/share/java/jgoodies-forms.jar:${prefix}/share/java/jgoodies-looks.jar:${prefix}/share/java/proguard.jar
-
-build.env JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home CLASSPATH=${classpath} ANT_OPTS=-Xmx512m 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} ANT_OPTS=-Xmx512m ICE_HOME=${prefix} DYLD_LIBRARY_PATH=${prefix}/lib/db46 USE_BIN_DIST=yes
-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}/
- }
+pre-configure {
+ ui_error "Please install zeroc-ice34-java instead."
+ return -code error "obsolete port"
}
-
-variant demo_source_code description {Install demonstration Java code} {
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120819/aebcbcc2/attachment.html>
More information about the macports-changes
mailing list