aboutsummaryrefslogtreecommitdiff
path: root/graphics/rayshade
diff options
context:
space:
mode:
authorMatthew Hunt <mph@FreeBSD.org>1998-05-26 04:04:19 +0000
committerMatthew Hunt <mph@FreeBSD.org>1998-05-26 04:04:19 +0000
commit8a15221195b1b871246d70fe75a07fdf3a320012 (patch)
treebeda86044bdcb3e842e6511fa6258eab0f11daac /graphics/rayshade
parent213cd15a424e78cdbe2260280b0a20d42bff0612 (diff)
downloadports-8a15221195b1b871246d70fe75a07fdf3a320012.tar.gz
ports-8a15221195b1b871246d70fe75a07fdf3a320012.zip
Notes
Diffstat (limited to 'graphics/rayshade')
-rw-r--r--graphics/rayshade/Makefile40
-rw-r--r--graphics/rayshade/distinfo1
-rw-r--r--graphics/rayshade/files/config.ans20
-rw-r--r--graphics/rayshade/files/patch-aa43
-rw-r--r--graphics/rayshade/files/patch-ab24
-rw-r--r--graphics/rayshade/pkg-comment1
-rw-r--r--graphics/rayshade/pkg-descr3
-rw-r--r--graphics/rayshade/pkg-plist33
8 files changed, 165 insertions, 0 deletions
diff --git a/graphics/rayshade/Makefile b/graphics/rayshade/Makefile
new file mode 100644
index 000000000000..15ca5be60b29
--- /dev/null
+++ b/graphics/rayshade/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: rayshade
+# Version required: 4.0
+# Date created: 21 January 1998
+# Whom: giffunip@asme.org
+#
+# $Id$
+#
+
+DISTNAME= rayshade.4.0
+PKGNAME= rayshade-4.0
+CATEGORIES= graphics
+MASTER_SITES= ftp://graphics.stanford.edu/pub/rayshade/ \
+ ftp://ftp.princeton.edu/pub/Graphics/rayshade.4.0/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= ports@FreeBSD.ORG
+
+BUILD_DEPENDS= $(LOCALBASE)/lib/librle.a:${PORTSDIR}/graphics/urt
+
+HAS_CONFIGURE= yes
+CONFIGURE_SCRIPT= Configure
+CONFIGURE_ARGS+= < ${WRKDIR}/config.ans
+ALL_TARGET=
+
+pre-configure:
+ $(SED) -e "s,@CFLAGS@,${CFLAGS}," < ${FILESDIR}/config.ans > \
+ ${WRKDIR}/config.ans
+
+do-install:
+ $(INSTALL_PROGRAM) $(WRKSRC)/rayshade/rayshade $(PREFIX)/bin
+# THIS ARE NOT USED BY ANY PORT
+# $(INSTALL_DATA) $(WRKSRC)/libray/libray.a $(PREFIX)/lib
+# $(INSTALL_DATA) $(WRKSRC)/libshade/libshade.a $(PREFIX)/lib
+ $(MKDIR) $(PREFIX)/share/doc/rayshade
+ $(INSTALL_DATA) $(WRKSRC)/Doc/Guide/* $(PREFIX)/share/doc/rayshade
+ $(INSTALL_DATA) $(WRKSRC)/Doc/quickref.txt $(PREFIX)/share/doc/rayshade
+ $(MKDIR) $(PREFIX)/share/examples/rayshade
+ $(INSTALL_DATA) $(WRKSRC)/Examples/* $(PREFIX)/share/examples/rayshade
+
+.include <bsd.port.mk>
diff --git a/graphics/rayshade/distinfo b/graphics/rayshade/distinfo
new file mode 100644
index 000000000000..6b777c9dae50
--- /dev/null
+++ b/graphics/rayshade/distinfo
@@ -0,0 +1 @@
+MD5 (rayshade.4.0.tar.Z) = c81f9507c20cd6060a8bdc611a6771ff
diff --git a/graphics/rayshade/files/config.ans b/graphics/rayshade/files/config.ans
new file mode 100644
index 000000000000..42e9ff80524a
--- /dev/null
+++ b/graphics/rayshade/files/config.ans
@@ -0,0 +1,20 @@
+
+
+-lm
+
+
+
+@CFLAGS@
+
+
+n
+/usr/local/include
+
+
+
+
+/usr/bin/mkdep
+yacc
+
+y
+
diff --git a/graphics/rayshade/files/patch-aa b/graphics/rayshade/files/patch-aa
new file mode 100644
index 000000000000..768f2ebbe1e1
--- /dev/null
+++ b/graphics/rayshade/files/patch-aa
@@ -0,0 +1,43 @@
+*** Configure.orig Sun Feb 9 22:04:23 1992
+--- Configure Sun Mar 8 19:33:26 1998
+***************
+*** 28,37 ****
+ PATH=$PATH:'/bsd4.3/usr/bin:/usr/bsd'
+ export PATH || (echo "OOPS, this isn't sh. Desperation time. I will feed myself to sh."; sh $0; kill $$)
+
+! if test ! -t 0; then
+! echo "Say 'sh Configure', not 'sh <Configure'"
+! exit 1
+! fi
+
+ (alias) >/dev/null 2>&1 && \
+ echo "(I see you are using the Korn shell. Some ksh's blow up on Configure," && \
+--- 28,38 ----
+ PATH=$PATH:'/bsd4.3/usr/bin:/usr/bsd'
+ export PATH || (echo "OOPS, this isn't sh. Desperation time. I will feed myself to sh."; sh $0; kill $$)
+
+! #FreeBSD's ports don't want to be interactive
+! #if test ! -t 0; then
+! # echo "Say 'sh Configure', not 'sh <Configure'"
+! # exit 1
+! #fi
+
+ (alias) >/dev/null 2>&1 && \
+ echo "(I see you are using the Korn shell. Some ksh's blow up on Configure," && \
+***************
+*** 872,878 ****
+ : determine where manual pages are on this system
+ echo " "
+ case "$sysman" in
+! '') sysman=`loc . /usr/man/man1 /usr/man/man1 /usr/man/mann /usr/man/manl /usr/man/local/man1 /usr/man/u_man/man1 /usr/share/man/man1 /usr/catman/u_man/man1 /usr/man/l_man/man1 /usr/local/man/u_man/man1 /usr/local/man/l_man/man1 /usr/man/man.L`
+ ;;
+ esac
+ if test -d "$sysman"; then
+--- 873,879 ----
+ : determine where manual pages are on this system
+ echo " "
+ case "$sysman" in
+! '') sysman=`loc . /usr/local/man/man1 /usr/man/man1 /usr/man/mann /usr/man/manl /usr/man/local/man1 /usr/man/u_man/man1 /usr/share/man/man1 /usr/catman/u_man/man1 /usr/man/l_man/man1 /usr/local/man/u_man/man1 /usr/local/man/l_man/man1 /usr/man/man.L`
+ ;;
+ esac
+ if test -d "$sysman"; then
diff --git a/graphics/rayshade/files/patch-ab b/graphics/rayshade/files/patch-ab
new file mode 100644
index 000000000000..4df8936f8ccd
--- /dev/null
+++ b/graphics/rayshade/files/patch-ab
@@ -0,0 +1,24 @@
+*** etc/rsconvert/lex.l.orig Sun Mar 8 18:55:39 1998
+--- etc/rsconvert/lex.l Sun Mar 8 18:56:05 1998
+***************
+*** 22,27 ****
+--- 22,28 ----
+ #include "libcommon/common.h"
+ #include "y.tab.h"
+ %}
++ %option yylineno
+ alpha [a-zA-Z]
+ special [\.\_-]
+ digit [0-9]
+*** libshade/lex.l.orig Sun Mar 8 18:52:11 1998
+--- libshade/lex.l Sun Mar 8 18:53:18 1998
+***************
+*** 29,34 ****
+--- 29,35 ----
+ #include "y.tab.h"
+ extern char *strsave();
+ %}
++ %option yylineno
+ alpha [a-zA-Z]
+ special [\.\_-]
+ digit [0-9]
diff --git a/graphics/rayshade/pkg-comment b/graphics/rayshade/pkg-comment
new file mode 100644
index 000000000000..09890de549e7
--- /dev/null
+++ b/graphics/rayshade/pkg-comment
@@ -0,0 +1 @@
+An extensible system for creating ray-traced images.
diff --git a/graphics/rayshade/pkg-descr b/graphics/rayshade/pkg-descr
new file mode 100644
index 000000000000..eaab43c8b11a
--- /dev/null
+++ b/graphics/rayshade/pkg-descr
@@ -0,0 +1,3 @@
+Rayshade is a system for generating ray-traced images. Rayshade's main
+function is to read a multi-line ASCII file describing a scene to be
+rendered and produce a file containing the ray traced image.
diff --git a/graphics/rayshade/pkg-plist b/graphics/rayshade/pkg-plist
new file mode 100644
index 000000000000..cf8122514a22
--- /dev/null
+++ b/graphics/rayshade/pkg-plist
@@ -0,0 +1,33 @@
+bin/rayshade
+share/doc/rayshade/README
+share/doc/rayshade/animate.tex
+share/doc/rayshade/camera.tex
+share/doc/rayshade/guide.tex
+share/doc/rayshade/height.tex
+share/doc/rayshade/intro.tex
+share/doc/rayshade/lights.tex
+share/doc/rayshade/objects.tex
+share/doc/rayshade/options.tex
+share/doc/rayshade/preface.tex
+share/doc/rayshade/running.tex
+share/doc/rayshade/surfaces.tex
+share/doc/rayshade/texture.tex
+share/doc/rayshade/transform.tex
+share/doc/rayshade/quickref.txt
+share/examples/rayshade/ashtray.def.ray
+share/examples/rayshade/ashtray.ray
+share/examples/rayshade/balls.ray
+share/examples/rayshade/blob.ray
+share/examples/rayshade/boxball.ray
+share/examples/rayshade/coin.ray
+share/examples/rayshade/csg.ray
+share/examples/rayshade/glass.def.ray
+share/examples/rayshade/glass.ray
+share/examples/rayshade/mtv.ray
+share/examples/rayshade/planet.map
+share/examples/rayshade/planet.ray
+share/examples/rayshade/pool.ray
+share/examples/rayshade/solids.ray
+share/examples/rayshade/stripe.ray
+@dirrm share/doc/rayshade
+@dirrm share/examples/rayshade