[23806] trunk/dports/devel
source_changes at macosforge.org
source_changes at macosforge.org
Mon Apr 9 22:07:14 PDT 2007
Revision: 23806
http://trac.macosforge.org/projects/macports/changeset/23806
Author: blair at macports.org
Date: 2007-04-09 22:07:13 -0700 (Mon, 09 Apr 2007)
Log Message:
-----------
New port for the ICE 3.2.0 C++ libraries, runtime and slice2*
executables.
Added Paths:
-----------
trunk/dports/devel/ice-cpp/
trunk/dports/devel/ice-cpp/Portfile
trunk/dports/devel/ice-cpp/files/
trunk/dports/devel/ice-cpp/files/patch-config.Make.rules
trunk/dports/devel/ice-cpp/files/patch-config.Make.rules.Darwin
Added: trunk/dports/devel/ice-cpp/Portfile
===================================================================
--- trunk/dports/devel/ice-cpp/Portfile (rev 0)
+++ trunk/dports/devel/ice-cpp/Portfile 2007-04-10 05:07:13 UTC (rev 23806)
@@ -0,0 +1,112 @@
+# $Id$
+
+PortSystem 1.0
+name ice-cpp
+version 3.2.0
+categories devel
+maintainers blair at orcaware.com
+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 C++ runtime libraries, the core Slice files \
+ and slice2cpp. It also includes the slice compilers for all the \
+ other languages: slice2cs, slice2java, slice2py, slice2rb and slice2vb.
+
+homepage http://www.zeroc.com/
+master_sites http://www.zeroc.com/download/Ice/3.2/
+distname Ice-${version}
+checksums md5 a5287d0c17fb8568ba52d31ef560c9d3 \
+ sha1 e3b91f14f280a2df78ec5bfed2d9c7e97890ea51 \
+ rmd160 b11fc5718f4c86b349bf0ddc15d7cf402720a013
+platforms darwin
+
+depends_lib port:db45 \
+ port:expat \
+ port:openssl \
+ port:readline
+
+patchfiles patch-config.Make.rules \
+ patch-config.Make.rules.Darwin
+
+use_configure no
+
+build.target prefix="${prefix}" \
+ embedded_runpath_prefix="${prefix}" \
+ OPTIMIZE="yes" \
+ BZIP2_HOME="${prefix}" \
+ DB_HOME="${prefix}" \
+ EXPAT_HOME="${prefix}" \
+ OPENSSL_HOME="${prefix}" \
+ READLINE_HOME="${prefix}" \
+ USE_READLINE=yes \
+ all
+
+test.run yes
+test.target test
+
+destroot.target prefix="${destroot}${prefix}" \
+ embedded_runpath_prefix="${prefix}" \
+ OPTIMIZE="yes" \
+ BZIP2_HOME="${prefix}" \
+ DB_HOME="${prefix}" \
+ EXPAT_HOME="${prefix}" \
+ OPENSSL_HOME="${prefix}" \
+ READLINE_HOME="${prefix}" \
+ USE_READLINE=yes \
+ install
+
+post-destroot {
+ cd ${destroot}${prefix}
+
+ file rename include ice
+ xinstall -d -m 755 include
+ file rename ice include/
+
+ xinstall -d -m 755 share/ice
+ file rename slice share/ice/
+ file rename config share/ice/
+
+ xinstall -m 755 -d share/doc/ice-cpp
+ file rename doc/reference share/doc/ice-cpp/reference
+ file rename ICE_LICENSE share/doc/ice-cpp/
+ file rename LICENSE share/doc/ice-cpp/
+
+ cd ${destroot}${prefix}/share/doc/ice-cpp
+ foreach f {CHANGES INSTALL.MACOSX README} {
+ file copy ${worksrcpath}/${f} .
+ }
+
+ if {[variant_isset demo_source_code]} {
+ file copy ${worksrcpath}/demo .
+ }
+}
+
+platform darwin 7 {
+ build.env-append CPP=/usr/bin/cpp-3.3 \
+ CC=/usr/bin/gcc-3.3 \
+ CXX=/usr/bin/g++-3.3
+}
+
+platform darwin 8 {
+ build.env-append CPP=/usr/bin/cpp-4.0 \
+ CC=/usr/bin/gcc-4.0 \
+ CXX=/usr/bin/g++-4.0
+}
+
+variant demo_source_code {
+}
Property changes on: trunk/dports/devel/ice-cpp/Portfile
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
Added: trunk/dports/devel/ice-cpp/files/patch-config.Make.rules
===================================================================
--- trunk/dports/devel/ice-cpp/files/patch-config.Make.rules (rev 0)
+++ trunk/dports/devel/ice-cpp/files/patch-config.Make.rules 2007-04-10 05:07:13 UTC (rev 23806)
@@ -0,0 +1,15 @@
+--- config/Make.rules.FCS 2007-03-08 15:16:54.000000000 -0800
++++ config/Make.rules 2007-04-08 09:32:33.000000000 -0700
+@@ -180,9 +180,9 @@
+ BZIP2_RPATH_LINK = $(if $(BZIP2_HOME),$(call rpathlink,$(BZIP2_HOME)/$(libsubdir)))
+
+ ifneq ($(DB_HOME),)
+- DB_FLAGS = -I$(DB_HOME)/include
+- DB_LIBS = -L$(DB_HOME)/$(libsubdir) -ldb_cxx
+- DB_RPATH_LINK = $(call rpathlink,$(DB_HOME)/$(libsubdir))
++ DB_FLAGS = -I$(DB_HOME)/include/db45
++ DB_LIBS = -L$(DB_HOME)/$(libsubdir)/db45 -ldb_cxx
++ DB_RPATH_LINK = $(call rpathlink,$(DB_HOME)/$(libsubdir)/db45)
+ else
+ ifeq ($(shell if [ -d /usr/include/db45 -a -d /usr/$(libsubdir)/db45 ] ; then echo yes; fi), yes)
+ DB_FLAGS = -I/usr/include/db45
Added: trunk/dports/devel/ice-cpp/files/patch-config.Make.rules.Darwin
===================================================================
--- trunk/dports/devel/ice-cpp/files/patch-config.Make.rules.Darwin (rev 0)
+++ trunk/dports/devel/ice-cpp/files/patch-config.Make.rules.Darwin 2007-04-10 05:07:13 UTC (rev 23806)
@@ -0,0 +1,19 @@
+--- config/Make.rules.Darwin.FCS 2007-01-30 05:42:20.000000000 -0800
++++ config/Make.rules.Darwin 2007-04-08 12:18:15.000000000 -0700
+@@ -11,7 +11,7 @@
+ # This file is included by Make.rules when uname is Darwin.
+ #
+
+-CXX = c++
++CXX ?= c++
+
+ CXXFLAGS = -ftemplate-depth-128 -Wall -D_REENTRANT
+
+@@ -55,6 +55,6 @@
+ ICEUTIL_OS_LIBS = -lpthread
+ ICE_OS_LIBS = -ldl
+
+-PLATFORM_HAS_READLINE := no
++PLATFORM_HAS_READLINE := yes
+
+ export DYLD_LIBRARY_PATH := $(libdir):$(DYLD_LIBRARY_PATH)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070409/27b350aa/attachment.html
More information about the macports-changes
mailing list