diff options
author | minskim <minskim> | 2006-01-26 03:26:12 +0000 |
---|---|---|
committer | minskim <minskim> | 2006-01-26 03:26:12 +0000 |
commit | e4bda8dff6e54367a4dc13b9400e64a5a61efc6a (patch) | |
tree | 66c4ae147e26864436c80340f701d6ed62934522 /games/blindmine/Makefile | |
parent | 95d134f9cfa5a1652af2b01a87682ac0f85d3311 (diff) | |
download | pkgsrc-e4bda8dff6e54367a4dc13b9400e64a5a61efc6a.tar.gz |
Update blindmine to 0.3. Patches provided by the maintainer,
Yi Min-Cheol, in PR pkg/32504.
Changes:
- Change key bindings.
- Resample sound.
Diffstat (limited to 'games/blindmine/Makefile')
-rw-r--r-- | games/blindmine/Makefile | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/games/blindmine/Makefile b/games/blindmine/Makefile index f8429d5f03b..367defb826e 100644 --- a/games/blindmine/Makefile +++ b/games/blindmine/Makefile @@ -1,34 +1,34 @@ -# $NetBSD: Makefile,v 1.2 2005/12/11 09:40:40 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2006/01/26 03:26:12 minskim Exp $ # -DISTNAME= blindmine-0.01 -PKGREVISION= 1 -CATEGORIES= games python -MASTER_SITES= http://kldp.net/frs/download.php/1378/ -EXTRACT_SUFX= .zip +DISTNAME= blindmine-0.3-src +PKGNAME= ${DISTNAME:S/-src//} +CATEGORIES= games python +MASTER_SITES= http://kldp.net/frs/download.php/3097/ +EXTRACT_SUFX= .zip -MAINTAINER= fox9@netb.co.kr -HOMEPAGE= http://blindmine.kldp.net/ -COMMENT= Minesweeper clone that you can play with your eyes closed +MAINTAINER= fox9@netb.co.kr +HOMEPAGE= http://blindmine.kldp.net/ +COMMENT= Minesweeper clone that you can play with your eyes closed -WRKSRC= ${WRKDIR} -NO_CONFIGURE= yes -NO_BUILD= yes +WRKSRC= ${WRKDIR}/${PKGBASE} +NO_CONFIGURE= yes +NO_BUILD= yes -SUBST_CLASSES+= path -SUBST_MESSAGE.path= "Fixing paths." -SUBST_STAGE.path= post-patch -SUBST_FILES.path= dist/pysweeper.py dist/sdl_ui.py -SUBST_SED.path= -e 's,/usr/bin/env python,${PYTHONBIN},g' +SUBST_CLASSES+= path +SUBST_MESSAGE.path= "Fixing paths." +SUBST_STAGE.path= post-patch +SUBST_FILES.path= blindmine.py sdl_ui.py +SUBST_SED.path= -e 's,/usr/bin/env python,${PYTHONBIN},g' -PYCOMPILEALL= ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py +PYCOMPILEALL= ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py .include "../../devel/py-game/buildlink3.mk" .include "../../lang/python/application.mk" post-extract: ( ${ECHO} "#!${SH}"; \ - ${ECHO} "cd ${PREFIX}/share/${PKGBASE} && ${PYTHONBIN} pysweeper.py > /dev/null" \ + ${ECHO} "cd ${PREFIX}/share/${PKGBASE} && ${PYTHONBIN} blindmine.py > /dev/null" \ ) > ${WRKSRC}/blindmine ${CHMOD} +x ${WRKSRC}/blindmine @@ -37,9 +37,9 @@ do-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/howto.txt ${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA_DIR} ${PREFIX}/share/${PKGBASE} - ${INSTALL_DATA} ${WRKSRC}/dist/*.py ${PREFIX}/share/${PKGBASE} + ${INSTALL_DATA} ${WRKSRC}/*.py ${PREFIX}/share/${PKGBASE} ${INSTALL_DATA_DIR} ${PREFIX}/share/${PKGBASE}/data - ${INSTALL_DATA} ${WRKSRC}/dist/data/* ${PREFIX}/share/${PKGBASE}/data + ${INSTALL_DATA} ${WRKSRC}/data/* ${PREFIX}/share/${PKGBASE}/data ${PYTHONBIN} ${PYCOMPILEALL} ${PREFIX}/share/${PKGBASE} ${PYTHONBIN} -O ${PYCOMPILEALL} ${PREFIX}/share/${PKGBASE} |