summaryrefslogtreecommitdiff
path: root/graphics/povray/prebuild.patch
diff options
context:
space:
mode:
authorKlaatu <klaatu@member.fsf.org>2016-08-04 19:24:39 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-04 19:28:32 +0700
commit05b681db3a3bc6751dcbcf7c6cbbaaa8ecf4cb6e (patch)
tree617dffb2e7b008f59f8a099ca08dd6d9d24627cd /graphics/povray/prebuild.patch
parent66993e4d0614aa2b1893a0a25c20e165dbd5f35b (diff)
downloadslackbuilds-05b681db3a3bc6751dcbcf7c6cbbaaa8ecf4cb6e.tar.gz
graphics/povray: Update Script + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/povray/prebuild.patch')
-rw-r--r--graphics/povray/prebuild.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/graphics/povray/prebuild.patch b/graphics/povray/prebuild.patch
new file mode 100644
index 0000000000..7a4a203e29
--- /dev/null
+++ b/graphics/povray/prebuild.patch
@@ -0,0 +1,23 @@
+--- prebuild.sh.orig 2016-07-03 14:54:38.000000000 +0200
++++ prebuild.sh 2016-07-03 14:56:10.000000000 +0200
+@@ -642,19 +642,6 @@
+ for f in \$\$filelist ; do \\
+ \$(INSTALL_DATA) \$(top_srcdir)/doc/\$\$f \$(DESTDIR)\$(povdocdir)/\$\$f && echo "\$(DESTDIR)\$(povdocdir)/\$\$f" >> \$(povinstall); \\
+ done
+- @echo "Creating user directories..."; \\
+- for p in \$(povuser) \$(povconfuser) ; do \\
+- \$(mkdir_p) \$\$p && chown \$(povowner) \$\$p && chgrp \$(povgroup) \$\$p && printf "%s\\n" "\$\$p" "\`cat \$(povinstall)\`" > \$(povinstall); \\
+- done
+- @echo "Copying user configuration and INI files..."; \\
+- for f in povray.conf povray.ini ; do \\
+- if test -f \$(povconfuser)/\$\$f; then \\
+- echo "Creating backup of \$(povconfuser)/\$\$f"; \\
+- mv -f \$(povconfuser)/\$\$f \$(povconfuser)/\$\$f.bak; \\
+- fi; \\
+- done; \\
+- \$(INSTALL_DATA) \$(top_srcdir)/povray.conf \$(povconfuser)/povray.conf && chown \$(povowner) \$(povconfuser)/povray.conf && chgrp \$(povgroup) \$(povconfuser)/povray.conf && echo "\$(povconfuser)/povray.conf" >> \$(povinstall); \\
+- \$(INSTALL_DATA) \$(top_builddir)/povray.ini \$(povconfuser)/povray.ini && chown \$(povowner) \$(povconfuser)/povray.ini && chgrp \$(povgroup) \$(povconfuser)/povray.ini && echo "\$(povconfuser)/povray.ini" >> \$(povinstall)
+
+ # Remove data, config, and empty folders for 'make uninstall'.
+ # Use 'hook' instead of 'local' so as to properly remove *empty* folders (e.g. scripts).
+