summaryrefslogtreecommitdiff
path: root/emulators/openmsx
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2011-10-03 01:13:50 +0000
committerdholland <dholland@pkgsrc.org>2011-10-03 01:13:50 +0000
commit4c6c54ca2a865f6df3f7df5f03499b24ce5efdbd (patch)
treef952c6100736c168a381df1c760f01d4a18fc576 /emulators/openmsx
parent35db5585ea163e2e74ea2bcfcebfd5a8af2c2cbd (diff)
downloadpkgsrc-4c6c54ca2a865f6df3f7df5f03499b24ce5efdbd.tar.gz
Add REPLACE_PYTHON and a python dep for the installed python scripts.
PKGREVISION -> 5.
Diffstat (limited to 'emulators/openmsx')
-rw-r--r--emulators/openmsx/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/emulators/openmsx/Makefile b/emulators/openmsx/Makefile
index c2744176590..741485d747c 100644
--- a/emulators/openmsx/Makefile
+++ b/emulators/openmsx/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.26 2011/06/20 09:27:52 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2011/10/03 01:13:50 dholland Exp $
#
DISTNAME= openmsx-0.6.2
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openmsx/}
@@ -26,6 +26,9 @@ post-extract:
${ECHO_MSG} "OPENMSX_STRIP:=true" > \
${WRKSRC}/build/flavour-pkgsrc.mk
+REPLACE_PYTHON+= share/scripts/convert_hardwareconfig.py
+REPLACE_PYTHON+= share/scripts/convert_hardwareconfig2.py
+
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= post-patch
SUBST_FILES.prefix= build/custom.mk
@@ -44,6 +47,7 @@ INSTALL_MAKE_FLAGS+= OPENMSX_INSTALL=${DESTDIR}${PREFIX}/openmsx
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/openmsx.sh ${DESTDIR}${PREFIX}/bin/openmsx
+.include "../../lang/python/application.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/SDL_image/buildlink3.mk"