$NetBSD: patch-ac,v 1.4 2001/01/20 10:31:33 pooka Exp $

Small Makefile to drive NetBSD package

--- Makefile.orig	Sat Jan 20 12:19:12 2001
+++ Makefile	Sat Jan 20 12:20:50 2001
@@ -0,0 +1,18 @@
+POVLIB=		${PREFIX}/lib/povray31
+
+all:
+	cd source/unix && ${MAKE} newxwin
+
+install-povray:
+	mkdir -p ${POVLIB}/allscene
+	${INSTALL} -m 0755 -s -c source/unix/x-povray ${PREFIX}/bin/povray
+	tar cpf - scenes include | (cd ${POVLIB}; tar xpf -)
+	${INSTALL} -c -m 0644 *.ini ${POVLIB}/
+	${INSTALL} -c -m 0644 povuser.txt gamma.gif.txt *.doc ${POVLIB}/
+	${INSTALL} -c -m 0644 betanews.txt povwhere.get ${POVLIB}/
+	${INSTALL} -c -m 0644 *.gif *.xpm ${POVLIB}/
+	${INSTALL} -c -m 0644 *.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}
