From 606292f748b6299f380fbefbfd841b25dd887e02 Mon Sep 17 00:00:00 2001 From: garbled Date: Thu, 5 Feb 2004 20:34:17 +0000 Subject: New package for OpenRM 1.5.1. An opensource 3D Scene Graph API. --- graphics/OpenRM/DESCR | 6 +++ graphics/OpenRM/Makefile | 59 ++++++++++++++++++++++++++ graphics/OpenRM/PLIST | 91 ++++++++++++++++++++++++++++++++++++++++ graphics/OpenRM/buildlink3.mk | 26 ++++++++++++ graphics/OpenRM/distinfo | 7 ++++ graphics/OpenRM/patches/patch-aa | 13 ++++++ graphics/OpenRM/patches/patch-ab | 9 ++++ graphics/OpenRM/patches/patch-ac | 9 ++++ 8 files changed, 220 insertions(+) create mode 100644 graphics/OpenRM/DESCR create mode 100644 graphics/OpenRM/Makefile create mode 100644 graphics/OpenRM/PLIST create mode 100644 graphics/OpenRM/buildlink3.mk create mode 100644 graphics/OpenRM/distinfo create mode 100644 graphics/OpenRM/patches/patch-aa create mode 100644 graphics/OpenRM/patches/patch-ab create mode 100644 graphics/OpenRM/patches/patch-ac (limited to 'graphics/OpenRM') diff --git a/graphics/OpenRM/DESCR b/graphics/OpenRM/DESCR new file mode 100644 index 00000000000..67da46f9080 --- /dev/null +++ b/graphics/OpenRM/DESCR @@ -0,0 +1,6 @@ +OpenRM Scene Graph is a developers toolkit that implements a scene graph +API, and which uses OpenGL for hardware accelerated rendering. OpenRM is +intended to be used to construct high performance, portable graphics and +scientific visualization application s on Unix/Linux/Windows platforms. It +supports parallelism at several levels in the application, from use on +distributed memory parallel platforms to single-CPU systems. diff --git a/graphics/OpenRM/Makefile b/graphics/OpenRM/Makefile new file mode 100644 index 00000000000..c09116c470a --- /dev/null +++ b/graphics/OpenRM/Makefile @@ -0,0 +1,59 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/02/05 20:34:17 garbled Exp $ +# + +DISTNAME= openrm-devel-1.5.1 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openrm/} + +MAINTAINER= root@garbled.net +HOMEPAGE= http://www.openrm.org/ +COMMENT= The OpenRM Scene Graph API + +USE_X11= yes +WRKSRC= ${WRKDIR}/rm151 +ALL_TARGET= freebsd docs +USE_BUILDLINK3= yes +MAKE_ENV+= AR=${AR} RM=${RM} CP=${CP} LN=${LN} ECHO_CMD=${ECHO} \ + STRIP_CMD=${ECHO} + +post-patch: + ${MV} ${WRKSRC}/doc/sortlist.pl ${WRKSRC}/doc/sortlist.pl.orig && \ + ${SED} -e 's|%%PERLBIN%%|${PERL5}|g' \ + ${WRKSRC}/doc/sortlist.pl.orig > ${WRKSRC}/doc/sortlist.pl + ${CHMOD} 755 ${WRKSRC}/doc/sortlist.pl + ${MV} ${WRKSRC}/doc/source2html.pl ${WRKSRC}/doc/source2html.pl.orig &&\ + ${SED} -e 's|%%PERLBIN%%|${PERL5}|g' \ + ${WRKSRC}/doc/source2html.pl.orig > ${WRKSRC}/doc/source2html.pl + ${CHMOD} 755 ${WRKSRC}/doc/source2html.pl + +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_DIR} ${PREFIX}/include/rm + ${INSTALL_DATA} ${WRKSRC}/include/rm/*.h ${PREFIX}/include/rm + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/OpenRM + ${INSTALL_DATA} ${WRKSRC}/FUTUREPLANS ${PREFIX}/share/doc/OpenRM + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/OpenRM + ${INSTALL_DATA} ${WRKSRC}/RELEASENOTES ${PREFIX}/share/doc/OpenRM + ${INSTALL_DATA} ${WRKSRC}/doc/HTML/*.html ${PREFIX}/share/doc/OpenRM + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/OpenRM/images + ${INSTALL_DATA} ${WRKSRC}/doc/HTML/images/* ${PREFIX}/share/doc/OpenRM/images + +.include "../../graphics/jpeg/buildlink3.mk" +.include "../../graphics/Mesa/buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" +.include "../../lang/perl5/buildlink3.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/OpenRM/PLIST b/graphics/OpenRM/PLIST new file mode 100644 index 00000000000..68b58ae45b0 --- /dev/null +++ b/graphics/OpenRM/PLIST @@ -0,0 +1,91 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/05 20:34:17 garbled Exp $ +include/rm/rm.h +include/rm/rmaux.h +include/rm/rmcmpmgr.h +include/rm/rmcr.h +include/rm/rmdeflts.h +include/rm/rmdefs.h +include/rm/rmi.h +include/rm/rmjpeg.h +include/rm/rmpipe.h +include/rm/rmppm.h +include/rm/rmpublic.h +include/rm/rmthread.h +include/rm/rmtypes.h +include/rm/rmv.h +include/rm/rmvdefs.h +include/rm/rmvmap.h +include/rm/rmvpub.h +include/rm/rmw.h +include/rm/rmx.h +@dirrm include/rm +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 +share/doc/OpenRM/FUTUREPLANS +share/doc/OpenRM/README +share/doc/OpenRM/RELEASENOTES +share/doc/OpenRM/images/ormsg.gif +@dirrm share/doc/OpenRM/images +share/doc/OpenRM/index.html +share/doc/OpenRM/librm.html +share/doc/OpenRM/librmaux.html +share/doc/OpenRM/librmi.html +share/doc/OpenRM/librmv.html +share/doc/OpenRM/rmarcball.c.html +share/doc/OpenRM/rmbfuncs.c.html +share/doc/OpenRM/rmbitmap.c.html +share/doc/OpenRM/rmcamera.c.html +share/doc/OpenRM/rmclip.c.html +share/doc/OpenRM/rmcmpmgr.c.html +share/doc/OpenRM/rmcmpmgr.h.html +share/doc/OpenRM/rmcr.c.html +share/doc/OpenRM/rmcreatw.c.html +share/doc/OpenRM/rmerror.c.html +share/doc/OpenRM/rmflyui.c.html +share/doc/OpenRM/rmfog.c.html +share/doc/OpenRM/rmframe.c.html +share/doc/OpenRM/rmimage.c.html +share/doc/OpenRM/rminit.c.html +share/doc/OpenRM/rmjpeg.c.html +share/doc/OpenRM/rmlites.c.html +share/doc/OpenRM/rmmalloc.c.html +share/doc/OpenRM/rmmatrix.c.html +share/doc/OpenRM/rmnode.c.html +share/doc/OpenRM/rmpick.c.html +share/doc/OpenRM/rmpipe.c.html +share/doc/OpenRM/rmppm.c.html +share/doc/OpenRM/rmprim.c.html +share/doc/OpenRM/rmrstate.c.html +share/doc/OpenRM/rmscene.c.html +share/doc/OpenRM/rmstats.h.html +share/doc/OpenRM/rmtext.c.html +share/doc/OpenRM/rmthread.c.html +share/doc/OpenRM/rmthread.h.html +share/doc/OpenRM/rmtime.c.html +share/doc/OpenRM/rmtxture.c.html +share/doc/OpenRM/rmtypes.h.html +share/doc/OpenRM/rmutil.c.html +share/doc/OpenRM/rmvcontour.c.html +share/doc/OpenRM/rmverrplot.c.html +share/doc/OpenRM/rmvgrid2d.c.html +share/doc/OpenRM/rmviso.c.html +share/doc/OpenRM/rmvmap.c.html +share/doc/OpenRM/rmvmesh.c.html +share/doc/OpenRM/rmvmeshv.c.html +share/doc/OpenRM/rmvsignal.c.html +share/doc/OpenRM/rmvutil.c.html +share/doc/OpenRM/rmwin.c.html +share/doc/OpenRM/rmx.c.html +share/doc/OpenRM/rmx.h.html +share/doc/OpenRM/rmxtext.c.html +@dirrm share/doc/OpenRM diff --git a/graphics/OpenRM/buildlink3.mk b/graphics/OpenRM/buildlink3.mk new file mode 100644 index 00000000000..10fec3d93d9 --- /dev/null +++ b/graphics/OpenRM/buildlink3.mk @@ -0,0 +1,26 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/02/05 20:34:17 garbled Exp $ +# +# This Makefile fragment is included by packages that use openrm-devel. +# +# This file was created automatically using createbuildlink-3.0. +# + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +OPENRM_DEVEL_BUILDLINK3_MK:= ${OPENRM_DEVEL_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= openrm-devel +.endif + +.if !empty(OPENRM_DEVEL_BUILDLINK3_MK:M+) +BUILDLINK_PACKAGES+= openrm-devel +BUILDLINK_DEPENDS.openrm-devel?= openrm-devel>=1.5.1 +BUILDLINK_PKGSRCDIR.openrm-devel?= ../../graphics/OpenRM + +.include "../../graphics/jpeg/buildlink3.mk" +.include "../../graphics/Mesa/buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" + +.endif # OPENRM_DEVEL_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/graphics/OpenRM/distinfo b/graphics/OpenRM/distinfo new file mode 100644 index 00000000000..5aff859271e --- /dev/null +++ b/graphics/OpenRM/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/02/05 20:34:17 garbled Exp $ + +SHA1 (openrm-devel-1.5.1.tar.gz) = 33a3a2942a57b15da3459efef6b9f2942f9c4ffd +Size (openrm-devel-1.5.1.tar.gz) = 628213 bytes +SHA1 (patch-aa) = 45caa6f9d0117e98f707ba7c7e071e1f9dae4d1f +SHA1 (patch-ab) = c8ad68eb88b9ff557d15f1c3e358dbee828c5605 +SHA1 (patch-ac) = 1288d0d5fa8de3484859f75b9b94554a5ebd1643 diff --git a/graphics/OpenRM/patches/patch-aa b/graphics/OpenRM/patches/patch-aa new file mode 100644 index 00000000000..17df810cd5f --- /dev/null +++ b/graphics/OpenRM/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/02/05 20:34:17 garbled Exp $ +--- include/rm/rmthread.h.orig Fri Jan 16 21:06:42 2004 ++++ include/rm/rmthread.h Thu Feb 5 01:27:44 2004 +@@ -63,7 +63,9 @@ + + #ifdef RM_X + #include ++#ifndef __NetBSD__ + #include ++#endif + #else /* RM_WIN */ + #include + #include diff --git a/graphics/OpenRM/patches/patch-ab b/graphics/OpenRM/patches/patch-ab new file mode 100644 index 00000000000..88453b6e9bb --- /dev/null +++ b/graphics/OpenRM/patches/patch-ab @@ -0,0 +1,9 @@ +$NetBSD: patch-ab,v 1.1.1.1 2004/02/05 20:34:17 garbled Exp $ +--- doc/sortlist.pl.orig Mon Feb 2 12:08:19 2004 ++++ doc/sortlist.pl Mon Feb 2 12:08:35 2004 +@@ -1,4 +1,4 @@ +-#!/usr/bin/perl ++#!%%PERLBIN%% + + # + # Copyright (C) 2000-2004, R3vis Corporation, All Rights Reserved. diff --git a/graphics/OpenRM/patches/patch-ac b/graphics/OpenRM/patches/patch-ac new file mode 100644 index 00000000000..a7470c28904 --- /dev/null +++ b/graphics/OpenRM/patches/patch-ac @@ -0,0 +1,9 @@ +$NetBSD: patch-ac,v 1.1.1.1 2004/02/05 20:34:17 garbled Exp $ +--- doc/source2html.pl.orig Mon Feb 2 12:08:22 2004 ++++ doc/source2html.pl Mon Feb 2 12:08:46 2004 +@@ -1,4 +1,4 @@ +-#!/usr/bin/perl ++#!%%PERLBIN%% + + # + # Copyright (C) 2000-2004, R3vis Corporation, All Rights Reserved. -- cgit v1.2.3