pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Update blender package to include all scripts distribu...
details: https://anonhg.NetBSD.org/pkgsrc/rev/72321261f2e2
branches: trunk
changeset: 490168:72321261f2e2
user: reinoud <reinoud%pkgsrc.org@localhost>
date: Fri Mar 04 16:04:59 2005 +0000
description:
Update blender package to include all scripts distributed with it. Also
providing an convenience script that links default scripts directory to
the homedir. This due to oddities in the blender program too far reaching
to easily patch.
diffstat:
doc/CHANGES | 3 +-
graphics/blender/MESSAGE | 25 +++++++++++++++
graphics/blender/Makefile | 14 +++++++-
graphics/blender/PLIST | 70 +++++++++++++++++++++++++++++++++++++++++-
graphics/blender/files/blender | 9 +++++
5 files changed, 117 insertions(+), 4 deletions(-)
diffs (167 lines):
diff -r 998d01771aa3 -r 72321261f2e2 doc/CHANGES
--- a/doc/CHANGES Fri Mar 04 15:43:54 2005 +0000
+++ b/doc/CHANGES Fri Mar 04 16:04:59 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.9419 2005/03/04 15:43:54 uebayasi Exp $
+$NetBSD: CHANGES,v 1.9420 2005/03/04 16:04:59 reinoud Exp $
Changes to the packages collection and infrastructure in 2005:
@@ -1272,3 +1272,4 @@
Updated p5-Curses to 1.08b [wiz 2005-03-04]
Updated mew to 4.2 [uebayasi 2005-03-04]
Updated wol to 0.7.1 [uebayasi 2005-03-04]
+ Updated blender to 2.63nb1 [reinoud 2005-03-04]
diff -r 998d01771aa3 -r 72321261f2e2 graphics/blender/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/blender/MESSAGE Fri Mar 04 16:04:59 2005 +0000
@@ -0,0 +1,25 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2005/03/04 16:04:59 reinoud Exp $
+
+Due to oddities in the blender package, running `blender' will soft-link
+the global blender directory to your home directory as ~/.blender to run
+properly with all scripts attached.
+
+Customisation can be done individually by copying the directory ~/.blender
+points to to your own homedirectory :
+ rm ~/.blender
+ cp -R ${PREFIX}/share/blender ~/.blender
+
+and customise/add your own stuff like scripts etc. in it.
+
+To revert to `factory' settings and site-setup files, just remove the
+~/.blender directory/link and the script will add the softlink again.
+
+Note that blender will create a ~/.B.blend file that serves as the empty or
+startup file with all settings in it. A file called ~/.Blog will hold the
+last file edited with blender.
+
+Executing ${PREFIX}/bin/blender-bin will bypass the convenience script
+${PREFIX}/bin/blender
+
+===========================================================================
diff -r 998d01771aa3 -r 72321261f2e2 graphics/blender/Makefile
--- a/graphics/blender/Makefile Fri Mar 04 15:43:54 2005 +0000
+++ b/graphics/blender/Makefile Fri Mar 04 16:04:59 2005 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.38 2005/02/26 20:34:43 reinoud Exp $
+# $NetBSD: Makefile,v 1.39 2005/03/04 16:04:59 reinoud Exp $
#
DISTNAME= blender-2.36
+PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.cs.umn.edu/pub/blender.org/source/ \
http://download.blender.org/source/
@@ -37,12 +38,21 @@
${PREFIX}/bin/scons -C ${WRKSRC} prefix=${PREFIX}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/blender ${PREFIX}/bin
+ ${CP} -f ${WRKSRC}/blender ${WRKSRC}/blender-bin
+ ${SED} -e "s|__PREFIX__|${PREFIX}|g" files/blender > ${TMP}/blender
+ ${CHMOD} +x ${TMP}/blender
+ ${INSTALL_PROGRAM} ${WRKSRC}/blender-bin ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/blender/scripts
+ ${INSTALL_DATA} ${WRKSRC}/release/scripts/* ${PREFIX}/share/blender/scripts
+ ${INSTALL} ${TMP}/blender ${PREFIX}/bin
.if defined(BLENDER_INSTALL_DOC)
DEPENDS+= blender-doc:../../graphics/blender-doc
.endif
+#
+# disabled these options; they ought to be re-instantiated one day
+#
.if 0
.if defined(BLENDER_USE_OGG)
CONFIGURE_ARGS+= --with-ogg=${PREFIX}
diff -r 998d01771aa3 -r 72321261f2e2 graphics/blender/PLIST
--- a/graphics/blender/PLIST Fri Mar 04 15:43:54 2005 +0000
+++ b/graphics/blender/PLIST Fri Mar 04 16:04:59 2005 +0000
@@ -1,2 +1,70 @@
-@comment $NetBSD: PLIST,v 1.2 2003/07/31 18:40:58 jschauma Exp $
+@comment $NetBSD: PLIST,v 1.3 2005/03/04 16:04:59 reinoud Exp $
bin/blender
+bin/blender-bin
+share/blender/scripts/Apply_def.py
+share/blender/scripts/Axiscopy.py
+share/blender/scripts/DirectX8Exporter.py
+share/blender/scripts/DirectXExporter.py
+share/blender/scripts/UVpaint05.py
+share/blender/scripts/ac3d_export.py
+share/blender/scripts/ac3d_import.py
+share/blender/scripts/batch_name_edit.py
+share/blender/scripts/bevel_center.py
+share/blender/scripts/blender2cal3d.py
+share/blender/scripts/bvh_export.py
+share/blender/scripts/bvh_import.py
+share/blender/scripts/clean_mesh.py
+share/blender/scripts/disp_paint.py
+share/blender/scripts/doc_browser.py
+share/blender/scripts/fixfromarmature.py
+share/blender/scripts/help_browser.py
+share/blender/scripts/help_getting_started.py
+share/blender/scripts/help_manual.py
+share/blender/scripts/help_py_reference.py
+share/blender/scripts/help_release_notes.py
+share/blender/scripts/help_tutorials.py
+share/blender/scripts/help_web_blender.py
+share/blender/scripts/help_web_devcomm.py
+share/blender/scripts/help_web_eshop.py
+share/blender/scripts/help_web_usercomm.py
+share/blender/scripts/hotkeys.py
+share/blender/scripts/kloputils.py
+share/blender/scripts/knife.py
+share/blender/scripts/lightwave_export.py
+share/blender/scripts/lightwave_import.py
+share/blender/scripts/mod_ai2obj.py
+share/blender/scripts/mod_blender.py
+share/blender/scripts/mod_eps2obj.py
+share/blender/scripts/mod_gimp2obj.py
+share/blender/scripts/mod_meshtools.py
+share/blender/scripts/mod_svg2obj.py
+share/blender/scripts/nendo_export.py
+share/blender/scripts/nendo_import.py
+share/blender/scripts/obdatacopier.py
+share/blender/scripts/obj_export.py
+share/blender/scripts/obj_import.py
+share/blender/scripts/off_export.py
+share/blender/scripts/off_import.py
+share/blender/scripts/paths_import.py
+share/blender/scripts/radiosity_export.py
+share/blender/scripts/radiosity_import.py
+share/blender/scripts/raw_export.py
+share/blender/scripts/raw_import.py
+share/blender/scripts/renameobjectbyblock.py
+share/blender/scripts/rvk1_torvk2.py
+share/blender/scripts/save_theme.py
+share/blender/scripts/sel_same.py
+share/blender/scripts/skin.py
+share/blender/scripts/slp_import.py
+share/blender/scripts/sysinfo.py
+share/blender/scripts/tex2uvbaker.py
+share/blender/scripts/truespace_export.py
+share/blender/scripts/truespace_import.py
+share/blender/scripts/unweld044.py
+share/blender/scripts/uv_export.py
+share/blender/scripts/videoscape_export.py
+share/blender/scripts/wings_export.py
+share/blender/scripts/wings_import.py
+share/blender/scripts/wrl2export.py
+@dirrm share/blender/scripts
+@dirrm share/blender
diff -r 998d01771aa3 -r 72321261f2e2 graphics/blender/files/blender
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/blender/files/blender Fri Mar 04 16:04:59 2005 +0000
@@ -0,0 +1,9 @@
+#!/bin/sh
+# $NetBSD: blender,v 1.1 2005/03/04 16:04:59 reinoud Exp $
+
+if ! [ -d ${HOME}/.blender ]; then
+ echo Softlinking ${HOME}/.blender to point to global __PREFIX__/share/blender settings.
+ ln -s __PREFIX__/share/blender ${HOME}/.blender
+fi
+
+exec __PREFIX__/bin/blender-bin "$@"
Home |
Main Index |
Thread Index |
Old Index