aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1998-01-09 22:39:21 +0800
committertg <tg@FreeBSD.org>1998-01-09 22:39:21 +0800
commit2f384805bd5a6b0e548c776a649c387d3671969b (patch)
tree08f6f2b8b40f9a5da6d3c1143bed4db391bf2286 /graphics
parentf0973495296ef36ba0a7aab1699ffe8dfed4ce6d (diff)
downloadfreebsd-ports-gnome-2f384805bd5a6b0e548c776a649c387d3671969b.tar.gz
freebsd-ports-gnome-2f384805bd5a6b0e548c776a649c387d3671969b.tar.zst
freebsd-ports-gnome-2f384805bd5a6b0e548c776a649c387d3671969b.zip
xfpovray is a frontend to povray which uses the xforms library.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xfpovray/Makefile25
-rw-r--r--graphics/xfpovray/distinfo1
-rw-r--r--graphics/xfpovray/files/patch-aa35
-rw-r--r--graphics/xfpovray/files/patch-ab28
-rw-r--r--graphics/xfpovray/pkg-comment1
-rw-r--r--graphics/xfpovray/pkg-descr8
-rw-r--r--graphics/xfpovray/pkg-plist21
7 files changed, 119 insertions, 0 deletions
diff --git a/graphics/xfpovray/Makefile b/graphics/xfpovray/Makefile
new file mode 100644
index 000000000000..5b78563bfda0
--- /dev/null
+++ b/graphics/xfpovray/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: xfpovray
+# Version required: 1.2.4
+# Date created: 20 Sep 1997
+# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= xfpovray-1.2.4
+CATEGORIES= graphics
+MASTER_SITES= http://www.batse.msfc.nasa.gov/~mallozzi/software/xfpovray/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ports@FreeBSD.ORG
+
+LIB_DEPENDS= xforms\\.0\\.88:${PORTSDIR}/x11/xforms
+
+USE_IMAKE= yes
+USE_GMAKE= yes
+NO_INSTALL_MANPAGES= yes
+
+post-patch:
+ @/usr/bin/perl -pi -e "s|@LOCALBASE@|${LOCALBASE}|g;" ${WRKSRC}/src/xfpovray.h
+
+.include <bsd.port.mk>
diff --git a/graphics/xfpovray/distinfo b/graphics/xfpovray/distinfo
new file mode 100644
index 000000000000..61bd5b40ac18
--- /dev/null
+++ b/graphics/xfpovray/distinfo
@@ -0,0 +1 @@
+MD5 (xfpovray-1.2.4.tgz) = 4a344d4d39db0ee81fc1207ef1c7eb5b
diff --git a/graphics/xfpovray/files/patch-aa b/graphics/xfpovray/files/patch-aa
new file mode 100644
index 000000000000..585637ea0a1e
--- /dev/null
+++ b/graphics/xfpovray/files/patch-aa
@@ -0,0 +1,35 @@
+--- Imakefile.orig Fri Aug 22 04:39:59 1997
++++ Imakefile Tue Sep 30 18:43:06 1997
+@@ -5,7 +5,7 @@
+
+ XCOMM Root installation directory for xfpovray
+
+-XFROOTDIR = /usr/local
++XCOMM XFROOTDIR = /usr/local
+
+
+
+@@ -13,10 +13,10 @@
+
+
+ XCOMM Directory for xfpovray binary
+-BINDIR = $(XFROOTDIR)/bin
++XCOMM BINDIR = $(XFROOTDIR)/bin
+
+ XCOMM Directories for xfpovray help files and icons
+-XFLIBDIR = $(XFROOTDIR)/lib/xfpovray
++XFLIBDIR = $(LIBDIR)/xfpovray
+ XFHELPDIR = $(XFLIBDIR)/help
+ XFICONDIR = $(XFLIBDIR)/icons
+
+@@ -69,8 +69,8 @@
+ $(TOP)/src/xfpovray_icon.xpm \
+ $(TOP)/src/xfpovray_info.xpm
+
+-EXTRA_LIBRARIES = -L/usr/local/lib -lforms -lm
+- EXTRA_INCLUDES = -I/usr/local/include -I./flx/flx_return_button
++EXTRA_LIBRARIES = -lxforms -lm
++ EXTRA_INCLUDES = -I./flx/flx_return_button
+ EXTRA_DEFINES = -DSTARTUP_PIXMAP=\"$(XFICONDIR)\" -DHELP_DIR=\"$(XFHELPDIR)\"
+ LDLIBS = $(EXTRA_LIBRARIES) $(XLIB)
+
diff --git a/graphics/xfpovray/files/patch-ab b/graphics/xfpovray/files/patch-ab
new file mode 100644
index 000000000000..9dc751eb202c
--- /dev/null
+++ b/graphics/xfpovray/files/patch-ab
@@ -0,0 +1,28 @@
+--- src/xfpovray.h.orig Wed Aug 20 05:10:37 1997
++++ src/xfpovray.h Mon Nov 24 18:28:57 1997
+@@ -16,14 +16,14 @@
+ /*
+ ** Command to invoke POV-Ray
+ */
+-#define POV_COMMAND "/usr/local/bin/povray"
++#define POV_COMMAND "@LOCALBASE@/bin/povray"
+
+
+ /*
+ ** System or default library path. You can add up to 4 more on
+ ** the widget for a total of 5, even though POV-Ray supports more.
+ */
+-#define POV_LIB_PATH "/usr/local/include/povray"
++#define POV_LIB_PATH "@LOCALBASE@/lib/povray3/include"
+
+
+ /*
+@@ -47,7 +47,7 @@
+ ** Editor command. If you use a console editor like vi, execute the
+ ** editor in an xterm, e.g., xterm -e vi
+ */
+-#define POV_EDITOR "nedit"
++#define POV_EDITOR "xterm -e vi"
+
+
+ /*
diff --git a/graphics/xfpovray/pkg-comment b/graphics/xfpovray/pkg-comment
new file mode 100644
index 000000000000..f7024ead585a
--- /dev/null
+++ b/graphics/xfpovray/pkg-comment
@@ -0,0 +1 @@
+Graphical interface to POV-Ray
diff --git a/graphics/xfpovray/pkg-descr b/graphics/xfpovray/pkg-descr
new file mode 100644
index 000000000000..5a81e9729e26
--- /dev/null
+++ b/graphics/xfpovray/pkg-descr
@@ -0,0 +1,8 @@
+xfpovray is a graphical interface to the cool ray tracing program POV-Ray
+(http://www.povray.org). It is written with the XForms library
+(http://bloch.phys.uwm.edu/xforms), and supports most of the numerous
+options of POV-Ray. The interface was developed with POV-Ray version 3.0,
+but things should work OK for earlier versions...
+
+Please read the documentation on POV-Ray before using xfpovray,
+especially if you will be using the animation loop or antialiasing.
diff --git a/graphics/xfpovray/pkg-plist b/graphics/xfpovray/pkg-plist
new file mode 100644
index 000000000000..b6d1b4aff6a1
--- /dev/null
+++ b/graphics/xfpovray/pkg-plist
@@ -0,0 +1,21 @@
+bin/xfpovray
+lib/X11/xfpovray/help/Appendices
+lib/X11/xfpovray/help/Chapter_1
+lib/X11/xfpovray/help/Chapter_2
+lib/X11/xfpovray/help/Chapter_3
+lib/X11/xfpovray/help/Chapter_4
+lib/X11/xfpovray/help/Chapter_5
+lib/X11/xfpovray/help/Chapter_6
+lib/X11/xfpovray/help/Chapter_7
+lib/X11/xfpovray/help/Include_Preview
+lib/X11/xfpovray/help/Introduction
+lib/X11/xfpovray/help/Options
+lib/X11/xfpovray/help/Table_Of_Contents
+lib/X11/xfpovray/help/Templates
+lib/X11/xfpovray/help/help_topics
+lib/X11/xfpovray/icons/xfpovray.xpm
+lib/X11/xfpovray/icons/xfpovray_icon.xpm
+lib/X11/xfpovray/icons/xfpovray_info.xpm
+@dirrm lib/X11/xfpovray/icons
+@dirrm lib/X11/xfpovray/help
+@dirrm lib/X11/xfpovray