summaryrefslogtreecommitdiff
path: root/devel/py-game
diff options
context:
space:
mode:
authorobache <obache>2011-12-10 14:43:37 +0000
committerobache <obache>2011-12-10 14:43:37 +0000
commit29a9f8f2708dcaba592d90f0f79c2bbb2a393c7e (patch)
treeced278d5328c6159755cb841739905b0fba43017 /devel/py-game
parent1bfd08018b5ff5798f6e55f15f99fc96f859aadc (diff)
downloadpkgsrc-29a9f8f2708dcaba592d90f0f79c2bbb2a393c7e.tar.gz
* no need to buildlink with py-numpy, simple DEPENDS is sufficient.
* distutils pkg, register egg-info. Bump PKGREVISION.
Diffstat (limited to 'devel/py-game')
-rw-r--r--devel/py-game/Makefile12
-rw-r--r--devel/py-game/PLIST3
-rw-r--r--devel/py-game/buildlink3.mk3
3 files changed, 8 insertions, 10 deletions
diff --git a/devel/py-game/Makefile b/devel/py-game/Makefile
index ed2e0393e7e..e190b347913 100644
--- a/devel/py-game/Makefile
+++ b/devel/py-game/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.23 2011/11/01 06:01:03 sbd Exp $
+# $NetBSD: Makefile,v 1.24 2011/12/10 14:43:37 obache Exp $
#
DISTNAME= pygame-1.8.1release
PKGNAME= ${PYPKGPREFIX}-game-1.8.1
-PKGREVISION= 9
+PKGREVISION= 10
CATEGORIES= devel
MASTER_SITES= http://pygame.org/ftp/
@@ -12,10 +12,9 @@ HOMEPAGE= http://pygame.org/
COMMENT= Set of Python modules designed for writing games
LICENSE= gnu-lgpl-v2.1
-PKG_DESTDIR_SUPPORT= user-destdir
+DEPENDS+= ${PYPKGPREFIX}-numpy-[0-9]*:../../math/py-numpy
-PY_PATCHPLIST= yes
-PYDISTUTILSPKG= yes
+PKG_DESTDIR_SUPPORT= user-destdir
# XXX
post-extract:
@@ -38,8 +37,7 @@ CFLAGS+= -no-integrated-as
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../devel/SDL_ttf/buildlink3.mk"
.include "../../graphics/SDL_image/buildlink3.mk"
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/distutils.mk"
.include "../../multimedia/smpeg/buildlink3.mk"
-.include "../../math/py-numpy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-game/PLIST b/devel/py-game/PLIST
index fee084d0534..53703edd20d 100644
--- a/devel/py-game/PLIST
+++ b/devel/py-game/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2009/06/14 17:49:05 joerg Exp $
+@comment $NetBSD: PLIST,v 1.5 2011/12/10 14:43:37 obache Exp $
${PYINC}/pygame/bitmask.h
${PYINC}/pygame/fastevents.h
${PYINC}/pygame/ffmovie.h
@@ -9,6 +9,7 @@ ${PYINC}/pygame/pygame.h
${PYINC}/pygame/pygamedocs.h
${PYINC}/pygame/scrap.h
${PYINC}/pygame/surface.h
+${PLIST.eggfile}${PYSITELIB}/${EGG_FILE}
${PYSITELIB}/pygame/__init__.py
${PYSITELIB}/pygame/__init__.pyc
${PYSITELIB}/pygame/__init__.pyo
diff --git a/devel/py-game/buildlink3.mk b/devel/py-game/buildlink3.mk
index 8525a1d58f3..08da1c8dea7 100644
--- a/devel/py-game/buildlink3.mk
+++ b/devel/py-game/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.21 2011/11/01 23:18:23 sbd Exp $
+# $NetBSD: buildlink3.mk,v 1.22 2011/12/10 14:43:37 obache Exp $
BUILDLINK_TREE+= ${PYPKGPREFIX}-game
@@ -15,7 +15,6 @@ BUILDLINK_PKGSRCDIR.${PYPKGPREFIX}-game?= ../../devel/py-game
.include "../../devel/SDL_ttf/buildlink3.mk"
.include "../../graphics/SDL_image/buildlink3.mk"
.include "../../multimedia/smpeg/buildlink3.mk"
-.include "../../math/py-numpy/buildlink3.mk"
.endif # PY_GAME_BUILDLINK3_MK
BUILDLINK_TREE+= -${PYPKGPREFIX}-game