summaryrefslogtreecommitdiffstats
path: root/devel/ORBit2
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2005-09-07 00:42:24 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2005-09-07 00:42:24 +0800
commitd081d6ef8e5ee70efa48872ea990c2032533ae5e (patch)
tree875a3bec844744b7456f8a925388420419136819 /devel/ORBit2
parentcbabb9c1e57db92590acef6477e596235b36837e (diff)
downloadmarcuscom-ports-d081d6ef8e5ee70efa48872ea990c2032533ae5e.tar
marcuscom-ports-d081d6ef8e5ee70efa48872ea990c2032533ae5e.tar.gz
marcuscom-ports-d081d6ef8e5ee70efa48872ea990c2032533ae5e.tar.bz2
marcuscom-ports-d081d6ef8e5ee70efa48872ea990c2032533ae5e.tar.lz
marcuscom-ports-d081d6ef8e5ee70efa48872ea990c2032533ae5e.tar.xz
marcuscom-ports-d081d6ef8e5ee70efa48872ea990c2032533ae5e.tar.zst
marcuscom-ports-d081d6ef8e5ee70efa48872ea990c2032533ae5e.zip
-Add ORBit2, at 2.13.1.
-Use USE_AUTOTOOLS. -Add ltverhack, no change. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4745 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/ORBit2')
-rw-r--r--devel/ORBit2/Makefile47
-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-plist92
8 files changed, 188 insertions, 0 deletions
diff --git a/devel/ORBit2/Makefile b/devel/ORBit2/Makefile
new file mode 100644
index 000000000..fc15b0ff6
--- /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$
+# $MCom$
+#
+
+PORTNAME= ORBit2
+PORTVERSION= 2.13.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_AUTOTOOLS= libtool: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..bb27817e0
--- /dev/null
+++ b/devel/ORBit2/distinfo
@@ -0,0 +1,2 @@
+MD5 (gnome2/ORBit2-2.13.1.tar.bz2) = eac4f176c93832b084118628d75510b7
+SIZE (gnome2/ORBit2-2.13.1.tar.bz2) = 712058
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..c3861701e
--- /dev/null
+++ b/devel/ORBit2/pkg-plist
@@ -0,0 +1,92 @@
+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
+%%DOCSDIR%%/ORBit2-orbit2-allocators.html
+%%DOCSDIR%%/ORBit2-orbit2-small.html
+%%DOCSDIR%%/ORBit2.devhelp
+%%DOCSDIR%%/general.html
+%%DOCSDIR%%/home.png
+%%DOCSDIR%%/index.html
+%%DOCSDIR%%/index.sgml
+%%DOCSDIR%%/left.png
+%%DOCSDIR%%/right.png
+%%DOCSDIR%%/style.css
+%%DOCSDIR%%/up.png
+share/idl/orbit-2.0/CosNaming.idl
+@dirrm share/idl/orbit-2.0
+@dirrm %%DOCSDIR%%
+@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