summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-11-09 02:08:20 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-11-09 02:08:20 +0800
commit12f51c297676366410a7e75485ada2efe59631c4 (patch)
treea75c7923a3d164f0610925ce30534d5af4c828f1 /devel
parentc520e391b7ee03961989ba0a95cba5e14c8f3394 (diff)
downloadmarcuscom-ports-12f51c297676366410a7e75485ada2efe59631c4.tar
marcuscom-ports-12f51c297676366410a7e75485ada2efe59631c4.tar.gz
marcuscom-ports-12f51c297676366410a7e75485ada2efe59631c4.tar.bz2
marcuscom-ports-12f51c297676366410a7e75485ada2efe59631c4.tar.lz
marcuscom-ports-12f51c297676366410a7e75485ada2efe59631c4.tar.xz
marcuscom-ports-12f51c297676366410a7e75485ada2efe59631c4.tar.zst
marcuscom-ports-12f51c297676366410a7e75485ada2efe59631c4.zip
- Add ORBit2 at version 2.13.2
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5089 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel')
-rw-r--r--devel/ORBit2/Makefile46
-rw-r--r--devel/ORBit2/distinfo2
-rw-r--r--devel/ORBit2/files/patch-ab11
-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-plist80
8 files changed, 175 insertions, 0 deletions
diff --git a/devel/ORBit2/Makefile b/devel/ORBit2/Makefile
new file mode 100644
index 000000000..7297d4157
--- /dev/null
+++ b/devel/ORBit2/Makefile
@@ -0,0 +1,46 @@
+# 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.110 2005/11/05 05:20:52 marcus Exp $
+#
+
+PORTNAME= ORBit2
+PORTVERSION= 2.13.2
+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=15
+USE_GNOME= gnomehack libidl ltverhack
+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
+ @${MKDIR} ${PREFIX}/lib/orbit-2.0/idl-backends
+
+.include <bsd.port.mk>
diff --git a/devel/ORBit2/distinfo b/devel/ORBit2/distinfo
new file mode 100644
index 000000000..7f9203491
--- /dev/null
+++ b/devel/ORBit2/distinfo
@@ -0,0 +1,2 @@
+MD5 (gnome2/ORBit2-2.13.2.tar.bz2) = 8d1e654f9b7e1399dc98da3bb4b96762
+SIZE (gnome2/ORBit2-2.13.2.tar.bz2) = 675052
diff --git a/devel/ORBit2/files/patch-ab b/devel/ORBit2/files/patch-ab
new file mode 100644
index 000000000..e58bbe318
--- /dev/null
+++ b/devel/ORBit2/files/patch-ab
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Fri Mar 5 23:34:38 2004
++++ Makefile.in Fri Mar 5 23:35:59 2004
+@@ -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..37b02aa5b
--- /dev/null
+++ b/devel/ORBit2/pkg-plist
@@ -0,0 +1,80 @@
+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
+@exec /bin/mkdir -p %D/lib/orbit-2.0/idl-backends
+@unexec /bin/rmdir %D/share/idl 2>/dev/null || /usr/bin/true
+@unexec /bin/rmdir %D/lib/orbit-2.0/idl-backends 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-idl
+@dirrm include/orbit-2.0/orbit
+@dirrm include/orbit-2.0/ORBitservices
+@dirrm include/orbit-2.0