diff options
author | pav <pav@FreeBSD.org> | 2005-09-11 06:46:13 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-09-11 06:46:13 +0800 |
commit | 28b869753dd407eec6d7245aa0e9afe570eed4a0 (patch) | |
tree | 3ebfdb0112146345b65322f90f63abe591286f79 /graphics | |
parent | 849003bf454f70f32d0efc271565ed08f864ace3 (diff) | |
download | freebsd-ports-gnome-28b869753dd407eec6d7245aa0e9afe570eed4a0.tar.gz freebsd-ports-gnome-28b869753dd407eec6d7245aa0e9afe570eed4a0.tar.zst freebsd-ports-gnome-28b869753dd407eec6d7245aa0e9afe570eed4a0.zip |
Viewing Volume Visualizer is a tutorial tool for understanding
viewing and projection in OpenGL. It allows user to see effects
of changing viewing and projection parameters on seeing a scene.
Additionally it is possible to dump a C file which specifies viewing
and projection of the current principal view in one routine. It could
be incorporated into another program that wants to define a specific
view and projection. VVV can therefore be used as a preview tool.
PR: ports/85948
Submitted by: Igor Pokrovsky <ip@doom.homeunix.org>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/vvv/Makefile | 45 | ||||
-rw-r--r-- | graphics/vvv/distinfo | 2 | ||||
-rw-r--r-- | graphics/vvv/files/patch-Makefile | 24 | ||||
-rw-r--r-- | graphics/vvv/pkg-descr | 12 |
5 files changed, 84 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 032bc1f612e9..0e6ee3ebd8c2 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -561,6 +561,7 @@ SUBDIR += vips SUBDIR += visionegg SUBDIR += vp + SUBDIR += vvv SUBDIR += whirlgif SUBDIR += white_dune SUBDIR += wings diff --git a/graphics/vvv/Makefile b/graphics/vvv/Makefile new file mode 100644 index 000000000000..9714de9fc298 --- /dev/null +++ b/graphics/vvv/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: vvv +# Date created: 10 Sep 2005 +# Whom: Igor Pokrovsky <ip@doom.homeunix.org> +# +# $FreeBSD$ +# + +PORTNAME= vvv +PORTVERSION= 1.0 +CATEGORIES= graphics +MASTER_SITES= http://www.inf.ufes.br/~thomas/graphics/vvv/ +DISTNAME= ${PORTNAME}_unix +EXTRACT_SUFX= .tgz + +MAINTAINER= ip@doom.homeunix.org +COMMENT= A tutorial tool for understanding viewing and projection in OpenGL + +BUILD_DEPENDS= ${X11BASE}/lib/libglui.a:${PORTSDIR}/devel/glui +LIB_DEPENDS= glut.3:${PORTSDIR}/graphics/libglut + +USE_REINPLACE= yes +USE_GMAKE= yes +USE_GL= yes +USE_X_PREFIX= yes +MAKE_ENV= OS=unix X11BASE="${X11BASE}" +ALL_TARGET= ${PORTNAME} + +WRKSRC= ${WRKDIR}/${PORTNAME} + +PLIST_FILES= bin/${PORTNAME} +PORTDOCS= vvv.html + +post-patch: + @${REINPLACE_CMD} -i '' -e 's|g\([c+]\)\1|${CXX}|g' \ + ${WRKSRC}/Makefile + @${RM} ${WRKSRC}/glui.h # we are using glui from the port + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin +.ifndef (NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/graphics/vvv/distinfo b/graphics/vvv/distinfo new file mode 100644 index 000000000000..0f8a6d67019c --- /dev/null +++ b/graphics/vvv/distinfo @@ -0,0 +1,2 @@ +MD5 (vvv_unix.tgz) = 03a0c16b23e3961ffa25afba6b05d0dd +SIZE (vvv_unix.tgz) = 50075 diff --git a/graphics/vvv/files/patch-Makefile b/graphics/vvv/files/patch-Makefile new file mode 100644 index 000000000000..3de8d1fc3b8e --- /dev/null +++ b/graphics/vvv/files/patch-Makefile @@ -0,0 +1,24 @@ +--- Makefile.orig Thu Feb 3 22:03:08 2005 ++++ Makefile Sat Sep 10 13:11:30 2005 +@@ -28,9 +28,10 @@ +
+ ifeq ($(OS),unix)
+ RM = rm
+- LFLAG1 = -L/usr/lib -L/usr/X11R6/lib
++ IFLAG1 = -I$(X11BASE)/include ++ LFLAG1 = -L$(X11BASE)/lib
+ # Where the GLUI library is:
+- LFLAG2 = -L/home/thomas/graphics/OpenGL/glui_v2_2/lib
++ LFLAG2 =
+ LIBS = -lglui -lglut -lGLU -lGL -lXmu -lXext -lX11 -lXi -lm
+ endif
+ ifeq ($(OS),Windows_NT)
+@@ -55,7 +56,7 @@ +
+ IFLAGGLUI = -I.
+
+-IFLAGS = $(IFLAGGLUI)
++IFLAGS = $(IFLAGGLUI) $(IFLAG1)
+
+
+
diff --git a/graphics/vvv/pkg-descr b/graphics/vvv/pkg-descr new file mode 100644 index 000000000000..539aa8778fe9 --- /dev/null +++ b/graphics/vvv/pkg-descr @@ -0,0 +1,12 @@ +Viewing Volume Visualizer is a tutorial tool for understanding +viewing and projection in OpenGL. It allows user to see effects +of changing viewing and projection parameters on seeing a scene. +Additionally it is possible to dump a C file which specifies viewing +and projection of the current principal view in one routine. It could +be incorporated into another program that wants to define a specific +view and projection. VVV can therefore be used as a preview tool. + +WWW: http://www.inf.ufes.br/~thomas/graphics/vvv/vvv.html + +- Igor Pokrovsky +ip@doom.homeunix.org |