mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
A cross-platform C++/OpenGL library. Simple, and powerful for
large/multidispay environment, mainly focused on Camera control. PR: 54728 Submitted by: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
This commit is contained in:
parent
72649077ec
commit
ee50cec6f8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85608
@ -233,6 +233,7 @@
|
||||
SUBDIR += opendx
|
||||
SUBDIR += opendx-samples
|
||||
SUBDIR += opengl-man
|
||||
SUBDIR += openproducer
|
||||
SUBDIR += openrm
|
||||
SUBDIR += ophoto
|
||||
SUBDIR += optipng
|
||||
|
37
graphics/openproducer/Makefile
Normal file
37
graphics/openproducer/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
# New ports collection makefile for: openproducer
|
||||
# Date created: 22 July 2003
|
||||
# Whom: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= openproducer
|
||||
PORTVERSION= 0.8.2.2
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://www.andesengineering.com/Producer/Download/
|
||||
DISTNAME= Producer-${PORTVERSION:R}-${PORTVERSION:E}
|
||||
|
||||
MAINTAINER= yinjieh@csie.nctu.edu.tw
|
||||
COMMENT= A cross-platform C++/OpenGL library focused on camera control
|
||||
|
||||
USE_REINPLACE= yes
|
||||
USE_X_PREFIX= yes
|
||||
USE_MESA= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
USE_GMAKE= yes
|
||||
MAKE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS}
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}
|
||||
MAKEFILE= GNUmakefile
|
||||
|
||||
# opt = optimized ($OPTF added); debug = debug ($DBGF added); opt is default
|
||||
ALL_TARGET= opt
|
||||
|
||||
post-install:
|
||||
${LN} -sf ${PREFIX}/lib/libProducer.so ${PREFIX}/lib/libProducer.so.0
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${CP} -r ${WRKSRC}/doc/ ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
graphics/openproducer/distinfo
Normal file
1
graphics/openproducer/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (Producer-0.8.2-2.tar.gz) = 070fd2108c196506ebc3103628d28547
|
20
graphics/openproducer/files/patch-Make::makedefs
Normal file
20
graphics/openproducer/files/patch-Make::makedefs
Normal file
@ -0,0 +1,20 @@
|
||||
--- Make/makedefs.orig Sat Apr 19 01:07:23 2003
|
||||
+++ Make/makedefs Mon Jul 21 18:15:32 2003
|
||||
@@ -239,8 +239,15 @@
|
||||
SHARED = -shared
|
||||
ARCH = 32
|
||||
ARCHARGS =
|
||||
- INST_SYS_PREFIX = /opt/X11R6
|
||||
- INST_SHARE_PREFIX = /usr/share/Producer
|
||||
+ INST_SYS_PREFIX = $(PREFIX)
|
||||
+ INST_SHARE_PREFIX = $(INST_SYS_PREFIX)/share/openproducer
|
||||
+ LINKARGS = -L/usr/X11R6/lib -L/usr/local/lib -rpath /usr/local/lib -rpath /usr/X11R6/lib
|
||||
+ INST_LOCATION = $(INST_SYS_PREFIX)
|
||||
+ INST_SHARE = $(INST_SHARE_PREFIX)
|
||||
+ INST_DEMOS = $(INST_LOCATION)/openproducer/bin
|
||||
+ INST_SRC = $(INST_LOCATION)/openproducer/src
|
||||
+ INST_DOC = $(INST_LOCATION)/openproducer/doc
|
||||
+ INST_DATA = $(INST_SHARE)/openproducer/data
|
||||
endif
|
||||
|
||||
#### MacOS X specific definitions
|
11
graphics/openproducer/files/patch-src::GNUmakefile
Normal file
11
graphics/openproducer/files/patch-src::GNUmakefile
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/GNUmakefile.orig Thu Apr 10 04:16:47 2003
|
||||
+++ src/GNUmakefile Mon Jul 21 14:03:29 2003
|
||||
@@ -27,7 +27,7 @@
|
||||
## LIBS = -lGL -lXmu -lXmu -lX11 -lpthread -ll
|
||||
|
||||
INC += -I$(TOPDIR)/include -I$(THISDIR)
|
||||
-LIBS = -lGL -lXmu -lXmu -lX11 -lpthread
|
||||
+LIBS = -lGL -lXmu -lXmu -lX11 $(PTHREAD_LIBS)
|
||||
LIB = libProducer
|
||||
|
||||
include $(TOPDIR)/Make/makerules
|
17
graphics/openproducer/pkg-descr
Normal file
17
graphics/openproducer/pkg-descr
Normal file
@ -0,0 +1,17 @@
|
||||
From the 'overview' section of the official site:
|
||||
|
||||
Open Producer (or simply Producer) is a cross-platform C++/OpenGL library
|
||||
that is focused on Camera control. Producer's Camera provides projection 1,
|
||||
field of view, viewpoint control, and frame control. Further, Producer can
|
||||
be used in a multi-tasking environment to allow multiple Camera's to run in
|
||||
parallel supporting hardware configurations with multiple display subsystems.
|
||||
Threading, Camera synchronization and frame rate control are simplified in
|
||||
the Producer programming interface.
|
||||
|
||||
Producer provides a simple, yet powerfully scalable approach for real-time 3D
|
||||
applications wishing to run within a single window to large, multidisplay
|
||||
systems.
|
||||
|
||||
WWW: http://www.andesengineering.com/Producer/
|
||||
|
||||
Maintainer: "Ying-Chieh Chen" <yinjieh@csie.nctu.edu.tw>
|
113
graphics/openproducer/pkg-plist
Normal file
113
graphics/openproducer/pkg-plist
Normal file
@ -0,0 +1,113 @@
|
||||
include/Producer/Barrier
|
||||
include/Producer/Block
|
||||
include/Producer/BlockingQueue
|
||||
include/Producer/Camera
|
||||
include/Producer/CameraConfig
|
||||
include/Producer/CameraGroup
|
||||
include/Producer/Events
|
||||
include/Producer/Export
|
||||
include/Producer/InputArea
|
||||
include/Producer/Keyboard
|
||||
include/Producer/KeyboardMouse
|
||||
include/Producer/Math
|
||||
include/Producer/Mutex
|
||||
include/Producer/Referenced
|
||||
include/Producer/RenderSurface
|
||||
include/Producer/Thread
|
||||
include/Producer/Timer
|
||||
include/Producer/Trackball
|
||||
include/Producer/Types
|
||||
include/Producer/Version
|
||||
include/Producer/VisualChooser
|
||||
include/Producer/Window3D
|
||||
include/Producer/osgCameraGroup
|
||||
include/Producer/osgSceneHandler
|
||||
lib/libProducer.so
|
||||
lib/libProducer.so.0
|
||||
@dirrm include/Producer
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CameraConfig.bnf
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CameraConfig.example
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Notes
|
||||
%%PORTDOCS%%%%DOCSDIR%%/directors_chair.jpg
|
||||
%%PORTDOCS%%%%DOCSDIR%%/documentation.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/download.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/doxy.cfg
|
||||
%%PORTDOCS%%%%DOCSDIR%%/index.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/install.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/prerequisites.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/producer_name.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/index.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/producer_camera.jpg
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/producers_chair.jpg
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/Camera/GNUmakefile
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/Camera/MySceneHandler
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/Camera/example1.cpp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/Camera/glut_teapot.cpp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/CameraGroup/GNUmakefile
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/CameraGroup/MySceneHandler
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/CameraGroup/example1.cpp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/CameraGroup/example2.cpp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/CameraGroup/example3.cpp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/CameraGroup/glut_teapot.cpp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/CameraGroup/oneWindow.cfg
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/CameraGroup/twoProjectionRects.cfg
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/CameraGroup/twoWindows.cfg
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/GNUmakefile
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/KeyboardMouse/GNUmakefile
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/KeyboardMouse/MyKeyboardMouseCallback
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/KeyboardMouse/MySceneHandler
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/KeyboardMouse/MySceneHandler2
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/KeyboardMouse/example1.cpp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/KeyboardMouse/example2.cpp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/KeyboardMouse/example3.cpp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/KeyboardMouse/example4.cpp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/KeyboardMouse/example5.cpp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/KeyboardMouse/example6.cpp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/KeyboardMouse/glut_teapot.cpp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/KeyboardMouse/threePipe.cfg
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/KeyboardMouse/twoPipe.cfg
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/KeyboardMouse/twoWindows.cfg
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/Make/makedefs
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/Make/makerules
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/Motif/GNUmakefile
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/Motif/MotifTest
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/Motif/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/Motif/example1.cpp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/Motif/example2.cpp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/Motif/gui.cpp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/Motif/gui.h
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/Motif/test.cfg
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/RenderSurface/GNUmakefile
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/RenderSurface/MyGraphics
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/RenderSurface/example1.cpp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/RenderSurface/glut_teapot.cpp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/Window3D/GNUmakefile
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/Window3D/MyGraphics
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/Window3D/glut_teapot.cpp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/SourceCode/Window3D/main.cpp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/VC++6.0/CameraGroup_1/CameraGroup_1.dsp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/VC++6.0/CameraGroup_2/CameraGroup_2.dsp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/VC++6.0/Camera_1/Camera_1.dsp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/VC++6.0/KeyboardMouse_1/KeyboardMouse_1.dsp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/VC++6.0/KeyboardMouse_2/KeyboardMouse_2.dsp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/VC++6.0/KeyboardMouse_3/KeyboardMouse_3.dsp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/VC++6.0/KeyboardMouse_4/KeyboardMouse_4.dsp
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial/VC++6.0/Tutorial.dsw
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Tutorial/SourceCode/Camera
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Tutorial/SourceCode/CameraGroup
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Tutorial/SourceCode/KeyboardMouse
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Tutorial/SourceCode/Make
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Tutorial/SourceCode/Motif
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Tutorial/SourceCode/RenderSurface
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Tutorial/SourceCode/Window3D
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Tutorial/SourceCode
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Tutorial/VC++6.0/CameraGroup_1
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Tutorial/VC++6.0/CameraGroup_2
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Tutorial/VC++6.0/Camera_1
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Tutorial/VC++6.0/KeyboardMouse_1
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Tutorial/VC++6.0/KeyboardMouse_2
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Tutorial/VC++6.0/KeyboardMouse_3
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Tutorial/VC++6.0/KeyboardMouse_4
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Tutorial/VC++6.0
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Tutorial
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user