pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/blindmine Update blindmine to 0.3. Patches prov...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/71916550a769
branches:  trunk
changeset: 507089:71916550a769
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Thu Jan 26 03:26:12 2006 +0000

description:
Update blindmine to 0.3.  Patches provided by the maintainer,
Yi Min-Cheol, in PR pkg/32504.

Changes:
- Change key bindings.
- Resample sound.

diffstat:

 games/blindmine/Makefile |  42 +++++++++++++++++++++---------------------
 games/blindmine/PLIST    |  29 +++++++++++++++++++++--------
 games/blindmine/distinfo |   8 ++++----
 3 files changed, 46 insertions(+), 33 deletions(-)

diffs (150 lines):

diff -r a875ad5b1f51 -r 71916550a769 games/blindmine/Makefile
--- a/games/blindmine/Makefile  Thu Jan 26 02:00:15 2006 +0000
+++ b/games/blindmine/Makefile  Thu Jan 26 03:26:12 2006 +0000
@@ -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@localhost
-HOMEPAGE=          http://blindmine.kldp.net/
-COMMENT=           Minesweeper clone that you can play with your eyes closed
+MAINTAINER=    fox9%netb.co.kr@localhost
+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 @@
        ${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}
 
diff -r a875ad5b1f51 -r 71916550a769 games/blindmine/PLIST
--- a/games/blindmine/PLIST     Thu Jan 26 02:00:15 2006 +0000
+++ b/games/blindmine/PLIST     Thu Jan 26 03:26:12 2006 +0000
@@ -1,10 +1,14 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/07/20 21:23:52 minskim Exp $
+@comment $NetBSD: PLIST,v 1.2 2006/01/26 03:26:12 minskim Exp $
 bin/blindmine
+share/blindmine/blindmine.py
+share/blindmine/blindmine.pyc
+share/blindmine/blindmine.pyo
 share/blindmine/data/-1.wav
-share/blindmine/data/-2.wav
 share/blindmine/data/0.wav
 share/blindmine/data/1.wav
 share/blindmine/data/10.wav
+share/blindmine/data/100.wav
+share/blindmine/data/1000.wav
 share/blindmine/data/2.wav
 share/blindmine/data/3.wav
 share/blindmine/data/4.wav
@@ -16,11 +20,12 @@
 share/blindmine/data/bad.wav
 share/blindmine/data/comma.wav
 share/blindmine/data/current_position.wav
-share/blindmine/data/developer.wav
+share/blindmine/data/elapsed_time.wav
 share/blindmine/data/flag2.xpm
+share/blindmine/data/flagged.wav
+share/blindmine/data/howto.ogg
 share/blindmine/data/howto.wav
 share/blindmine/data/invalid.wav
-share/blindmine/data/marked.wav
 share/blindmine/data/mine.wav
 share/blindmine/data/mine2.xpm
 share/blindmine/data/n0.wav
@@ -44,20 +49,28 @@
 share/blindmine/data/number_of_mines.wav
 share/blindmine/data/object.wav
 share/blindmine/data/open.wav
-share/blindmine/data/opening.wav
+share/blindmine/data/opening.ogg
 share/blindmine/data/openmany.wav
 share/blindmine/data/out.wav
+share/blindmine/data/second.wav
 share/blindmine/data/sweep.wav
+share/blindmine/data/toolongtime.wav
 share/blindmine/data/underconstruction.wav
 share/blindmine/data/unflagged.wav
 share/blindmine/data/unknown.wav
 share/blindmine/data/won.wav
-share/blindmine/pysweeper.py
-share/blindmine/pysweeper.pyc
-share/blindmine/pysweeper.pyo
+share/blindmine/game.py
+share/blindmine/game.pyc
+share/blindmine/game.pyo
 share/blindmine/sdl_ui.py
 share/blindmine/sdl_ui.pyc
 share/blindmine/sdl_ui.pyo
+share/blindmine/setup1.py
+share/blindmine/setup1.pyc
+share/blindmine/setup1.pyo
+share/blindmine/util.py
+share/blindmine/util.pyc
+share/blindmine/util.pyo
 share/doc/blindmine/howto.txt
 @dirrm share/doc/blindmine
 @dirrm share/blindmine/data
diff -r a875ad5b1f51 -r 71916550a769 games/blindmine/distinfo
--- a/games/blindmine/distinfo  Thu Jan 26 02:00:15 2006 +0000
+++ b/games/blindmine/distinfo  Thu Jan 26 03:26:12 2006 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/07/20 21:23:52 minskim Exp $
+$NetBSD: distinfo,v 1.2 2006/01/26 03:26:12 minskim Exp $
 
-SHA1 (blindmine-0.01.zip) = d375f43a1cb91880bebcf9f8d8024281307665a0
-RMD160 (blindmine-0.01.zip) = 409b77a45eb681d9c5db2d990f7422c8ac4133a0
-Size (blindmine-0.01.zip) = 8792104 bytes
+SHA1 (blindmine-0.3-src.zip) = 4a026ec1e0e03c44e0980504dac49ae83fbfb9fb
+RMD160 (blindmine-0.3-src.zip) = a50a2e2d67ebe6ffbd7e08be432fa46f65f23f6c
+Size (blindmine-0.3-src.zip) = 4907878 bytes



Home | Main Index | Thread Index | Old Index