aboutsummaryrefslogtreecommitdiff
path: root/graphics/aqsis
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-13 07:50:12 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-13 07:50:12 +0000
commit63a379db28c83fdffe263edb39b3cf250445087c (patch)
treec56fbfa0fb2c5a05f57435ada50083271b5ca64d /graphics/aqsis
parent6e9071b2fcf5edd927b36ea0676b4ec1b98268f0 (diff)
downloadports-63a379db28c83fdffe263edb39b3cf250445087c.tar.gz
ports-63a379db28c83fdffe263edb39b3cf250445087c.zip
Notes
Diffstat (limited to 'graphics/aqsis')
-rw-r--r--graphics/aqsis/Makefile32
-rw-r--r--graphics/aqsis/distinfo1
-rw-r--r--graphics/aqsis/files/patch-aqsis.cpp13
-rw-r--r--graphics/aqsis/files/patch-parsenode.cpp11
-rw-r--r--graphics/aqsis/files/patch-shaders::Makefile.in11
-rw-r--r--graphics/aqsis/pkg-comment1
-rw-r--r--graphics/aqsis/pkg-descr5
-rw-r--r--graphics/aqsis/pkg-plist127
8 files changed, 201 insertions, 0 deletions
diff --git a/graphics/aqsis/Makefile b/graphics/aqsis/Makefile
new file mode 100644
index 000000000000..bcf97068f7d1
--- /dev/null
+++ b/graphics/aqsis/Makefile
@@ -0,0 +1,32 @@
+# ex:ts=8
+# Ports collection Makefile for: aqsis
+# Date created: Sep 12, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= aqsis
+PORTVERSION= 0.6.6
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= tiff:${PORTSDIR}/graphics/tiff \
+ argparse:${PORTSDIR}/devel/libargparse
+
+USE_REINPLACE= yes
+USE_MESA= yes
+USE_LIBTOOL= yes
+CONFIGURE_ENV= \
+ CPPFLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include" \
+ LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib -L${X11BASE}/lib"
+INSTALLS_SHLIB= yes
+
+post-patch:
+ @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \
+ -e "s|-ldl||g"
+
+.include <bsd.port.mk>
diff --git a/graphics/aqsis/distinfo b/graphics/aqsis/distinfo
new file mode 100644
index 000000000000..f7ed88d6e880
--- /dev/null
+++ b/graphics/aqsis/distinfo
@@ -0,0 +1 @@
+MD5 (aqsis-0.6.6.tar.gz) = f48c4c946cde532cc43f9f3a1c38caca
diff --git a/graphics/aqsis/files/patch-aqsis.cpp b/graphics/aqsis/files/patch-aqsis.cpp
new file mode 100644
index 000000000000..eb6dc1120c86
--- /dev/null
+++ b/graphics/aqsis/files/patch-aqsis.cpp
@@ -0,0 +1,13 @@
+--- aqsis/aqsis.cpp.orig Fri Sep 13 13:07:03 2002
++++ aqsis/aqsis.cpp Fri Sep 13 13:07:56 2002
+@@ -66,8 +66,8 @@
+ */
+ RtVoid PrintProgress( RtFloat percent )
+ {
+-static long tick=0;
+-long now;
++static time_t tick=0;
++time_t now;
+
+ if (tick == 0)
+ {
diff --git a/graphics/aqsis/files/patch-parsenode.cpp b/graphics/aqsis/files/patch-parsenode.cpp
new file mode 100644
index 000000000000..5de3eac9c075
--- /dev/null
+++ b/graphics/aqsis/files/patch-parsenode.cpp
@@ -0,0 +1,11 @@
+--- libslparse/parsenode.cpp.orig Thu Sep 12 23:56:09 2002
++++ libslparse/parsenode.cpp Thu Sep 12 23:58:41 2002
+@@ -121,7 +121,7 @@
+ #if defined(AQSIS_SYSTEM_MACOSX) || defined (AQSIS_SYSTEM_BEOS)
+ gVariableTypeIdentifiers[ i ][ 0 ] == tolower( Id ) )
+ #else
+- gVariableTypeIdentifiers[ i ][ 0 ] == _tolower( Id ) )
++ gVariableTypeIdentifiers[ i ][ 0 ] == tolower( Id ) )
+ #endif
+ return ( i );
+ }
diff --git a/graphics/aqsis/files/patch-shaders::Makefile.in b/graphics/aqsis/files/patch-shaders::Makefile.in
new file mode 100644
index 000000000000..cff9b79a470a
--- /dev/null
+++ b/graphics/aqsis/files/patch-shaders::Makefile.in
@@ -0,0 +1,11 @@
+--- shaders/Makefile.in.orig Fri Sep 13 14:27:12 2002
++++ shaders/Makefile.in Fri Sep 13 14:27:29 2002
+@@ -80,7 +80,7 @@
+
+ EXTRA_DIST = DPProctext.h ambientlight.sl borg_metal.sl bumpy.sl constant.sl debug.sl dented.sl depthcue.sl distantlight.sl dpbluemarble.sl fog.sl matte.sl metal.sl noises.h paintedplastic.sl patterns.h plastic.sl pointlight.sl randgrid.sl shaders.dsp shadowspot.sl shinymetal.sl spotlight.sl wavy.sl uvtest.sl spacetest.sl show_st.sl cellnoisetest.sl brickbump.sl
+
+-shaderdir = $(prefix)/shaders
++shaderdir = $(prefix)/share/aqsis/shaders
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_CLEAN_FILES =
+ DIST_COMMON = Makefile.am Makefile.in
diff --git a/graphics/aqsis/pkg-comment b/graphics/aqsis/pkg-comment
new file mode 100644
index 000000000000..fc1abca916d0
--- /dev/null
+++ b/graphics/aqsis/pkg-comment
@@ -0,0 +1 @@
+A photorealistic rendering system
diff --git a/graphics/aqsis/pkg-descr b/graphics/aqsis/pkg-descr
new file mode 100644
index 000000000000..01ec236955e4
--- /dev/null
+++ b/graphics/aqsis/pkg-descr
@@ -0,0 +1,5 @@
+Aqsis is a Renderman(tm) compliant photorealistic 3D rendering toolkit. It is
+based on the Reyes rendering approach. Features include - programmable shading,
+true displacements, NURBS, CSG.
+
+WWW: http://www.aqsis.com/
diff --git a/graphics/aqsis/pkg-plist b/graphics/aqsis/pkg-plist
new file mode 100644
index 000000000000..180962b7ad54
--- /dev/null
+++ b/graphics/aqsis/pkg-plist
@@ -0,0 +1,127 @@
+bin/aqsis
+bin/aqsis_framebuffer_glut
+bin/aqsis_framebuffer_glut_z
+bin/aqsl
+bin/aqslcomp
+bin/aqsltell
+bin/ddmsock.ini
+bin/filebuffer
+bin/ri2ribtest
+bin/shadowmap
+bin/teqser
+include/aqsis.h
+include/aqsis_types.h
+include/bitvector.h
+include/color.h
+include/exception.h
+include/file.h
+include/librib.h
+include/librib2ri.h
+include/librib2stream.h
+include/list.h
+include/matrix.h
+include/memorypool.h
+include/random.h
+include/refcount.h
+include/ri.h
+include/sstring.h
+include/vector2d.h
+include/vector3d.h
+include/vector4d.h
+lib/libaqsis.a
+lib/libaqsis.so
+lib/libaqsis.so.0
+lib/libaqsistypes.a
+lib/libaqsistypes.so
+lib/libaqsistypes.so.0
+lib/libcodegenvm.a
+lib/libcodegenvm.so
+lib/libcodegenvm.so.0
+lib/libdd.a
+lib/libdd.so
+lib/libdd.so.0
+lib/libddmsimple.a
+lib/libddmsimple.so
+lib/libddmsimple.so.0
+lib/libddmsock.a
+lib/libddmsock.so
+lib/libddmsock.so.0
+lib/libri2rib.a
+lib/libri2rib.so
+lib/libri2rib.so.0
+lib/librib2.a
+lib/librib2.so
+lib/librib2.so.0
+lib/librib2ri.a
+lib/librib2ri.so
+lib/librib2ri.so.0
+lib/librib2stream.a
+lib/librib2stream.so
+lib/librib2stream.so.0
+lib/libshaderexecenv.a
+lib/libshaderexecenv.so
+lib/libshaderexecenv.so.0
+lib/libshadervm.a
+lib/libshadervm.so
+lib/libshadervm.so.0
+lib/libslparse.a
+lib/libslparse.so
+lib/libslparse.so.0
+lib/libslxargs.a
+lib/libslxargs.so
+lib/libslxargs.so.0
+share/aqsis/shaders/DPBlueMarble.slx
+share/aqsis/shaders/DPProctext.h
+share/aqsis/shaders/SpaceTest.slx
+share/aqsis/shaders/ambientlight.sl
+share/aqsis/shaders/ambientlight.slx
+share/aqsis/shaders/borg_metal.sl
+share/aqsis/shaders/borg_metal.slx
+share/aqsis/shaders/brickbump.sl
+share/aqsis/shaders/brickbump.slx
+share/aqsis/shaders/bumpy.sl
+share/aqsis/shaders/bumpy.slx
+share/aqsis/shaders/cellnoisetest.sl
+share/aqsis/shaders/cellnoisetest.slx
+share/aqsis/shaders/constant.sl
+share/aqsis/shaders/constant.slx
+share/aqsis/shaders/debug.sl
+share/aqsis/shaders/debug.slx
+share/aqsis/shaders/dented.sl
+share/aqsis/shaders/dented.slx
+share/aqsis/shaders/depthcue.sl
+share/aqsis/shaders/depthcue.slx
+share/aqsis/shaders/distantlight.sl
+share/aqsis/shaders/distantlight.slx
+share/aqsis/shaders/dpbluemarble.sl
+share/aqsis/shaders/fog.sl
+share/aqsis/shaders/fog.slx
+share/aqsis/shaders/matte.sl
+share/aqsis/shaders/matte.slx
+share/aqsis/shaders/metal.sl
+share/aqsis/shaders/metal.slx
+share/aqsis/shaders/noises.h
+share/aqsis/shaders/paintedplastic.sl
+share/aqsis/shaders/paintedplastic.slx
+share/aqsis/shaders/patterns.h
+share/aqsis/shaders/plastic.sl
+share/aqsis/shaders/plastic.slx
+share/aqsis/shaders/pointlight.sl
+share/aqsis/shaders/pointlight.slx
+share/aqsis/shaders/randgrid.sl
+share/aqsis/shaders/randgrid.slx
+share/aqsis/shaders/shadowspot.sl
+share/aqsis/shaders/shadowspot.slx
+share/aqsis/shaders/shinymetal.sl
+share/aqsis/shaders/shinymetal.slx
+share/aqsis/shaders/show_st.sl
+share/aqsis/shaders/show_st.slx
+share/aqsis/shaders/spacetest.sl
+share/aqsis/shaders/spotlight.sl
+share/aqsis/shaders/spotlight.slx
+share/aqsis/shaders/uvtest.sl
+share/aqsis/shaders/uvtest.slx
+share/aqsis/shaders/wavy.sl
+share/aqsis/shaders/wavy.slx
+@dirrm share/aqsis/shaders
+@dirrm share/aqsis