diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2003-11-17 03:00:52 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2003-11-17 03:00:52 +0000 |
commit | 03b2b41eb4d1abff3c8cb79578bfd15bc8a634c7 (patch) | |
tree | 3abe5469eaf54312068eb77a13bb6159d58325d2 /devel/py-game | |
parent | 2d2a0fd5268cb6fbc378c9d2ecbc2e5ef9b5c166 (diff) | |
download | ports-03b2b41eb4d1abff3c8cb79578bfd15bc8a634c7.tar.gz ports-03b2b41eb4d1abff3c8cb79578bfd15bc8a634c7.zip |
Notes
Diffstat (limited to 'devel/py-game')
-rw-r--r-- | devel/py-game/Makefile | 2 | ||||
-rw-r--r-- | devel/py-game/distinfo | 2 | ||||
-rw-r--r-- | devel/py-game/files/patch-src-draw.c | 20 | ||||
-rw-r--r-- | devel/py-game/pkg-plist | 55 |
4 files changed, 62 insertions, 17 deletions
diff --git a/devel/py-game/Makefile b/devel/py-game/Makefile index 87e6dc831f4d..886ca96ba88a 100644 --- a/devel/py-game/Makefile +++ b/devel/py-game/Makefile @@ -6,7 +6,7 @@ # PORTNAME= py-game -PORTVERSION= 1.5.5 +PORTVERSION= 1.6 CATEGORIES= devel python MASTER_SITES= http://pygame.seul.org/ftp/ DISTNAME= ${PORTNAME:S/-//}-${PORTVERSION} diff --git a/devel/py-game/distinfo b/devel/py-game/distinfo index f04dbb55873b..33599cb97637 100644 --- a/devel/py-game/distinfo +++ b/devel/py-game/distinfo @@ -1 +1 @@ -MD5 (pygame-1.5.5.tar.gz) = fa135364e2d9f12acfb528f477418e0e +MD5 (pygame-1.6.tar.gz) = ea5db930c0031873a7f5ad1f2f7926db diff --git a/devel/py-game/files/patch-src-draw.c b/devel/py-game/files/patch-src-draw.c new file mode 100644 index 000000000000..cb17854ae6d7 --- /dev/null +++ b/devel/py-game/files/patch-src-draw.c @@ -0,0 +1,20 @@ +--- src/draw.c.orig Thu Oct 16 08:13:22 2003 ++++ src/draw.c Mon Nov 17 03:47:49 2003 +@@ -26,17 +26,12 @@ + #include "pygame.h" + #include <math.h> + +-#ifdef _MSC_VER +-#pragma warning (disable:4244) +- + float trunc(float d) + { + if (d >= 0) + return floor(d); + return ceil(d); + } +- +-#endif + + #define FRAC(z) (z-trunc(z)) + #define INVFRAC(z) (1-(z-trunc(z))) diff --git a/devel/py-game/pkg-plist b/devel/py-game/pkg-plist index f59ef9e7a16b..3ce6c4a7525c 100644 --- a/devel/py-game/pkg-plist +++ b/devel/py-game/pkg-plist @@ -1,13 +1,17 @@ -include/%%PYTHON_VERSION%%/pygame/CPS.h include/%%PYTHON_VERSION%%/pygame/font.h include/%%PYTHON_VERSION%%/pygame/mixer.h include/%%PYTHON_VERSION%%/pygame/pygame.h -include/%%PYTHON_VERSION%%/pygame/setproctitle.h lib/%%PYTHON_VERSION%%/site-packages/pygame/__init__.py lib/%%PYTHON_VERSION%%/site-packages/pygame/__init__.pyc lib/%%PYTHON_VERSION%%/site-packages/pygame/__init__.pyo lib/%%PYTHON_VERSION%%/site-packages/pygame/base.so lib/%%PYTHON_VERSION%%/site-packages/pygame/cdrom.so +lib/%%PYTHON_VERSION%%/site-packages/pygame/color.py +lib/%%PYTHON_VERSION%%/site-packages/pygame/color.pyc +lib/%%PYTHON_VERSION%%/site-packages/pygame/color.pyo +lib/%%PYTHON_VERSION%%/site-packages/pygame/colordict.py +lib/%%PYTHON_VERSION%%/site-packages/pygame/colordict.pyc +lib/%%PYTHON_VERSION%%/site-packages/pygame/colordict.pyo lib/%%PYTHON_VERSION%%/site-packages/pygame/constants.so lib/%%PYTHON_VERSION%%/site-packages/pygame/cursors.py lib/%%PYTHON_VERSION%%/site-packages/pygame/cursors.pyc @@ -24,6 +28,9 @@ lib/%%PYTHON_VERSION%%/site-packages/pygame/key.so lib/%%PYTHON_VERSION%%/site-packages/pygame/locals.py lib/%%PYTHON_VERSION%%/site-packages/pygame/locals.pyc lib/%%PYTHON_VERSION%%/site-packages/pygame/locals.pyo +lib/%%PYTHON_VERSION%%/site-packages/pygame/macosx.py +lib/%%PYTHON_VERSION%%/site-packages/pygame/macosx.pyc +lib/%%PYTHON_VERSION%%/site-packages/pygame/macosx.pyo lib/%%PYTHON_VERSION%%/site-packages/pygame/mixer.so lib/%%PYTHON_VERSION%%/site-packages/pygame/mixer_music.so lib/%%PYTHON_VERSION%%/site-packages/pygame/mouse.so @@ -41,6 +48,9 @@ lib/%%PYTHON_VERSION%%/site-packages/pygame/sprite.pyo lib/%%PYTHON_VERSION%%/site-packages/pygame/surface.so lib/%%PYTHON_VERSION%%/site-packages/pygame/surfarray.so lib/%%PYTHON_VERSION%%/site-packages/pygame/surflock.so +lib/%%PYTHON_VERSION%%/site-packages/pygame/sysfont.py +lib/%%PYTHON_VERSION%%/site-packages/pygame/sysfont.pyc +lib/%%PYTHON_VERSION%%/site-packages/pygame/sysfont.pyo lib/%%PYTHON_VERSION%%/site-packages/pygame/time.so lib/%%PYTHON_VERSION%%/site-packages/pygame/transform.so lib/%%PYTHON_VERSION%%/site-packages/pygame/version.py @@ -64,6 +74,7 @@ lib/%%PYTHON_VERSION%%/site-packages/pygame/version.pyo %%PORTDOCS%%share/doc/py-game/ref/Surface.html %%PORTDOCS%%share/doc/py-game/ref/pygame.html %%PORTDOCS%%share/doc/py-game/ref/pygame_cdrom.html +%%PORTDOCS%%share/doc/py-game/ref/pygame_color.html %%PORTDOCS%%share/doc/py-game/ref/pygame_constants.html %%PORTDOCS%%share/doc/py-game/ref/pygame_cursors.html %%PORTDOCS%%share/doc/py-game/ref/pygame_display.html @@ -82,25 +93,35 @@ lib/%%PYTHON_VERSION%%/site-packages/pygame/version.pyo %%PORTDOCS%%share/doc/py-game/ref/pygame_surfarray.html %%PORTDOCS%%share/doc/py-game/ref/pygame_time.html %%PORTDOCS%%share/doc/py-game/ref/pygame_transform.html -%%PORTDOCS%%share/doc/py-game/tut/ChimpLineByLine.html %%PORTDOCS%%share/doc/py-game/tut/DisplayModes.html %%PORTDOCS%%share/doc/py-game/tut/Executable.html %%PORTDOCS%%share/doc/py-game/tut/ImportInit.html %%PORTDOCS%%share/doc/py-game/tut/MoveIt.html %%PORTDOCS%%share/doc/py-game/tut/SpriteIntro.html -%%PORTDOCS%%share/doc/py-game/tut/SurfarrayIntro.html -%%PORTDOCS%%share/doc/py-game/tut/allblack.jpg -%%PORTDOCS%%share/doc/py-game/tut/chimp.py.html -%%PORTDOCS%%share/doc/py-game/tut/chimpshot.gif -%%PORTDOCS%%share/doc/py-game/tut/flipped.jpg -%%PORTDOCS%%share/doc/py-game/tut/imgarray.jpg +%%PORTDOCS%%share/doc/py-game/tut/chimp/ChimpLineByLine.html +%%PORTDOCS%%share/doc/py-game/tut/chimp/chimp.py.html +%%PORTDOCS%%share/doc/py-game/tut/chimp/chimpshot.gif %%PORTDOCS%%share/doc/py-game/tut/newbieguide.html -%%PORTDOCS%%share/doc/py-game/tut/redimg.jpg -%%PORTDOCS%%share/doc/py-game/tut/scaledown.jpg -%%PORTDOCS%%share/doc/py-game/tut/scaleup.jpg -%%PORTDOCS%%share/doc/py-game/tut/soften.jpg -%%PORTDOCS%%share/doc/py-game/tut/striped.jpg -%%PORTDOCS%%share/doc/py-game/tut/xfade.jpg +%%PORTDOCS%%share/doc/py-game/tut/surfarray/SurfarrayIntro.html +%%PORTDOCS%%share/doc/py-game/tut/surfarray/allblack.jpg +%%PORTDOCS%%share/doc/py-game/tut/surfarray/flipped.jpg +%%PORTDOCS%%share/doc/py-game/tut/surfarray/imgarray.jpg +%%PORTDOCS%%share/doc/py-game/tut/surfarray/redimg.jpg +%%PORTDOCS%%share/doc/py-game/tut/surfarray/scaledown.jpg +%%PORTDOCS%%share/doc/py-game/tut/surfarray/scaleup.jpg +%%PORTDOCS%%share/doc/py-game/tut/surfarray/soften.jpg +%%PORTDOCS%%share/doc/py-game/tut/surfarray/striped.jpg +%%PORTDOCS%%share/doc/py-game/tut/surfarray/xfade.jpg +%%PORTDOCS%%share/doc/py-game/tut/tom/MakeGames.html +%%PORTDOCS%%share/doc/py-game/tut/tom/basic.png +%%PORTDOCS%%share/doc/py-game/tut/tom/event-flowchart.png +%%PORTDOCS%%share/doc/py-game/tut/tom/formulae.png +%%PORTDOCS%%share/doc/py-game/tut/tom/games2.html +%%PORTDOCS%%share/doc/py-game/tut/tom/games3.html +%%PORTDOCS%%share/doc/py-game/tut/tom/games4.html +%%PORTDOCS%%share/doc/py-game/tut/tom/games5.html +%%PORTDOCS%%share/doc/py-game/tut/tom/games6.html +%%PORTDOCS%%share/doc/py-game/tut/tom/radians.png %%PORTDOCS%%share/doc/py-game/util/doclate.html %%PORTDOCS%%share/doc/py-game/util/listlate.html %%PORTDOCS%%share/doc/py-game/util/makedocs.py @@ -129,6 +150,7 @@ lib/%%PYTHON_VERSION%%/site-packages/pygame/version.pyo %%PORTDOCS%%share/examples/py-game/data/secosmic_lo.wav %%PORTDOCS%%share/examples/py-game/data/shot.gif %%PORTDOCS%%share/examples/py-game/data/whiff.wav +%%PORTDOCS%%share/examples/py-game/eventlist.py %%PORTDOCS%%share/examples/py-game/fonty.py %%PORTDOCS%%share/examples/py-game/glcube.py %%PORTDOCS%%share/examples/py-game/liquid.py @@ -142,6 +164,9 @@ lib/%%PYTHON_VERSION%%/site-packages/pygame/version.pyo %%PORTDOCS%%@dirrm share/examples/py-game/data %%PORTDOCS%%@dirrm share/examples/py-game %%PORTDOCS%%@dirrm share/doc/py-game/util +%%PORTDOCS%%@dirrm share/doc/py-game/tut/tom +%%PORTDOCS%%@dirrm share/doc/py-game/tut/surfarray +%%PORTDOCS%%@dirrm share/doc/py-game/tut/chimp %%PORTDOCS%%@dirrm share/doc/py-game/tut %%PORTDOCS%%@dirrm share/doc/py-game/ref %%PORTDOCS%%@dirrm share/doc/py-game |