pkgsrc/devel/py-game/Makefile
adam fb34f9c5f2 Pygame 1.9.3:
This is a bugfix release which fixes a couple of key issues which came up with 1.9.2. It also adds wheels for Python 3.6 on Linux, Mac and Windows.
2017-06-20 17:00:07 +00:00

43 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.35 2017/06/20 17:00:07 adam Exp $
DISTNAME= pygame-1.9.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pygame/}
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://www.pygame.org/
COMMENT= Set of Python modules designed for writing games
LICENSE= gnu-lgpl-v2.1
REPLACE_PYTHON+= bundle_docs.py
REPLACE_PYTHON+= config.py
REPLACE_PYTHON+= examples/*.py
REPLACE_PYTHON+= makeref.py
REPLACE_PYTHON+= run_tests.py
REPLACE_PYTHON+= setup.py
SUBST_CLASSES+= fixpath
SUBST_STAGE.fixpath= pre-configure
SUBST_MESSAGE.fixpath= Fixing paths.
SUBST_FILES.fixpath= config_darwin.py config_unix.py
SUBST_SED.fixpath= -e 's,/usr/local,${PREFIX},g'
.include "../../mk/bsd.prefs.mk"
PLIST_VARS+= darwin
.if ${OPSYS} != "Darwin"
. include "../../x11/libX11/buildlink3.mk"
.else
PLIST.darwin= yes
.endif
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../devel/SDL_ttf/buildlink3.mk"
.include "../../graphics/SDL_image/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../multimedia/smpeg/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"