diff options
author | agc <agc> | 1998-08-24 12:33:38 +0000 |
---|---|---|
committer | agc <agc> | 1998-08-24 12:33:38 +0000 |
commit | aae4c4fdf6718f978288d497e0a7dc78c9c8c75e (patch) | |
tree | 60ef6d42a2663ce5b2cae51aae03de90ef722367 /graphics/povray/patches | |
parent | 9191e3e02fe721e8cc583b74dfd732ad5b6985bf (diff) | |
download | pkgsrc-aae4c4fdf6718f978288d497e0a7dc78c9c8c75e.tar.gz |
Import of povray version 3.0, the Persistence of Vision Ray tracing utility,
into the NetBSD packages collection. Originally taken from the FreeBSD ports
collection, but made to work on NetBSD by myself.
Diffstat (limited to 'graphics/povray/patches')
-rw-r--r-- | graphics/povray/patches/patch-aa | 23 | ||||
-rw-r--r-- | graphics/povray/patches/patch-ab | 68 | ||||
-rw-r--r-- | graphics/povray/patches/patch-ac | 25 |
3 files changed, 116 insertions, 0 deletions
diff --git a/graphics/povray/patches/patch-aa b/graphics/povray/patches/patch-aa new file mode 100644 index 00000000000..0646db04b2b --- /dev/null +++ b/graphics/povray/patches/patch-aa @@ -0,0 +1,23 @@ +$NetBSD: patch-aa,v 1.1.1.1 1998/08/24 12:33:38 agc Exp $ + +*** sourceold/optout.h Tue Sep 3 08:55:55 1996 +--- source/optout.h Tue Dec 3 22:51:16 1996 +*************** +*** 37,44 **** + + /* This message is for the personal distribution release. */ + +! #define DISTRIBUTION_MESSAGE_1 "This is an unofficial version compiled by:" +! #define DISTRIBUTION_MESSAGE_2 "FILL IN NAME HERE........................." + #define DISTRIBUTION_MESSAGE_3 "The POV-Ray Team(tm) is not responsible for supporting this version." + + /* Number of help pages (numbered 0 to MAX_HELP_PAGE). */ +--- 37,44 ---- + + /* This message is for the personal distribution release. */ + +! #define DISTRIBUTION_MESSAGE_1 "This is an unofficial version compiled for" +! #define DISTRIBUTION_MESSAGE_2 "The NetBSD Packages collection (http://www.netbsd.org/)" + #define DISTRIBUTION_MESSAGE_3 "The POV-Ray Team(tm) is not responsible for supporting this version." + + /* Number of help pages (numbered 0 to MAX_HELP_PAGE). */ diff --git a/graphics/povray/patches/patch-ab b/graphics/povray/patches/patch-ab new file mode 100644 index 00000000000..59de2a9e0ad --- /dev/null +++ b/graphics/povray/patches/patch-ab @@ -0,0 +1,68 @@ +$NetBSD: patch-ab,v 1.1.1.1 1998/08/24 12:33:38 agc Exp $ + +*** sourceold/unix/makefile Tue Sep 3 08:48:13 1996 +--- source/unix/makefile Tue Dec 3 22:49:24 1996 +*************** +*** 28,44 **** + # Use libXXX.a if you want to force static linking of the libraries. + # Use -Llibdir -lXXX if you want to use shared libraries (if they are + # available). It doesn't matter if you only have libXXX.a libraries. +! PNGDIR = $(SRCDIR)/libpng +! LIBPNGINC = -I$(PNGDIR) + #LIBPNGLIB = $(PNGDIR)/libpng.a +! LIBPNGLIB = -L$(PNGDIR) -lpng +! #LIBPNGLIB = -L/usr/local/lib -lpng + +! ZLIBDIR = $(SRCDIR)/zlib +! ZLIBINC = -I$(ZLIBDIR) + #ZLIBLIB = $(ZLIBDIR)/libz.a +! ZLIBLIB = -L$(ZLIBDIR) -lz +! #ZLIBLIB = -L/usr/local/lib -lz + + # This is the suffix for object files. + OBJ = .o +--- 28,44 ---- + # Use libXXX.a if you want to force static linking of the libraries. + # Use -Llibdir -lXXX if you want to use shared libraries (if they are + # available). It doesn't matter if you only have libXXX.a libraries. +! PNGDIR = #$(SRCDIR)/libpng +! LIBPNGINC = -I${PREFIX}/include + #LIBPNGLIB = $(PNGDIR)/libpng.a +! #LIBPNGLIB = -L$(PNGDIR) -lpng +! LIBPNGLIB = -L${PREFIX}/lib -lpng + +! #ZLIBDIR = $(SRCDIR)/zlib +! #ZLIBINC = -I$(ZLIBDIR) + #ZLIBLIB = $(ZLIBDIR)/libz.a +! #ZLIBLIB = -L$(ZLIBDIR) -lz +! ZLIBLIB = -lz + + # This is the suffix for object files. + OBJ = .o +*************** +*** 55,61 **** + #X11 = /usr/local/X11R6 + #X11 = /usr/openwin # for some SunOS systems + #X11 = /usr/lpp/X11 # for some AIX systems +! X11 = /usr/X11 + + # You probably won't need to change these if you have the X11 variable + # above set properly... +--- 55,61 ---- + #X11 = /usr/local/X11R6 + #X11 = /usr/openwin # for some SunOS systems + #X11 = /usr/lpp/X11 # for some AIX systems +! X11 = ${X11BASE} + + # You probably won't need to change these if you have the X11 variable + # above set properly... +*************** +*** 901,907 **** + config.h \ + $(SRCDIR)/frame.h \ + $(SRCDIR)/optout.h \ +- $(PNGDIR)/png.h \ + $(SRCDIR)/png_pov.h \ + $(SRCDIR)/point.h \ + $(SRCDIR)/povproto.h \ +--- 901,906 ---- diff --git a/graphics/povray/patches/patch-ac b/graphics/povray/patches/patch-ac new file mode 100644 index 00000000000..33ec4077a6a --- /dev/null +++ b/graphics/povray/patches/patch-ac @@ -0,0 +1,25 @@ +$NetBSD: patch-ac,v 1.1.1.1 1998/08/24 12:33:38 agc Exp $ + +Small Makefile to drive NetBSD package + +--- /dev/null Mon Aug 24 13:46:39 1998 ++++ Makefile Mon Aug 24 13:46:32 1998 +@@ -0,0 +1,18 @@ ++POVLIB= ${PREFIX}/lib/povray3 ++ ++all: ++ cd source/unix && ${MAKE} newxwin ++ ++install: ++ mkdir -p ${POVLIB}/allscene ++ ${INSTALL} -m 0755 -s -c source/unix/x-povray ${PREFIX}/bin/povray ++ tar cpf - pov3demo povscn docsdemo include texsamps | \ ++ (cd ${POVLIB}; tar xpf -) ++ ${INSTALL} -c -m 0644 *.ini ${POVLIB}/ ++ ${INSTALL} -c -m 0644 *.doc ${POVLIB}/ ++ ${INSTALL} -c -m 0644 *.gif *.xpm ${POVLIB}/ ++ ${INSTALL} -c -m 0644 allscene.sh ${POVLIB}/ ++ rm -f ${PREFIX}/man/man1/povray.1* ++ ${INSTALL} -c -m 0644 povray.1 ${PREFIX}/man/man1 ++ chmod -R og-r ${POVLIB} ++ chmod -R a+r ${POVLIB} |