053a9e15a0
Make install target work in the presence of a file named "install".
24 lines
755 B
Text
24 lines
755 B
Text
$NetBSD: patch-ac,v 1.2 2000/01/04 16:28:43 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,17 @@
|
|
+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 *.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}
|