diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-04-06 23:24:39 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-04-06 23:24:39 +0000 |
commit | bdbdf19d926798d6930e4329e30644ccd89506e5 (patch) | |
tree | 33aaf1dd3fcc40b792b283c1b5c2bdb202992ac0 /graphics/openrm | |
parent | 29eb495be836c9769b2a6617e7490a08e6a5add3 (diff) | |
download | ports-bdbdf19d926798d6930e4329e30644ccd89506e5.tar.gz ports-bdbdf19d926798d6930e4329e30644ccd89506e5.zip |
Notes
Diffstat (limited to 'graphics/openrm')
-rw-r--r-- | graphics/openrm/Makefile | 95 | ||||
-rw-r--r-- | graphics/openrm/distinfo | 2 | ||||
-rw-r--r-- | graphics/openrm/files/patch-bin-mklib.linux | 29 | ||||
-rw-r--r-- | graphics/openrm/files/patch-make.cfg | 41 | ||||
-rw-r--r-- | graphics/openrm/files/patch-rm-rminit.c | 12 | ||||
-rw-r--r-- | graphics/openrm/pkg-descr | 22 | ||||
-rw-r--r-- | graphics/openrm/pkg-plist | 167 |
7 files changed, 368 insertions, 0 deletions
diff --git a/graphics/openrm/Makefile b/graphics/openrm/Makefile new file mode 100644 index 000000000000..99c4071b1f7e --- /dev/null +++ b/graphics/openrm/Makefile @@ -0,0 +1,95 @@ +# New ports collection makefile for: openrm +# Date created: 8 July 2002 +# Whom: Igor Pokrovsky <tiamat@telegraph.spb.ru> +# +# $FreeBSD$ +# + +PORTNAME= openrm +PORTVERSION= 1.4.2 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= ${PORTNAME}-devel-${PORTVERSION} +EXTRACT_SUFX= .tgz +.ifdef (WITH_DEMOS) +DISTFILES= ${PORTNAME}-devel-${PORTVERSION} \ + ${PORTNAME}-demo-${PORTVERSION} +.endif + +MAINTAINER= tiamat@telegraph.spb.ru +COMMENT= Development environment used to build 2D/3D/stereo graphics + +LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg + +WRKSRC= ${WRKDIR}/rm142 +.ifdef (WITH_DEMOS) +WRKSRC2= ${WRKDIR}/rmdemo +.endif + +USE_X_PREFIX= yes +USE_MESA= yes +ALL_TARGET= linux docs +INSTALLS_SHLIB= yes +MAKE_ENV= RM_INSTALL=${X11BASE} + +.if !defined(WITH_DEMOS) +PLIST_SUB= WITH_DEMOS="@comment " +.else +PLIST_SUB= WITH_DEMOS="" +.endif + +.ifndef (WITH_DEMOS) +pre-everything:: + @${ECHO} "You can define WITH_DEMOS=yes to fetch and install available demos" +.endif + +do-install: +# install libraries + ${INSTALL_PROGRAM} ${WRKSRC}/lib/librm.so.1 ${PREFIX}/lib + ${INSTALL_PROGRAM} ${WRKSRC}/lib/librmaux.so.1 ${PREFIX}/lib + ${INSTALL_PROGRAM} ${WRKSRC}/lib/librmi.so.1 ${PREFIX}/lib + ${INSTALL_PROGRAM} ${WRKSRC}/lib/librmv.so.1 ${PREFIX}/lib + ${LN} -fs ${PREFIX}/lib/librm.so.1 ${PREFIX}/lib/librm.so + ${LN} -fs ${PREFIX}/lib/librmaux.so.1 ${PREFIX}/lib/librmaux.so + ${LN} -fs ${PREFIX}/lib/librmi.so.1 ${PREFIX}/lib/librmi.so + ${LN} -fs ${PREFIX}/lib/librmv.so.1 ${PREFIX}/lib/librmv.so + ${INSTALL_DATA} ${WRKSRC}/lib/librm.a ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/lib/librmaux.a ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/lib/librmi.a ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/lib/librmv.a ${PREFIX}/lib + +# install includes + ${INSTALL_DATA} ${WRKSRC}/include/rm.h ${PREFIX}/include + @${MKDIR} ${PREFIX}/include/rm + ${INSTALL_DATA} ${WRKSRC}/include/rm/*.h ${PREFIX}/include/rm + @${MKDIR} ${PREFIX}/include/rmaux + ${INSTALL_DATA} ${WRKSRC}/include/rmaux/*.h ${PREFIX}/include/rmaux + @${MKDIR} ${PREFIX}/include/rmi + ${INSTALL_DATA} ${WRKSRC}/include/rmi/*.h ${PREFIX}/include/rmi + @${MKDIR} ${PREFIX}/include/rmv + ${INSTALL_DATA} ${WRKSRC}/include/rmv/*.h ${PREFIX}/include/rmv + +.ifdef (WITH_DEMOS) + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC2}/README ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC2}/configure ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC2}/makeinclude ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC2}/Makefile.x11 ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC2}/*.c ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC2}/*.h ${EXAMPLESDIR} + @${MKDIR} ${EXAMPLESDIR}/data + ${INSTALL_DATA} ${WRKSRC2}/data/* ${EXAMPLESDIR}/data +.endif + +.ifndef (NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/FUTUREPLANS ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/RELEASENOTES ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/HTML/*.html ${DOCSDIR} + @${MKDIR} ${DOCSDIR}/images + ${INSTALL_DATA} ${WRKSRC}/doc/HTML/images/* ${DOCSDIR}/images +.endif + +.include <bsd.port.mk> diff --git a/graphics/openrm/distinfo b/graphics/openrm/distinfo new file mode 100644 index 000000000000..2ac1e3cb85b5 --- /dev/null +++ b/graphics/openrm/distinfo @@ -0,0 +1,2 @@ +MD5 (openrm-devel-1.4.2.tgz) = 15e882d50fdcb009ec1000a73441b40b +MD5 (openrm-demo-1.4.2.tgz) = 465d7cfa9ab66b77e075b8c0ef099bc7 diff --git a/graphics/openrm/files/patch-bin-mklib.linux b/graphics/openrm/files/patch-bin-mklib.linux new file mode 100644 index 000000000000..1b6fa06fcf0e --- /dev/null +++ b/graphics/openrm/files/patch-bin-mklib.linux @@ -0,0 +1,29 @@ +--- bin/mklib.linux.orig Sun Jun 3 13:56:31 2001 ++++ bin/mklib.linux Sun Apr 6 15:26:58 2003 +@@ -58,7 +58,7 @@ + MINOR=$1 + shift 1 + +-VERSION=$MAJOR.$MINOR ++VERSION=$MAJOR + + OBJECTS=$* + +@@ -71,7 +71,7 @@ + + # Linux specific build + gcc -shared -Wl,-soname,${LIBRARY}.so.${VERSION} -o ${LIBRARY}.so.${VERSION} ${OBJECTS} +-if [[ ${ARCHFLAGS##*-} != "debug" ]]; then ++if [ ${ARCHFLAGS##*-} != "debug" ]; then + strip ${LIBRARY}.so.${VERSION} + echo "library has been stripped (non-debug build)." + fi +@@ -83,7 +83,7 @@ + + + # local install +-if [[ -n ${RM_INSTALL} ]]; then ++if [ -n ${RM_INSTALL} ]; then + echo "Installing ${LIBRARY} librairies locally in ${RM_INSTALL}/lib..." + \cp -f ${LIBRARY}.a ${LIBRARY}.so.${VERSION} ${RM_INSTALL}/lib + \rm -f ${RM_INSTALL}/lib/${LIBRARY}.so diff --git a/graphics/openrm/files/patch-make.cfg b/graphics/openrm/files/patch-make.cfg new file mode 100644 index 000000000000..577dcc285b7a --- /dev/null +++ b/graphics/openrm/files/patch-make.cfg @@ -0,0 +1,41 @@ +--- make.cfg.orig Sun Oct 14 16:37:11 2001 ++++ make.cfg Sun Apr 6 15:23:36 2003 +@@ -74,8 +74,9 @@ + linux: + @$(MAKE) $(MFLAGS) -f Makefile.x11 targets \ + "CC = gcc" \ +- "XINC = /usr/X11R6/include" \ +- "GLINC = /usr/include"\ ++ "XINC = ${X11BASE}/include" \ ++ "GLINC = ${X11BASE}/include" \ ++ "JPEGINC = ${LOCALBASE}/include" \ + "RMINC = ../include" \ + "CFLAGS = -c -O2 -m486 -finline-functions -fomit-frame-pointer -DRM_X" \ + "RMLIB = librm" \ +@@ -89,7 +90,7 @@ + linux-debug: + @$(MAKE) $(MFLAGS) -f Makefile.x11 targets \ + "CC = gcc" \ +- "XINC = /usr/X11R6/include" \ ++ "XINC = ${X11BASE}/include" \ + "GLINC = /usr/include"\ + "RMINC = ../include" \ + "CFLAGS = -c -g -ansi -Wall -Winline -m486 -finline-functions -DRM_X" \ +@@ -114,7 +115,7 @@ + "XINC = /usr/openwin/include" \ + "GLINC = /usr/openwin/include" \ + "RMINC = ../include" \ +- "JPEGINC = /usr/local/include" \ ++ "JPEGINC = ${LOCALBASE}/include" \ + "CFLAGS = -O -c -Xc -Kpic -v -I/usr/openwin/include -DSOLARIS -DRM_X" \ + "RMLIB = librm" \ + "RMVLIB = librmv" \ +@@ -130,7 +131,7 @@ + "XINC = /usr/openwin/include" \ + "GLINC = /usr/openwin/include" \ + "RMINC = ../include" \ +- "JPEGINC = /usr/local/include" \ ++ "JPEGINC = ${LOCALBASE}/include" \ + "CFLAGS = -g -c -Xc -Kpic -v -I/usr/openwin/include -DSOLARIS -DRM_X" \ + "RMLIB = librm" \ + "RMVLIB = librmv" \ diff --git a/graphics/openrm/files/patch-rm-rminit.c b/graphics/openrm/files/patch-rm-rminit.c new file mode 100644 index 000000000000..2e8dfed43f63 --- /dev/null +++ b/graphics/openrm/files/patch-rm-rminit.c @@ -0,0 +1,12 @@ +--- rm/rminit.c~ Mon Jul 8 12:53:37 2002 ++++ rm/rminit.c Mon Jul 8 12:54:51 2002 +@@ -91,7 +91,9 @@ + #ifdef SOLARIS + glXInitThreadsSUN(); + #else ++#ifndef __FreeBSD__ + pthread_setconcurrency(12); ++#endif + #endif + #endif + diff --git a/graphics/openrm/pkg-descr b/graphics/openrm/pkg-descr new file mode 100644 index 000000000000..6564db5e4338 --- /dev/null +++ b/graphics/openrm/pkg-descr @@ -0,0 +1,22 @@ +OpenRM Scene Graph is set of tools and utilities that implement a +high performance, flexible and extendible scene graph API. Underneath +OpenRM, OpenGL(tm) is used as the graphics platform for rendering, +so OpenRM is highly portable and can deliver blazing rendering speeds. +OpenRM can be used on any platform that has OpenGL, and has been +built and tested on: + x86 Linux (s/w via Mesa, h/w using vendor drivers, e.g., nVidia) + Irix + Solaris + Win32 (95/98/NT/2K/ME). + +OpenRM is a derivative work of RM Scene Graph (tm), a commercial +scene graph product from R3vis Corporation. Late in 1999, R3vis announced +the release of OpenRM into the Open Source community, with the +OpenRM debut occuring on 1 March 2000. R3vis continues to maintain +and develop RM Scene Graph, which contains additional features not +present in OpenRM. + +WWW: http://openrm.sourceforge.net + +- Igor Pokrovsky +tiamat@telegraph.spb.ru diff --git a/graphics/openrm/pkg-plist b/graphics/openrm/pkg-plist new file mode 100644 index 000000000000..4415baeaadec --- /dev/null +++ b/graphics/openrm/pkg-plist @@ -0,0 +1,167 @@ +include/rm.h +include/rm/rmcmpmgr.h +include/rm/rmdeflts.h +include/rm/rmdefs.h +include/rm/rmpipe.h +include/rm/rmpublic.h +include/rm/rmthread.h +include/rm/rmtypes.h +include/rm/rmvmap.h +include/rm/rmw.h +include/rm/rmx.h +include/rmaux/rmaux.h +include/rmi/rmi.h +include/rmi/rmjpeg.h +include/rmi/rmppm.h +include/rmv/rmv.h +include/rmv/rmvdefs.h +include/rmv/rmvpub.h + +@dirrm include/rm +@dirrm include/rmaux +@dirrm include/rmi +@dirrm include/rmv + +lib/librm.a +lib/librm.so +lib/librm.so.1 +lib/librmaux.a +lib/librmaux.so +lib/librmaux.so.1 +lib/librmi.a +lib/librmi.so +lib/librmi.so.1 +lib/librmv.a +lib/librmv.so +lib/librmv.so.1 + +%%WITH_DEMOS%%share/examples/openrm/data/1a30.pdb +%%WITH_DEMOS%%share/examples/openrm/data/README +%%WITH_DEMOS%%share/examples/openrm/data/back.x +%%WITH_DEMOS%%share/examples/openrm/data/bigsky.x +%%WITH_DEMOS%%share/examples/openrm/data/clouds.x +%%WITH_DEMOS%%share/examples/openrm/data/cos-yoffset.dio +%%WITH_DEMOS%%share/examples/openrm/data/cos.dio +%%WITH_DEMOS%%share/examples/openrm/data/doghead.jpg +%%WITH_DEMOS%%share/examples/openrm/data/doghead.x +%%WITH_DEMOS%%share/examples/openrm/data/elev.dio +%%WITH_DEMOS%%share/examples/openrm/data/elevData.txt +%%WITH_DEMOS%%share/examples/openrm/data/floor.x +%%WITH_DEMOS%%share/examples/openrm/data/front.x +%%WITH_DEMOS%%share/examples/openrm/data/func10-xoffset.dio +%%WITH_DEMOS%%share/examples/openrm/data/func10-yoffset.dio +%%WITH_DEMOS%%share/examples/openrm/data/func10.dio +%%WITH_DEMOS%%share/examples/openrm/data/greenpaper.x +%%WITH_DEMOS%%share/examples/openrm/data/left.x +%%WITH_DEMOS%%share/examples/openrm/data/op.small.x +%%WITH_DEMOS%%share/examples/openrm/data/orangegrid.x +%%WITH_DEMOS%%share/examples/openrm/data/right.x +%%WITH_DEMOS%%share/examples/openrm/data/topo256.dio +%%WITH_DEMOS%%share/examples/openrm/data/volume.dat +%%WITH_DEMOS%%share/examples/openrm/data/volume.dio +%%WITH_DEMOS%%share/examples/openrm/data/waves.dio +%%WITH_DEMOS%%share/examples/openrm/data/wu.x +%%WITH_DEMOS%%@dirrm share/examples/openrm/data +%%WITH_DEMOS%%share/examples/openrm/Makefile.x11 +%%WITH_DEMOS%%share/examples/openrm/README +%%WITH_DEMOS%%share/examples/openrm/barrier.c +%%WITH_DEMOS%%share/examples/openrm/barrier.h +%%WITH_DEMOS%%share/examples/openrm/clipper.c +%%WITH_DEMOS%%share/examples/openrm/clrball.c +%%WITH_DEMOS%%share/examples/openrm/cones.c +%%WITH_DEMOS%%share/examples/openrm/configure +%%WITH_DEMOS%%share/examples/openrm/dyntmap.c +%%WITH_DEMOS%%share/examples/openrm/elev-2vu.c +%%WITH_DEMOS%%share/examples/openrm/elev.c +%%WITH_DEMOS%%share/examples/openrm/elevImage.c +%%WITH_DEMOS%%share/examples/openrm/fogtest.c +%%WITH_DEMOS%%share/examples/openrm/glxinfo.c +%%WITH_DEMOS%%share/examples/openrm/imgMirror.c +%%WITH_DEMOS%%share/examples/openrm/isodrv-mt.c +%%WITH_DEMOS%%share/examples/openrm/isodrv.c +%%WITH_DEMOS%%share/examples/openrm/jack.c +%%WITH_DEMOS%%share/examples/openrm/jballs.c +%%WITH_DEMOS%%share/examples/openrm/keyfunc.c +%%WITH_DEMOS%%share/examples/openrm/libdio.c +%%WITH_DEMOS%%share/examples/openrm/libdio.h +%%WITH_DEMOS%%share/examples/openrm/lines2d.c +%%WITH_DEMOS%%share/examples/openrm/makeinclude +%%WITH_DEMOS%%share/examples/openrm/markers2d.c +%%WITH_DEMOS%%share/examples/openrm/offscreen.c +%%WITH_DEMOS%%share/examples/openrm/pdb.c +%%WITH_DEMOS%%share/examples/openrm/pdbwork.c +%%WITH_DEMOS%%share/examples/openrm/pickListTest.c +%%WITH_DEMOS%%share/examples/openrm/pickTest.c +%%WITH_DEMOS%%share/examples/openrm/pntcld.c +%%WITH_DEMOS%%share/examples/openrm/procmode.h +%%WITH_DEMOS%%share/examples/openrm/rm2screen.c +%%WITH_DEMOS%%share/examples/openrm/skeleton.c +%%WITH_DEMOS%%share/examples/openrm/spotlight.c +%%WITH_DEMOS%%share/examples/openrm/switchtest.c +%%WITH_DEMOS%%share/examples/openrm/tcube.c +%%WITH_DEMOS%%share/examples/openrm/text2d.c +%%WITH_DEMOS%%share/examples/openrm/tfly.c +%%WITH_DEMOS%%share/examples/openrm/tmap2d.c +%%WITH_DEMOS%%share/examples/openrm/trans2d.c +%%WITH_DEMOS%%share/examples/openrm/vector3d.c +%%WITH_DEMOS%%share/examples/openrm/vis2d.c +%%WITH_DEMOS%%share/examples/openrm/vis3d.c +%%WITH_DEMOS%%share/examples/openrm/vrend.c +%%WITH_DEMOS%%share/examples/openrm/vslicer.c +%%WITH_DEMOS%%@dirrm share/examples/openrm +%%PORTDOCS%%share/doc/openrm/FUTUREPLANS +%%PORTDOCS%%share/doc/openrm/README +%%PORTDOCS%%share/doc/openrm/RELEASENOTES +%%PORTDOCS%%share/doc/openrm/images/ormsg.gif +%%PORTDOCS%%@dirrm share/doc/openrm/images +%%PORTDOCS%%share/doc/openrm/index.html +%%PORTDOCS%%share/doc/openrm/librm.html +%%PORTDOCS%%share/doc/openrm/librmaux.html +%%PORTDOCS%%share/doc/openrm/librmi.html +%%PORTDOCS%%share/doc/openrm/librmv.html +%%PORTDOCS%%share/doc/openrm/rmarcball.c.html +%%PORTDOCS%%share/doc/openrm/rmbfuncs.c.html +%%PORTDOCS%%share/doc/openrm/rmbitmap.c.html +%%PORTDOCS%%share/doc/openrm/rmcamera.c.html +%%PORTDOCS%%share/doc/openrm/rmclip.c.html +%%PORTDOCS%%share/doc/openrm/rmcmpmgr.h.html +%%PORTDOCS%%share/doc/openrm/rmcreatw.c.html +%%PORTDOCS%%share/doc/openrm/rmerror.c.html +%%PORTDOCS%%share/doc/openrm/rmflyui.c.html +%%PORTDOCS%%share/doc/openrm/rmfog.c.html +%%PORTDOCS%%share/doc/openrm/rmframe.c.html +%%PORTDOCS%%share/doc/openrm/rmimage.c.html +%%PORTDOCS%%share/doc/openrm/rminit.c.html +%%PORTDOCS%%share/doc/openrm/rmjpeg.c.html +%%PORTDOCS%%share/doc/openrm/rmlites.c.html +%%PORTDOCS%%share/doc/openrm/rmmalloc.c.html +%%PORTDOCS%%share/doc/openrm/rmmatrix.c.html +%%PORTDOCS%%share/doc/openrm/rmnode.c.html +%%PORTDOCS%%share/doc/openrm/rmpick.c.html +%%PORTDOCS%%share/doc/openrm/rmpipe.c.html +%%PORTDOCS%%share/doc/openrm/rmppm.c.html +%%PORTDOCS%%share/doc/openrm/rmprim.c.html +%%PORTDOCS%%share/doc/openrm/rmrstate.c.html +%%PORTDOCS%%share/doc/openrm/rmscene.c.html +%%PORTDOCS%%share/doc/openrm/rmstats.h.html +%%PORTDOCS%%share/doc/openrm/rmtext.c.html +%%PORTDOCS%%share/doc/openrm/rmthread.c.html +%%PORTDOCS%%share/doc/openrm/rmthread.h.html +%%PORTDOCS%%share/doc/openrm/rmtxture.c.html +%%PORTDOCS%%share/doc/openrm/rmtypes.h.html +%%PORTDOCS%%share/doc/openrm/rmutil.c.html +%%PORTDOCS%%share/doc/openrm/rmvcontour.c.html +%%PORTDOCS%%share/doc/openrm/rmverrplot.c.html +%%PORTDOCS%%share/doc/openrm/rmvgrid2d.c.html +%%PORTDOCS%%share/doc/openrm/rmviso.c.html +%%PORTDOCS%%share/doc/openrm/rmvmap.c.html +%%PORTDOCS%%share/doc/openrm/rmvmesh.c.html +%%PORTDOCS%%share/doc/openrm/rmvmeshv.c.html +%%PORTDOCS%%share/doc/openrm/rmvsignal.c.html +%%PORTDOCS%%share/doc/openrm/rmvutil.c.html +%%PORTDOCS%%share/doc/openrm/rmw.h.html +%%PORTDOCS%%share/doc/openrm/rmwin.c.html +%%PORTDOCS%%share/doc/openrm/rmx.c.html +%%PORTDOCS%%share/doc/openrm/rmx.h.html +%%PORTDOCS%%share/doc/openrm/rmxtext.c.html +%%PORTDOCS%%@dirrm share/doc/openrm |