summaryrefslogtreecommitdiffstats
path: root/devel/ORBit2
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-07-09 13:13:18 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-07-09 13:13:18 +0800
commitfd570c6459b80b01fbb86087e602e4fc1d50585a (patch)
tree95b31f0418bf43b085c0c777f65da04ce801e06a /devel/ORBit2
parent970bc071cbf7912dd20d2bdb6c486bf2709fdc25 (diff)
downloadmarcuscom-ports-fd570c6459b80b01fbb86087e602e4fc1d50585a.tar
marcuscom-ports-fd570c6459b80b01fbb86087e602e4fc1d50585a.tar.gz
marcuscom-ports-fd570c6459b80b01fbb86087e602e4fc1d50585a.tar.bz2
marcuscom-ports-fd570c6459b80b01fbb86087e602e4fc1d50585a.tar.lz
marcuscom-ports-fd570c6459b80b01fbb86087e602e4fc1d50585a.tar.xz
marcuscom-ports-fd570c6459b80b01fbb86087e602e4fc1d50585a.tar.zst
marcuscom-ports-fd570c6459b80b01fbb86087e602e4fc1d50585a.zip
Update to 2.11.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2470 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/ORBit2')
-rw-r--r--devel/ORBit2/Makefile45
-rw-r--r--devel/ORBit2/distinfo2
-rw-r--r--devel/ORBit2/files/patch-ab20
-rw-r--r--devel/ORBit2/files/patch-src::orb::util::Makefile.in11
-rw-r--r--devel/ORBit2/files/patch-src_idl-compiler_orbit-idl-backend.c11
-rw-r--r--devel/ORBit2/files/patch-src_orb_orb-core_orbit-typelib.c11
-rw-r--r--devel/ORBit2/pkg-descr3
-rw-r--r--devel/ORBit2/pkg-plist78
8 files changed, 181 insertions, 0 deletions
diff --git a/devel/ORBit2/Makefile b/devel/ORBit2/Makefile
new file mode 100644
index 000000000..f0ed23bd6
--- /dev/null
+++ b/devel/ORBit2/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: orbit2
+# Date Created: 16 Aug 1998
+# Whom: Chia-liang Kao <clkao@CirX.ORG>
+#
+# $FreeBSD: ports/devel/ORBit2/Makefile,v 1.99 2004/06/23 12:28:47 bland Exp $
+#
+
+PORTNAME= ORBit2
+PORTVERSION= 2.11.1
+CATEGORIES= devel gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= High-performance CORBA ORB with support for the C language
+
+LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_REINPLACE= yes
+INSTALLS_SHLIB= yes
+USE_LIBTOOL_VER=13
+USE_GNOME= gnomehack lthack libidl
+CONFIGURE_ARGS= --disable-indent \
+ --with-html-dir=${PREFIX}/share/doc \
+ --disable-gtk-doc
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g ; \
+ s|%%LOCALBASE%%|${LOCALBASE}|g' \
+ ${WRKSRC}/src/idl-compiler/orbit-idl-backend.c \
+ ${WRKSRC}/src/orb/orb-core/orbit-typelib.c
+
+post-install:
+ @${ECHO_CMD} "ORBIIOPIPv4=0" > ${PREFIX}/etc/orbit2rc.default
+ @${ECHO_CMD} "ORBIIOPIPv6=0" >> ${PREFIX}/etc/orbit2rc.default
+ @if [ ! -f ${PREFIX}/etc/orbit2rc ]; then \
+ ${CP} -p ${PREFIX}/etc/orbit2rc.default ${PREFIX}/etc/orbit2rc ; \
+ fi
+
+.include <bsd.port.mk>
diff --git a/devel/ORBit2/distinfo b/devel/ORBit2/distinfo
new file mode 100644
index 000000000..f8b4c3498
--- /dev/null
+++ b/devel/ORBit2/distinfo
@@ -0,0 +1,2 @@
+MD5 (gnome2/ORBit2-2.11.1.tar.bz2) = dc19145a5f0eddb8ce8d397976b8a126
+SIZE (gnome2/ORBit2-2.11.1.tar.bz2) = 663069
diff --git a/devel/ORBit2/files/patch-ab b/devel/ORBit2/files/patch-ab
new file mode 100644
index 000000000..281d27bbf
--- /dev/null
+++ b/devel/ORBit2/files/patch-ab
@@ -0,0 +1,20 @@
+--- Makefile.in.orig Fri Mar 5 23:34:38 2004
++++ Makefile.in Fri Mar 5 23:35:59 2004
+@@ -34,7 +34,7 @@
+ includedir = @includedir@
+ oldincludedir = /usr/include
+ pkgdatadir = $(datadir)/@PACKAGE@
+-pkglibdir = $(libdir)/@PACKAGE@
++pkglibdir = $(prefix)/libdata/pkgconfig
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = .
+
+@@ -125,7 +125,7 @@
+
+ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
+
+-SUBDIRS = linc2 src include test docs
++SUBDIRS = linc2 src include docs
+
+ bin_SCRIPTS = orbit2-config
+
diff --git a/devel/ORBit2/files/patch-src::orb::util::Makefile.in b/devel/ORBit2/files/patch-src::orb::util::Makefile.in
new file mode 100644
index 000000000..e048ca634
--- /dev/null
+++ b/devel/ORBit2/files/patch-src::orb::util::Makefile.in
@@ -0,0 +1,11 @@
+--- src/orb/util/Makefile.in.orig Fri Mar 5 23:39:16 2004
++++ src/orb/util/Makefile.in Fri Mar 5 23:39:43 2004
+@@ -126,7 +126,7 @@
+ INCLUDES = \
+ -I$(top_srcdir)/include \
+ -I$(top_builddir)/include \
+- -DORBIT_SYSTEM_RCFILE=\"$(sysconfdir)/orbitrc\" \
++ -DORBIT_SYSTEM_RCFILE=\"$(sysconfdir)/orbit2rc\" \
+ -DORBIT2_INTERNAL_API \
+ $(WARN_CFLAGS) \
+ $(ORBIT_DEBUG_CFLAGS) \
diff --git a/devel/ORBit2/files/patch-src_idl-compiler_orbit-idl-backend.c b/devel/ORBit2/files/patch-src_idl-compiler_orbit-idl-backend.c
new file mode 100644
index 000000000..8ae3c7644
--- /dev/null
+++ b/devel/ORBit2/files/patch-src_idl-compiler_orbit-idl-backend.c
@@ -0,0 +1,11 @@
+--- src/idl-compiler/orbit-idl-backend.c.orig Tue Oct 1 23:32:46 2002
++++ src/idl-compiler/orbit-idl-backend.c Sun May 11 20:51:19 2003
+@@ -38,6 +38,8 @@
+ char **strv;
+ int i;
+
++ paths = g_slist_prepend (paths, "%%X11BASE%%/lib/orbit-2.0/idl-backends");
++
+ if (!(val = getenv ("GNOME2_PATH")))
+ return paths;
+
diff --git a/devel/ORBit2/files/patch-src_orb_orb-core_orbit-typelib.c b/devel/ORBit2/files/patch-src_orb_orb-core_orbit-typelib.c
new file mode 100644
index 000000000..44dfb3fb0
--- /dev/null
+++ b/devel/ORBit2/files/patch-src_orb_orb-core_orbit-typelib.c
@@ -0,0 +1,11 @@
+--- src/orb/orb-core/orbit-typelib.c.orig Fri Mar 5 23:42:33 2004
++++ src/orb/orb-core/orbit-typelib.c Fri Mar 5 23:43:00 2004
+@@ -218,6 +218,8 @@
+ paths = g_ptr_array_sized_new (8);
+
+ g_ptr_array_add (paths, g_strdup (ORBIT_TYPELIB_DIR));
++ add_if_unique(paths, "%%X11BASE%%", TRUE);
++ add_if_unique(paths, "%%LOCALBASE%%", TRUE);
+
+ if ((path = g_getenv ("ORBIT_TYPELIB_PATH"))) {
+ char **strv;
diff --git a/devel/ORBit2/pkg-descr b/devel/ORBit2/pkg-descr
new file mode 100644
index 000000000..57ee9653d
--- /dev/null
+++ b/devel/ORBit2/pkg-descr
@@ -0,0 +1,3 @@
+ORBit is a high-performance CORBA ORB with support for the C language.
+It allows programs to comminucate with each other, regardless of their
+physical and logical locations.
diff --git a/devel/ORBit2/pkg-plist b/devel/ORBit2/pkg-plist
new file mode 100644
index 000000000..41bfc92d7
--- /dev/null
+++ b/devel/ORBit2/pkg-plist
@@ -0,0 +1,78 @@
+bin/linc-cleanup-sockets
+bin/orbit-idl-2
+bin/orbit2-config
+@unexec if cmp -s %D/etc/orbit2rc.default %D/etc/orbit2rc; then rm -f %D/etc/orbit2rc; fi
+etc/orbit2rc.default
+@exec if [ ! -f %D/etc/orbit2rc ] ; then cp -p %D/%F %B/orbit2rc; fi
+include/orbit-2.0/ORBitservices/CosNaming.h
+include/orbit-2.0/ORBitservices/CosNaming_impl.h
+include/orbit-2.0/ORBitservices/orbit-imodule.h
+include/orbit-2.0/orbit-idl/orbit-idl-backend.h
+include/orbit-2.0/orbit/dynamic/dynamic-defs.h
+include/orbit-2.0/orbit/dynamic/dynamic.h
+include/orbit-2.0/orbit/orb-core/allocators.h
+include/orbit-2.0/orbit/orb-core/corba-any-type.h
+include/orbit-2.0/orbit/orb-core/corba-any.h
+include/orbit-2.0/orbit/orb-core/corba-context-type.h
+include/orbit-2.0/orbit/orb-core/corba-context.h
+include/orbit-2.0/orbit/orb-core/corba-defs.h
+include/orbit-2.0/orbit/orb-core/corba-environment-type.h
+include/orbit-2.0/orbit/orb-core/corba-environment.h
+include/orbit-2.0/orbit/orb-core/corba-nvlist.h
+include/orbit-2.0/orbit/orb-core/corba-object-type.h
+include/orbit-2.0/orbit/orb-core/corba-object.h
+include/orbit-2.0/orbit/orb-core/corba-orb-type.h
+include/orbit-2.0/orbit/orb-core/corba-orb.h
+include/orbit-2.0/orbit/orb-core/corba-pobj.h
+include/orbit-2.0/orbit/orb-core/corba-policy-type.h
+include/orbit-2.0/orbit/orb-core/corba-string.h
+include/orbit-2.0/orbit/orb-core/corba-typecode-type.h
+include/orbit-2.0/orbit/orb-core/corba-typecode.h
+include/orbit-2.0/orbit/orb-core/iop-defs.h
+include/orbit-2.0/orbit/orb-core/orb-core-types.h
+include/orbit-2.0/orbit/orb-core/orb-core.h
+include/orbit-2.0/orbit/orb-core/orb-types.h
+include/orbit-2.0/orbit/orb-core/orbit-interface.h
+include/orbit-2.0/orbit/orb-core/orbit-object.h
+include/orbit-2.0/orbit/orb-core/orbit-small.h
+include/orbit-2.0/orbit/orbit-config.h
+include/orbit-2.0/orbit/orbit-types.h
+include/orbit-2.0/orbit/orbit.h
+include/orbit-2.0/orbit/poa/orbit-adaptor.h
+include/orbit-2.0/orbit/poa/poa-basics.h
+include/orbit-2.0/orbit/poa/poa-defs.h
+include/orbit-2.0/orbit/poa/poa-policy.h
+include/orbit-2.0/orbit/poa/poa-types.h
+include/orbit-2.0/orbit/poa/poa.h
+include/orbit-2.0/orbit/poa/portableserver-current-type.h
+include/orbit-2.0/orbit/poa/portableserver-poa-type.h
+include/orbit-2.0/orbit/util/basic_types.h
+include/orbit-2.0/orbit/util/orbit-genrand.h
+include/orbit-2.0/orbit/util/orbit-util.h
+lib/libORBit-2.a
+lib/libORBit-2.so
+lib/libORBit-2.so.0
+lib/libORBit-imodule-2.a
+lib/libORBit-imodule-2.so
+lib/libORBit-imodule-2.so.0
+lib/libORBitCosNaming-2.a
+lib/libORBitCosNaming-2.so
+lib/libORBitCosNaming-2.so.0
+lib/libname-server-2.a
+libdata/pkgconfig/ORBit-2.0.pc
+libdata/pkgconfig/ORBit-CosNaming-2.0.pc
+libdata/pkgconfig/ORBit-idl-2.0.pc
+libdata/pkgconfig/ORBit-imodule-2.0.pc
+share/aclocal/ORBit2.m4
+share/idl/orbit-2.0/CosNaming.idl
+@dirrm share/idl/orbit-2.0
+@unexec /bin/rmdir %D/share/idl 2>/dev/null || /usr/bin/true
+@unexec /bin/rmdir %D/lib/orbit-2.0 2>/dev/null || /usr/bin/true
+@dirrm include/orbit-2.0/orbit/util
+@dirrm include/orbit-2.0/orbit/poa
+@dirrm include/orbit-2.0/orbit/orb-core
+@dirrm include/orbit-2.0/orbit/dynamic
+@dirrm include/orbit-2.0/orbit
+@dirrm include/orbit-2.0/orbit-idl
+@dirrm include/orbit-2.0/ORBitservices
+@dirrm include/orbit-2.0