summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/ORBit2/Makefile47
-rw-r--r--devel/ORBit2/distinfo1
-rw-r--r--devel/ORBit2/files/patch-ORBit-2.0.pc.in10
-rw-r--r--devel/ORBit2/files/patch-ab20
-rw-r--r--devel/ORBit2/files/patch-configure13
-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
10 files changed, 205 insertions, 0 deletions
diff --git a/devel/ORBit2/Makefile b/devel/ORBit2/Makefile
new file mode 100644
index 000000000..1352b9897
--- /dev/null
+++ b/devel/ORBit2/Makefile
@@ -0,0 +1,47 @@
+# 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.91 2003/10/10 19:14:17 marcus Exp $
+#
+
+PORTNAME= ORBit2
+PORTVERSION= 2.9.0
+CATEGORIES= devel gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.9
+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= yes
+USE_GNOME= gnomehack 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:
+ @${FIND} ${WRKSRC} -type f | ${XARGS} ${GREP} -l LINC_THREADSAFE | \
+ ${XARGS} ${REINPLACE_CMD} -e 's|LINC_THREADSAFE|G_THREADS_ENABLED|g'
+ @${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..a940aa85c
--- /dev/null
+++ b/devel/ORBit2/distinfo
@@ -0,0 +1 @@
+MD5 (gnome2/ORBit2-2.9.0.tar.bz2) = e24f4ddf26a2b0ff5bb9653de8c31164
diff --git a/devel/ORBit2/files/patch-ORBit-2.0.pc.in b/devel/ORBit2/files/patch-ORBit-2.0.pc.in
new file mode 100644
index 000000000..bd616eaa2
--- /dev/null
+++ b/devel/ORBit2/files/patch-ORBit-2.0.pc.in
@@ -0,0 +1,10 @@
+--- ORBit-2.0.pc.in.orig Sat May 31 11:04:33 2003
++++ ORBit-2.0.pc.in Sun Jun 15 01:31:20 2003
+@@ -8,6 +8,6 @@
+ Name: ORBit-2.0
+ Description: High-performance CORBA Object Request Broker.
+ Version: @ORBIT_VERSION@
+-Requires: glib-2.0 gmodule-2.0
++Requires: glib-2.0 gmodule-2.0 gthread-2.0
+ Libs: -L${libdir} -lORBit-2 @ORBIT_LIBS@ @LIBS@ -lm
+ Cflags: -I${includedir}/orbit-2.0 -DORBIT2=1
diff --git a/devel/ORBit2/files/patch-ab b/devel/ORBit2/files/patch-ab
new file mode 100644
index 000000000..57f1e2d4c
--- /dev/null
+++ b/devel/ORBit2/files/patch-ab
@@ -0,0 +1,20 @@
+--- Makefile.in.orig Sat Jun 14 01:50:29 2003
++++ Makefile.in Sat Jun 14 01:51:03 2003
+@@ -35,7 +35,7 @@
+ DESTDIR =
+
+ pkgdatadir = $(datadir)/@PACKAGE@
+-pkglibdir = $(libdir)/@PACKAGE@
++pkglibdir = $(prefix)/libdata/pkgconfig
+ pkgincludedir = $(includedir)/@PACKAGE@
+
+ top_builddir = .
+@@ -115,7 +115,7 @@
+
+ AUTOMAKE_OPTIONS = 1.3
+
+-SUBDIRS = linc2 src include test docs
++SUBDIRS = linc2 src include docs
+
+ bin_SCRIPTS = orbit2-config
+
diff --git a/devel/ORBit2/files/patch-configure b/devel/ORBit2/files/patch-configure
new file mode 100644
index 000000000..4ca30b142
--- /dev/null
+++ b/devel/ORBit2/files/patch-configure
@@ -0,0 +1,13 @@
+
+$FreeBSD: ports/devel/ORBit2/files/patch-configure,v 1.3 2003/09/18 06:49:20 marcus Exp $
+
+--- configure 2002/04/26 07:38:33 1.1
++++ configure 2002/04/26 07:38:42
+@@ -6201,6 +6201,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
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..0c2cb69a9
--- /dev/null
+++ b/devel/ORBit2/files/patch-src::orb::util::Makefile.in
@@ -0,0 +1,11 @@
+--- src/orb/util/Makefile.in.orig Tue Jul 15 13:16:53 2003
++++ src/orb/util/Makefile.in Tue Jul 15 13:17:32 2003
+@@ -189,7 +189,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..489728376
--- /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 Sun May 11 20:37:14 2003
++++ src/orb/orb-core/orbit-typelib.c Sun May 11 20:40:42 2003
+@@ -215,6 +215,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..8336574a1
--- /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 send requests and receive replies from other
+programs, regardless of the locations of the two programs.
diff --git a/devel/ORBit2/pkg-plist b/devel/ORBit2/pkg-plist
new file mode 100644
index 000000000..b9f89d22a
--- /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-idl-2.0.pc
+libdata/pkgconfig/ORBit-imodule-2.0.pc
+libdata/pkgconfig/ORBit-CosNaming-2.0.pc
+share/aclocal/ORBit2.m4
+share/idl/orbit-2.0/CosNaming.idl
+@dirrm share/idl/orbit-2.0
+@dirrm share/doc/ORBit2
+@unexec /bin/rmdir %D/share/idl 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