diff options
Diffstat (limited to 'graphics/py-soya3d')
-rw-r--r-- | graphics/py-soya3d/Makefile | 20 | ||||
-rw-r--r-- | graphics/py-soya3d/distinfo | 12 | ||||
-rw-r--r-- | graphics/py-soya3d/files/patch-setup.py | 98 | ||||
-rw-r--r-- | graphics/py-soya3d/pkg-plist | 76 |
4 files changed, 81 insertions, 125 deletions
diff --git a/graphics/py-soya3d/Makefile b/graphics/py-soya3d/Makefile index 2c8e3b1a0b94..51fe4cd017b4 100644 --- a/graphics/py-soya3d/Makefile +++ b/graphics/py-soya3d/Makefile @@ -6,7 +6,7 @@ # PORTNAME= soya3d -PORTVERSION= 0.10.5 +PORTVERSION= 0.11.2 CATEGORIES= graphics MASTER_SITES= http://download.gna.org/soya/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -25,7 +25,8 @@ LIB_DEPENDS= cal3d.11:${PORTSDIR}/graphics/cal3d \ GLEW.1:${PORTSDIR}/graphics/glew \ freetype.9:${PORTSDIR}/print/freetype2 RUN_DEPENDS= ${PYTHON_SITELIBDIR}/editobj/editor.py:${PORTSDIR}/graphics/py-editobj \ - ${PYTHON_SITELIBDIR}/tofu/client.py:${PORTSDIR}/net/py-tofu + ${PYTHON_SITELIBDIR}/tofu/client.py:${PORTSDIR}/net/py-tofu \ + ${PYTHON_SITELIBDIR}/cerealizer/__init__.py:${PORTSDIR}/security/py-cerealizer USE_BZIP2= yes USE_PYTHON= yes @@ -36,7 +37,7 @@ USE_GMAKE= yes MANDIR= ${WRKDIR}/${DISTNAME}/manpage/man1 MAN1= soya_editor.1 INSTALL_DIR= ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} -SOYATUTVER= 0.10.2 +SOYATUTVER= 0.11 .if !defined(NOPORTDOCS) DISTFILES+= SoyaTutorial-${SOYATUTVER}${EXTRACT_SUFX} @@ -70,16 +71,19 @@ post-patch: ${WRKSRC}/ode-0.5/config/user-settings post-install: +.if !defined(NOPORTDOCS) @${INSTALL_DIR} ${EXAMPLESDIR} @${CP} -R ${WRKDIR}/SoyaTutorial-${SOYATUTVER}/tutorial/* ${EXAMPLESDIR} -.if !defined(NOPORTDOCS) - @${INSTALL_DIR} ${DOCSDIR} - @${CP} -R ${WRKDIR}/SoyaTutorial-${SOYATUTVER}/doc/* ${DOCSDIR} @${FIND} ${EXAMPLESDIR}/* -type f -print0 | \ ${XARGS} -0 ${CHMOD} ${SHAREMODE} -.for f in ${MAN1} - ${INSTALL_MAN} ${MANDIR}/${f} ${PREFIX}/man/man1 + @${INSTALL_DIR} ${DOCSDIR} +.for FILE in AUTHORS README + @${INSTALL_DATA} ${WRKDIR}/SoyaTutorial-${SOYATUTVER}/${FILE} ${DOCSDIR} .endfor .endif +.for FILE in ${MAN1} + ${INSTALL_MAN} ${MANDIR}/${FILE} ${PREFIX}/man/man1 +.endfor + .include <bsd.port.post.mk> diff --git a/graphics/py-soya3d/distinfo b/graphics/py-soya3d/distinfo index ff5303ab0f37..b67db2b5cee0 100644 --- a/graphics/py-soya3d/distinfo +++ b/graphics/py-soya3d/distinfo @@ -1,6 +1,6 @@ -MD5 (python/Soya-0.10.5.tar.bz2) = 09635bc8189a2da3019f07e428fc6ecc -SHA256 (python/Soya-0.10.5.tar.bz2) = 56bfb18c7b29a72586ddb71f4c0ef83fe1fbf78b065e43a1699d481ef7e516c4 -SIZE (python/Soya-0.10.5.tar.bz2) = 2089014 -MD5 (python/SoyaTutorial-0.10.2.tar.bz2) = 6f03171bb18ec3baf6aee582f5edc845 -SHA256 (python/SoyaTutorial-0.10.2.tar.bz2) = 26793a43fe0a14813ffd0613b2a8087e2e1d8a8b4a4af539536825e440705a8a -SIZE (python/SoyaTutorial-0.10.2.tar.bz2) = 3970014 +MD5 (python/Soya-0.11.2.tar.bz2) = 5982ae6d5981f6ab99e1b7ceaea809e4 +SHA256 (python/Soya-0.11.2.tar.bz2) = b8759a51bc2320d9799a3a56bd454bbb19c789ee18f7845cb15fdb8c4ce88412 +SIZE (python/Soya-0.11.2.tar.bz2) = 2103969 +MD5 (python/SoyaTutorial-0.11.tar.bz2) = 2374515105e917d7ccde1f0dba771ab5 +SHA256 (python/SoyaTutorial-0.11.tar.bz2) = 2c636976c3277df1fc19b6028b0d523b82e2855cd6fbc77b6ff17c426dd7a10b +SIZE (python/SoyaTutorial-0.11.tar.bz2) = 1642135 diff --git a/graphics/py-soya3d/files/patch-setup.py b/graphics/py-soya3d/files/patch-setup.py index 303a5c50573b..7d08839247b7 100644 --- a/graphics/py-soya3d/files/patch-setup.py +++ b/graphics/py-soya3d/files/patch-setup.py @@ -1,60 +1,60 @@ ---- setup.py Fri Aug 19 16:05:49 2005 -+++ setup.py Sat Nov 5 13:13:31 2005 -@@ -25,19 +25,19 @@ +--- setup.py Wed Jun 14 14:28:09 2006 ++++ setup.py Wed Jun 14 14:30:13 2006 +@@ -27,19 +27,19 @@ INCDIR = [ - "ode-0.5/include", - "/usr/include", -- "/usr/local/include", -- "/usr/X11R6/include", -+ "%%LOCALBASE%%/include", -+ "%%X11BASE%%/include", - "/usr/include/freetype2", -- "/usr/local/include/freetype2", -+ "%%LOCALBASE%%/include/freetype2", - "/usr/include/cal3d", -- "/usr/local/include/cal3d", -+ "%%LOCALBASE%%/include/cal3d", - "/sw/include", # For Mac OS X - ] + "ode-0.5/include", + "/usr/include", +- "/usr/local/include", +- "/usr/X11R6/include", ++ "%%LOCALBASE%%/include", ++ "%%X11BASE%%/include", + "/usr/include/freetype2", +- "/usr/local/include/freetype2", +- "/usr/include/cal3d", ++ "%%LOCALBASE%%/include/freetype2", ++ "%%LOCALBASE%%/cal3d", + "/usr/local/include/cal3d", + "/sw/include", # For Mac OS X + ] LIBDIR = [ - "ode-0.5/lib", - "/usr/lib", -- "/usr/local/lib", -- "/usr/X11R6/lib", -+ "%%LOCALBASE%%/lib", -+ "%%X11BASE%%/lib", - "/sw/lib/", # For Mac OS X - ] + "ode-0.5/lib", + "/usr/lib", +- "/usr/local/lib", +- "/usr/X11R6/lib", ++ "%%LOCALBASE%%/lib", ++ "%%X11BASE%%/lib", + "/sw/lib/", # For Mac OS X + ] -@@ -63,10 +63,10 @@ +@@ -65,10 +65,10 @@ from config import * if sys.platform[:3] == "win": -- LIBS = ["m", "glew32", "SDL", "SDL_mixer", "freetype", "cal3d", "stdc++"] -+ LIBS = ["m", "glew32", "SDL-1.1", "SDL_mixer", "freetype", "cal3d", "stdc++"] +- LIBS = ["m", "glew32", "SDL", "SDL_mixer", "freetype", "cal3d", "stdc++"] ++ LIBS = ["m", "glew32", "SDL-1.1", "SDL_mixer", "freetype", "cal3d", "stdc++"] else: - #LIBS = ["m", "GLEW", "GL", "GLU", "SDL", "SDL_mixer", "freetype", "cal3d", "stdc++"] -- LIBS = ["m", "GLEW", "SDL", "freetype", "cal3d", "stdc++"] -+ LIBS = ["m", "GLEW", "SDL-1.1", "freetype", "cal3d", "stdc++"] + #LIBS = ["m", "GLEW", "GL", "GLU", "SDL", "SDL_mixer", "freetype", "cal3d", "stdc++"] +- LIBS = ["m", "GLEW", "SDL", "freetype", "cal3d", "stdc++"] ++ LIBS = ["m", "GLEW", "SDL-1.1", "freetype", "cal3d", "stdc++"] SOYA_PYREX_SOURCES = ["_soya.pyx", "matrix.c", "chunk.c" ] SOYA_C_SOURCES = ["_soya.c" , "matrix.c", "chunk.c" ] -@@ -97,14 +97,14 @@ - print "ODE and OPCODE have already been compiled; if you want to recompile them do: cd %s ; make clean" % ODE_DIR - else: - print "Building ODE and OPCODE from %s" % ODE_DIR -- do("cd %s ; make clean" % ODE_DIR) -- do("cd %s ; make configure" % ODE_DIR) -- do("cd %s ; make" % ODE_DIR) -+ do("cd %s ; gmake clean" % ODE_DIR) -+ do("cd %s ; gmake configure" % ODE_DIR) -+ do("cd %s ; gmake" % ODE_DIR) - print "ODE and OPCODE built successfully !" - - elif "sdist" in sys.argv: - # Clean ODE, to remove configuration files and binaries -- do("cd %s ; make clean" % ODE_DIR) -+ do("cd %s ; gmake clean" % ODE_DIR) - - +@@ -99,14 +99,14 @@ + print "ODE and OPCODE have already been compiled; if you want to recompile them do: cd %s ; make clean" % ODE_DIR + else: + print "Building ODE and OPCODE from %s" % ODE_DIR +- do("cd %s ; make clean" % ODE_DIR) +- do("cd %s ; make configure" % ODE_DIR) +- do("cd %s ; make" % ODE_DIR) ++ do("cd %s ; gmake clean" % ODE_DIR) ++ do("cd %s ; gmake configure" % ODE_DIR) ++ do("cd %s ; gmake" % ODE_DIR) + print "ODE and OPCODE built successfully !" + + elif "sdist" in sys.argv: + # Clean ODE, to remove configuration files and binaries +- do("cd %s ; make clean" % ODE_DIR) ++ do("cd %s ; gmake clean" % ODE_DIR) + + if HAVE_PYREX: diff --git a/graphics/py-soya3d/pkg-plist b/graphics/py-soya3d/pkg-plist index f7e34daddfe7..2e1570da4d3c 100644 --- a/graphics/py-soya3d/pkg-plist +++ b/graphics/py-soya3d/pkg-plist @@ -16,6 +16,9 @@ bin/soya_editor %%PYTHON_SITELIBDIR%%/soya/blender2soya.py %%PYTHON_SITELIBDIR%%/soya/blender2soya.pyc %%PYTHON_SITELIBDIR%%/soya/blender2soya.pyo +%%PYTHON_SITELIBDIR%%/soya/cal3d-export.py +%%PYTHON_SITELIBDIR%%/soya/cal3d-export.pyc +%%PYTHON_SITELIBDIR%%/soya/cal3d-export.pyo %%PYTHON_SITELIBDIR%%/soya/cerealizer4soya.py %%PYTHON_SITELIBDIR%%/soya/cerealizer4soya.pyc %%PYTHON_SITELIBDIR%%/soya/cerealizer4soya.pyo @@ -117,6 +120,9 @@ bin/soya_editor %%PYTHON_SITELIBDIR%%/soya/pudding/idler.py %%PYTHON_SITELIBDIR%%/soya/pudding/idler.pyc %%PYTHON_SITELIBDIR%%/soya/pudding/idler.pyo +%%PYTHON_SITELIBDIR%%/soya/pudding/listbox.py +%%PYTHON_SITELIBDIR%%/soya/pudding/listbox.pyc +%%PYTHON_SITELIBDIR%%/soya/pudding/listbox.pyo %%PYTHON_SITELIBDIR%%/soya/pudding/python_console.py %%PYTHON_SITELIBDIR%%/soya/pudding/python_console.pyc %%PYTHON_SITELIBDIR%%/soya/pudding/python_console.pyo @@ -157,32 +163,8 @@ bin/soya_editor %%PYTHON_SITELIBDIR%%/soya/widget.py %%PYTHON_SITELIBDIR%%/soya/widget.pyc %%PYTHON_SITELIBDIR%%/soya/widget.pyo +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/blendertut/pics.tar.gz -%%PORTDOCS%%%%DOCSDIR%%/classes.eps -%%PORTDOCS%%%%DOCSDIR%%/pudding/pudding.pdf -%%PORTDOCS%%%%DOCSDIR%%/pudding/pudding.tex -%%PORTDOCS%%%%DOCSDIR%%/pudding/refcontainer.tex -%%PORTDOCS%%%%DOCSDIR%%/pudding/refcontrol.tex -%%PORTDOCS%%%%DOCSDIR%%/pudding/refcore.tex -%%PORTDOCS%%%%DOCSDIR%%/pudding/reference.tex -%%PORTDOCS%%%%DOCSDIR%%/pudding/refidler.tex -%%PORTDOCS%%%%DOCSDIR%%/pudding/refpudding.tex -%%PORTDOCS%%%%DOCSDIR%%/pudding/refsysfont.tex -%%PORTDOCS%%%%DOCSDIR%%/pudding/version.tex -%%PORTDOCS%%%%DOCSDIR%%/soya-basics.tex -%%PORTDOCS%%%%DOCSDIR%%/soya-beyond.tex -%%PORTDOCS%%%%DOCSDIR%%/soya-character.tex -%%PORTDOCS%%%%DOCSDIR%%/soya-dev.tex -%%PORTDOCS%%%%DOCSDIR%%/soya-installing.tex -%%PORTDOCS%%%%DOCSDIR%%/soya-opengl-ref.tex -%%PORTDOCS%%%%DOCSDIR%%/soya-particle-ref.tex -%%PORTDOCS%%%%DOCSDIR%%/soya-ref.tex -%%PORTDOCS%%%%DOCSDIR%%/soya-sdlconst-ref.tex -%%PORTDOCS%%%%DOCSDIR%%/soya-ui.tex -%%PORTDOCS%%%%DOCSDIR%%/soya-widget-ref.tex -%%PORTDOCS%%%%DOCSDIR%%/soya.pdf -%%PORTDOCS%%%%DOCSDIR%%/soya.tex %%PORTDOCS%%%%EXAMPLESDIR%%/README %%PORTDOCS%%%%EXAMPLESDIR%%/basic-1.py %%PORTDOCS%%%%EXAMPLESDIR%%/basic-2.py @@ -190,21 +172,16 @@ bin/soya_editor %%PORTDOCS%%%%EXAMPLESDIR%%/basic-4.py %%PORTDOCS%%%%EXAMPLESDIR%%/basic-5.py %%PORTDOCS%%%%EXAMPLESDIR%%/basic-6.py +%%PORTDOCS%%%%EXAMPLESDIR%%/basic-loadingfile-1.py +%%PORTDOCS%%%%EXAMPLESDIR%%/basic-savingfile-cerealizer-1.py +%%PORTDOCS%%%%EXAMPLESDIR%%/basic-savingfile-pickle-1.py %%PORTDOCS%%%%EXAMPLESDIR%%/blender-auto-exporter-1.py %%PORTDOCS%%%%EXAMPLESDIR%%/buggy.py %%PORTDOCS%%%%EXAMPLESDIR%%/buggy_trimesh.py %%PORTDOCS%%%%EXAMPLESDIR%%/character-animation-1.py %%PORTDOCS%%%%EXAMPLESDIR%%/character-animation-2.py %%PORTDOCS%%%%EXAMPLESDIR%%/character-animation-shadow-cellshading-1.py -%%PORTDOCS%%%%EXAMPLESDIR%%/data/blender/Red.blend -%%PORTDOCS%%%%EXAMPLESDIR%%/data/blender/Red.blend1 -%%PORTDOCS%%%%EXAMPLESDIR%%/data/blender/dodd.blend %%PORTDOCS%%%%EXAMPLESDIR%%/data/blender/knife.blend -%%PORTDOCS%%%%EXAMPLESDIR%%/data/blender/knife.blend1 -%%PORTDOCS%%%%EXAMPLESDIR%%/data/images/Face1Red.png -%%PORTDOCS%%%%EXAMPLESDIR%%/data/images/Suit1Red.png -%%PORTDOCS%%%%EXAMPLESDIR%%/data/images/Visor.png -%%PORTDOCS%%%%EXAMPLESDIR%%/data/images/VisorRed.png %%PORTDOCS%%%%EXAMPLESDIR%%/data/images/balazar.png %%PORTDOCS%%%%EXAMPLESDIR%%/data/images/block2.png %%PORTDOCS%%%%EXAMPLESDIR%%/data/images/cloud.png @@ -225,16 +202,11 @@ bin/soya_editor %%PORTDOCS%%%%EXAMPLESDIR%%/data/images/oomad.png %%PORTDOCS%%%%EXAMPLESDIR%%/data/images/shader.png %%PORTDOCS%%%%EXAMPLESDIR%%/data/images/shader2.png -%%PORTDOCS%%%%EXAMPLESDIR%%/data/images/ship_text.png %%PORTDOCS%%%%EXAMPLESDIR%%/data/images/snow.png %%PORTDOCS%%%%EXAMPLESDIR%%/data/images/soustoit.png %%PORTDOCS%%%%EXAMPLESDIR%%/data/images/sphere_map.jpg -%%PORTDOCS%%%%EXAMPLESDIR%%/data/images/sphere_map.png %%PORTDOCS%%%%EXAMPLESDIR%%/data/images/test.png %%PORTDOCS%%%%EXAMPLESDIR%%/data/levels/level_tofudemo.data -%%PORTDOCS%%%%EXAMPLESDIR%%/data/materials/Face1Red.data -%%PORTDOCS%%%%EXAMPLESDIR%%/data/materials/Suit1Red.data -%%PORTDOCS%%%%EXAMPLESDIR%%/data/materials/Visor.data %%PORTDOCS%%%%EXAMPLESDIR%%/data/materials/balazar.data %%PORTDOCS%%%%EXAMPLESDIR%%/data/materials/block2.data %%PORTDOCS%%%%EXAMPLESDIR%%/data/materials/caterpillar.data @@ -254,24 +226,6 @@ bin/soya_editor %%PORTDOCS%%%%EXAMPLESDIR%%/data/materials/white.data %%PORTDOCS%%%%EXAMPLESDIR%%/data/ms3d/buggy_chassis.txt %%PORTDOCS%%%%EXAMPLESDIR%%/data/ms3d/wheel4.txt -%%PORTDOCS%%%%EXAMPLESDIR%%/data/shapes/Red/Cube_002.cmf -%%PORTDOCS%%%%EXAMPLESDIR%%/data/shapes/Red/Face1Red.crf -%%PORTDOCS%%%%EXAMPLESDIR%%/data/shapes/Red/Red.cfg -%%PORTDOCS%%%%EXAMPLESDIR%%/data/shapes/Red/Red.csf -%%PORTDOCS%%%%EXAMPLESDIR%%/data/shapes/Red/Suit1Red.crf -%%PORTDOCS%%%%EXAMPLESDIR%%/data/shapes/Red/Visor.crf -%%PORTDOCS%%%%EXAMPLESDIR%%/data/shapes/Red/charging.caf -%%PORTDOCS%%%%EXAMPLESDIR%%/data/shapes/Red/falling.caf -%%PORTDOCS%%%%EXAMPLESDIR%%/data/shapes/Red/flying.caf -%%PORTDOCS%%%%EXAMPLESDIR%%/data/shapes/Red/hanging.caf -%%PORTDOCS%%%%EXAMPLESDIR%%/data/shapes/Red/idle.caf -%%PORTDOCS%%%%EXAMPLESDIR%%/data/shapes/Red/plain.crf -%%PORTDOCS%%%%EXAMPLESDIR%%/data/shapes/Red/running.caf -%%PORTDOCS%%%%EXAMPLESDIR%%/data/shapes/Red/running_BAKED.caf -%%PORTDOCS%%%%EXAMPLESDIR%%/data/shapes/Red/running_BAKED_001.caf -%%PORTDOCS%%%%EXAMPLESDIR%%/data/shapes/Red/running_BAKED_002.caf -%%PORTDOCS%%%%EXAMPLESDIR%%/data/shapes/Red/running_old.caf -%%PORTDOCS%%%%EXAMPLESDIR%%/data/shapes/Red/throwing.caf %%PORTDOCS%%%%EXAMPLESDIR%%/data/shapes/balazar/attente.caf %%PORTDOCS%%%%EXAMPLESDIR%%/data/shapes/balazar/balazar.cfg %%PORTDOCS%%%%EXAMPLESDIR%%/data/shapes/balazar/balazar.cmf @@ -288,11 +242,11 @@ bin/soya_editor %%PORTDOCS%%%%EXAMPLESDIR%%/data/shapes/wheel4.data %%PORTDOCS%%%%EXAMPLESDIR%%/data/sounds/test.wav %%PORTDOCS%%%%EXAMPLESDIR%%/data/svg/test.svg +%%PORTDOCS%%%%EXAMPLESDIR%%/data/worlds/a_scene_with_a_rotating_volume.data %%PORTDOCS%%%%EXAMPLESDIR%%/data/worlds/caterpillar.data %%PORTDOCS%%%%EXAMPLESDIR%%/data/worlds/caterpillar_head.data %%PORTDOCS%%%%EXAMPLESDIR%%/data/worlds/cube.data %%PORTDOCS%%%%EXAMPLESDIR%%/data/worlds/ferme.data -%%PORTDOCS%%%%EXAMPLESDIR%%/data/worlds/knife@with_sword_material.data %%PORTDOCS%%%%EXAMPLESDIR%%/data/worlds/level_tofudemo_static.data %%PORTDOCS%%%%EXAMPLESDIR%%/data/worlds/pyramid.data %%PORTDOCS%%%%EXAMPLESDIR%%/data/worlds/sword.data @@ -330,6 +284,7 @@ bin/soya_editor %%PORTDOCS%%%%EXAMPLESDIR%%/pudding-image-1.py %%PORTDOCS%%%%EXAMPLESDIR%%/pudding-image-slicing-1.py %%PORTDOCS%%%%EXAMPLESDIR%%/pudding-input-1.py +%%PORTDOCS%%%%EXAMPLESDIR%%/pudding-listbox-1.py %%PORTDOCS%%%%EXAMPLESDIR%%/pudding-menu-1.py %%PORTDOCS%%%%EXAMPLESDIR%%/pudding-meter-1.py %%PORTDOCS%%%%EXAMPLESDIR%%/pudding-svgelements-1.py @@ -382,15 +337,12 @@ bin/soya_editor @dirrm %%PYTHON_SITELIBDIR%%/soya/pudding @dirrm %%PYTHON_SITELIBDIR%%/soya/data @dirrm %%PYTHON_SITELIBDIR%%/soya -%%PORTDOCS%%@dirrm %%DOCSDIR%%/blendertut -%%PORTDOCS%%@dirrm %%DOCSDIR%%/pudding %%PORTDOCS%%@dirrm %%DOCSDIR%% -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/data/ms3d +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/data/blender %%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/data/images %%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/data/levels %%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/data/materials -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/data/blender -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/data/shapes/Red +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/data/ms3d %%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/data/shapes/balazar %%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/data/shapes %%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/data/sounds |