Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2001 12:24:29 +0200 (SAST)
From:      johann@egenetics.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/26140: New port: devel/py-omniorb
Message-ID:  <200103271024.f2RAOTo88605@shuffle.egenetics.com>

next in thread | raw e-mail | index | archive | help

>Number:         26140
>Category:       ports
>Synopsis:       New port: devel/py-omniorb
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 27 02:30:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Johann Visagie
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Electric Genetics
>Environment:
>Description:
- New port (devel/py-omniorb) of omniORBpy, the Python bindings for the
  omniORB CORBA ORB (devel/omniORB).
- My second stab at doing a port for omniORBpy, and this time I'm satisfied
  with the results:  Works for me under Python 2.0 on -CURRENT, and Python
  1.5.2 on 3-STABLE.
>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-omniorb
#	py-omniorb/Makefile
#	py-omniorb/distinfo
#	py-omniorb/pkg-plist
#	py-omniorb/pkg-comment
#	py-omniorb/pkg-descr
#
echo c - py-omniorb
mkdir -p py-omniorb > /dev/null 2>&1
echo x - py-omniorb/Makefile
sed 's/^X//' >py-omniorb/Makefile << 'END-of-py-omniorb/Makefile'
X# New ports collection makefile for:	py-omniorb
X# Date created:		14 November 2000
X# Whom:			Johann Visagie <johann@egenetics.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	omniorb
XPORTVERSION= 	1.3
XCATEGORIES=	devel python
XMASTER_SITES=	ftp://ftp.uk.research.att.com/pub/omniORB/omniORBpy/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XDISTNAME=	omniORBpy_${PORTVERSION:S/./_/g}
X
XMAINTAINER=	johann@egenetics.com
X
XLIB_DEPENDS=	omniORB3.0:${PORTSDIR}/devel/omniORB
XRUN_DEPENDS=	omniidl:${PORTSDIR}/devel/omniORB
X# A pre-built omniORB3 source tree is required to build omniORBpy;
X# see also the "post-extract" target below.
XBUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/devel/omniORB:build
X
XUSE_PYTHON=	yes
XUSE_NEWGCC=	yes
XUSE_GMAKE=	yes
XMAKEFILE=	GNUmakefile
XALL_TARGET=	export
XINSTALLS_SHLIB=	yes
XWRKSRC=		${WRKDIR}/omni
XBUILD_WRKSRC=	${WRKSRC}/src/lib/omniORBpy
XMAKE_ENV+=	CDEBUGFLAGS="${CFLAGS}" CXXDEBUGFLAGS="${CXXFLAGS}" \
X		BSD_INSTALL="${INSTALL}" PYTHON_CMD="${PYTHON_CMD}" \
X		MKDIR="${MKDIR}"
XONLY_FOR_ARCHS=	i386
XCONFIG_TARGET=	x86_freebsd_4.0
XCPIO=		cpio --quiet -pdum -R
X
XMODULEDIRS=	CosNaming CosNaming__POA omniORB
XDOCDIR=		${PREFIX}/share/doc/omniORBpy
XEGDIR=		${PREFIX}/share/examples/omniORBpy
X
Xpost-extract:
X	@ ${CP} -pfR ${PORTSDIR}/devel/omniORB/work/omni ${WRKDIR}
X	@ ${MV} -f ${WRKDIR}/omniORBpy ${WRKSRC}/src/lib/
X
Xdo-install:
X	@ ${INSTALL_DATA} ${WRKSRC}/lib/python/omniidl_be/python.py* \
X	  ${PYTHON_SITELIBDIR}/omniidl_be
X	@ cd ${WRKSRC}/lib/python && find ${MODULEDIRS} \
X	  | ${CPIO} ${BINOWN}:${BINGRP} ${PYTHON_SITELIBDIR}
X	@ cd ${WRKSRC}/lib/${CONFIG_TARGET} && find _omnipymodule.so* \
X	  | ${CPIO} ${BINOWN}:${BINGRP} ${PYTHON_SITELIBDIR}
X.if !defined(NOPORTDOCS)
X	@ ${MKDIR} ${DOCDIR}/html
X	@ ${MKDIR} ${DOCDIR}/tex
X	@ ${INSTALL_DATA} ${BUILD_WRKSRC}/doc/omniORBpy.* ${DOCDIR}
X	@ ${INSTALL_DATA} ${BUILD_WRKSRC}/doc/omniORBpy/* ${DOCDIR}/html
X	@ ${INSTALL_DATA} ${BUILD_WRKSRC}/doc/tex/* ${DOCDIR}/tex
X	@ ${MKDIR} ${EGDIR}
X	@ cd ${BUILD_WRKSRC}/examples && find . \
X	  | ${CPIO} ${SHAREOWN}:${SHAREGRP} ${EGDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-py-omniorb/Makefile
echo x - py-omniorb/distinfo
sed 's/^X//' >py-omniorb/distinfo << 'END-of-py-omniorb/distinfo'
XMD5 (omniORBpy_1_3.tar.gz) = d2926e018d572d338716eeb53497d95b
END-of-py-omniorb/distinfo
echo x - py-omniorb/pkg-plist
sed 's/^X//' >py-omniorb/pkg-plist << 'END-of-py-omniorb/pkg-plist'
X%%PORTDOCS%%share/doc/omniORBpy/html/contents_motif.gif
X%%PORTDOCS%%share/doc/omniORBpy/html/index.html
X%%PORTDOCS%%share/doc/omniORBpy/html/next_motif.gif
X%%PORTDOCS%%share/doc/omniORBpy/html/omniORBpy001.html
X%%PORTDOCS%%share/doc/omniORBpy/html/omniORBpy002.html
X%%PORTDOCS%%share/doc/omniORBpy/html/omniORBpy003.html
X%%PORTDOCS%%share/doc/omniORBpy/html/omniORBpy004.html
X%%PORTDOCS%%share/doc/omniORBpy/html/omniORBpy005.html
X%%PORTDOCS%%share/doc/omniORBpy/html/omniORBpy006.html
X%%PORTDOCS%%share/doc/omniORBpy/html/omniORBpy007.html
X%%PORTDOCS%%share/doc/omniORBpy/html/omniORBpy008.html
X%%PORTDOCS%%share/doc/omniORBpy/html/omniORBpy009.html
X%%PORTDOCS%%share/doc/omniORBpy/html/previous_motif.gif
X%%PORTDOCS%%share/doc/omniORBpy/omniORBpy.pdf
X%%PORTDOCS%%share/doc/omniORBpy/omniORBpy.ps
X%%PORTDOCS%%share/doc/omniORBpy/tex/omniORBpy.bib
X%%PORTDOCS%%share/doc/omniORBpy/tex/omniORBpy.tex
X%%PORTDOCS%%share/examples/omniORBpy/echo/echo.idl
X%%PORTDOCS%%share/examples/omniORBpy/echo/echo_clt.py
X%%PORTDOCS%%share/examples/omniORBpy/echo/echo_srv.py
X%%PORTDOCS%%share/examples/omniORBpy/echo/example_echo.idl
X%%PORTDOCS%%share/examples/omniORBpy/echo/example_echo_clt.py
X%%PORTDOCS%%share/examples/omniORBpy/echo/example_echo_coloc.py
X%%PORTDOCS%%share/examples/omniORBpy/echo/example_echo_nsclt.py
X%%PORTDOCS%%share/examples/omniORBpy/echo/example_echo_nssrv.py
X%%PORTDOCS%%share/examples/omniORBpy/echo/example_echo_srv.py
X%%PORTDOCS%%share/examples/omniORBpy/poa/README
X%%PORTDOCS%%share/examples/omniORBpy/poa/echo.idl
X%%PORTDOCS%%share/examples/omniORBpy/poa/servantactivator.py
X%%PORTDOCS%%share/examples/omniORBpy/poa/servantlocator.py
X%%PORTDOCS%%share/examples/omniORBpy/random/README
X%%PORTDOCS%%share/examples/omniORBpy/random/random.idl
X%%PORTDOCS%%share/examples/omniORBpy/random/random_clt.py
X%%PORTDOCS%%share/examples/omniORBpy/tests/PerfTest.idl
X%%PORTDOCS%%share/examples/omniORBpy/tests/TypeTest.idl
X%%PORTDOCS%%share/examples/omniORBpy/tests/pclient.py
X%%PORTDOCS%%share/examples/omniORBpy/tests/pserver.py
X%%PORTDOCS%%share/examples/omniORBpy/tests/tclient.py
X%%PORTDOCS%%share/examples/omniORBpy/tests/tserver.py
X%%PORTDOCS%%share/examples/omniORBpy/weather/README
X%%PORTDOCS%%share/examples/omniORBpy/weather/gauge.py
X%%PORTDOCS%%share/examples/omniORBpy/weather/weather.py
X%%PORTDOCS%%share/examples/omniORBpy/weather/weatherInfo.idl
X%%PORTDOCS%%share/examples/omniORBpy/weather/wserver.py
Xlib/%%PYTHON_VERSION%%/site-packages/CosNaming/__init__.py
Xlib/%%PYTHON_VERSION%%/site-packages/CosNaming/__init__.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/CosNaming__POA/__init__.py
Xlib/%%PYTHON_VERSION%%/site-packages/CosNaming__POA/__init__.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/_omnipymodule.so
Xlib/%%PYTHON_VERSION%%/site-packages/_omnipymodule.so.0
Xlib/%%PYTHON_VERSION%%/site-packages/_omnipymodule.so.0.5
Xlib/%%PYTHON_VERSION%%/site-packages/omniORB/CORBA.py
Xlib/%%PYTHON_VERSION%%/site-packages/omniORB/CORBA.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/omniORB/PortableServer.py
Xlib/%%PYTHON_VERSION%%/site-packages/omniORB/PortableServer.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/omniORB/PortableServer__POA.py
Xlib/%%PYTHON_VERSION%%/site-packages/omniORB/PortableServer__POA.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/omniORB/URI.py
Xlib/%%PYTHON_VERSION%%/site-packages/omniORB/URI.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/omniORB/__init__.py
Xlib/%%PYTHON_VERSION%%/site-packages/omniORB/__init__.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/omniORB/ir_idl.py
Xlib/%%PYTHON_VERSION%%/site-packages/omniORB/ir_idl.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/omniORB/tcInternal.py
Xlib/%%PYTHON_VERSION%%/site-packages/omniORB/tcInternal.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/omniidl_be/python.py
Xlib/%%PYTHON_VERSION%%/site-packages/omniidl_be/python.pyc
X@dirrm lib/%%PYTHON_VERSION%%/site-packages/omniORB
X@dirrm lib/%%PYTHON_VERSION%%/site-packages/CosNaming__POA
X@dirrm lib/%%PYTHON_VERSION%%/site-packages/CosNaming
X%%PORTDOCS%%@dirrm share/examples/omniORBpy/weather
X%%PORTDOCS%%@dirrm share/examples/omniORBpy/tests
X%%PORTDOCS%%@dirrm share/examples/omniORBpy/random
X%%PORTDOCS%%@dirrm share/examples/omniORBpy/poa
X%%PORTDOCS%%@dirrm share/examples/omniORBpy/echo
X%%PORTDOCS%%@dirrm share/examples/omniORBpy
X%%PORTDOCS%%@dirrm share/doc/omniORBpy/tex
X%%PORTDOCS%%@dirrm share/doc/omniORBpy/html
X%%PORTDOCS%%@dirrm share/doc/omniORBpy
X@unexec rmdir %D/lib/%%PYTHON_VERSION%%/site-packages/omniidl_be 2>/dev/null || true
END-of-py-omniorb/pkg-plist
echo x - py-omniorb/pkg-comment
sed 's/^X//' >py-omniorb/pkg-comment << 'END-of-py-omniorb/pkg-comment'
XPython bindings for omniORB, a CORBA 2.0 ORB
END-of-py-omniorb/pkg-comment
echo x - py-omniorb/pkg-descr
sed 's/^X//' >py-omniorb/pkg-descr << 'END-of-py-omniorb/pkg-descr'
XomniORBpy is an object request broker (ORB) for Python which implements
Xspecification 2.3 of the Common Object Request Broker Arhitecture (CORBA).
XomniORBpy is implemented as a Python extension module (written in C++) to
Xprovide bindings for omniORB3, a high performance C++ ORB.
X
XSome features of omniORB3:
X- Support for the Portable Object Adapter (POA)
X- Support for the Interoperable Naming Service (INS)
X- The Internet Inter-ORB Protocol (IIOP 1.0) is used as the native protocol. 
X- The omniORB3 runtime is fully multithreaded. It uses native platform thread
X  support encapsulated with a small class library, omnithread, to abstract
X  away from differences in native thread APIs. 
X- TypeCode and type Any are supported. 
X- DynAny is supported (CORBA 2.2) 
X- The Dynamic Invocation and Dynamic Skeleton interfaces are supported 
X- A COS Naming Service, omniNames, is provided. 
X
XWWW: http://www.uk.research.att.com/omniORB/omniORBpy/
X
X-- Johann Visagie <johann@egenetics.com>
END-of-py-omniorb/pkg-descr
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103271024.f2RAOTo88605>