diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-30 01:53:54 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-30 01:53:54 +0800 |
commit | 42e1d052cd9d135da30fd4ece32cdb15f0c377ca (patch) | |
tree | 9d3d88d541265db7cc93238d8a5384c0037debeb /games/childsplay | |
parent | d759a2a0c7e333a2ca526e94875dbeac5feeeef3 (diff) | |
download | marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar.gz marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar.bz2 marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar.lz marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar.xz marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar.zst marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.zip |
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9256 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'games/childsplay')
-rw-r--r-- | games/childsplay/Makefile | 41 | ||||
-rw-r--r-- | games/childsplay/distinfo | 3 | ||||
-rw-r--r-- | games/childsplay/files/patch-INSTALL.sh | 97 | ||||
-rw-r--r-- | games/childsplay/files/patch-Makefile | 10 | ||||
-rw-r--r-- | games/childsplay/files/patch-pyassetmlSDL.py | 13 | ||||
-rw-r--r-- | games/childsplay/pkg-descr | 8 | ||||
-rw-r--r-- | games/childsplay/pkg-plist | 169 |
7 files changed, 341 insertions, 0 deletions
diff --git a/games/childsplay/Makefile b/games/childsplay/Makefile new file mode 100644 index 000000000..cb746b2b3 --- /dev/null +++ b/games/childsplay/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: pyassetml +# Date created: 6 July 2004 +# Whom: bruno +# +# $FreeBSD$ +# + +PORTNAME= childsplay +PORTVERSION= 0.80.2 +PORTREVISION= 4 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= childsplay +EXTRACT_SUFX= .tgz + +MAINTAINER= bruno@tinkerbox.org +COMMENT= Educative games for children + +BUILD_DEPENDS= ${LOCALBASE}/include/${PYTHON_VERSION}/pygame/pygame.h:${PORTSDIR}/devel/py-game +RUN_DEPENDS= ${LOCALBASE}/include/${PYTHON_VERSION}/pygame/pygame.h:${PORTSDIR}/devel/py-game +LIB_DEPENDS= assetml.0:${PORTSDIR}/devel/libassetml + +USE_PYTHON= yes +NO_BUILD= yes + +# avoid asking for translation to your local language on install +MAKE_ENV= LANG=C + +MAN6= childsplay.6 letters-trans.6 +MANCOMPRESSED= yes + +post-patch: + @${REINPLACE_CMD} -e "s@PREFIX=/usr/local@PREFIX=${PREFIX}@g " ${WRKSRC}/INSTALL.sh + @${REINPLACE_CMD} -e "s@ASSETMLROOT = '/usr/local@ASSETMLROOT= '${PREFIX}@g" ${WRKSRC}/pyassetml.py + @${REINPLACE_CMD} -e "s@PREFIX=/usr/local@PREFIX=${PREFIX}@g" ${WRKSRC}/cleanup.sh + @${REINPLACE_CMD} -e "s@/usr/local/lib/games@${PREFIX}@g" ${WRKSRC}/childsplay.sh + +post-build: + @${FIND} ${WRKSRC} -name *.orig -delete + +.include <bsd.port.mk> diff --git a/games/childsplay/distinfo b/games/childsplay/distinfo new file mode 100644 index 000000000..4e114f923 --- /dev/null +++ b/games/childsplay/distinfo @@ -0,0 +1,3 @@ +MD5 (childsplay-0.80.2.tgz) = e3719de335da8260756d8f713560c6ac +SHA256 (childsplay-0.80.2.tgz) = b8d240b8527327adbdeb8c9d2b7e5ecb0ee0461f02905b2d724a39af1e59ead2 +SIZE (childsplay-0.80.2.tgz) = 1169198 diff --git a/games/childsplay/files/patch-INSTALL.sh b/games/childsplay/files/patch-INSTALL.sh new file mode 100644 index 000000000..53330f1d1 --- /dev/null +++ b/games/childsplay/files/patch-INSTALL.sh @@ -0,0 +1,97 @@ +--- INSTALL.sh.orig Wed Apr 20 10:57:03 2005 ++++ INSTALL.sh Wed Apr 20 11:02:16 2005 +@@ -1,5 +1,5 @@ +-#!/bin/bash ++#!/bin/sh + # install childsplay. + # Be aware that childsplay probably won't work when you edit this file :-( + # As of 11/2004 childsplay will be converted to follow the File System + # Hierarchy (FSH). +@@ -21,16 +21,15 @@ + PYTHON=`which python` + + EXECDIR=$PREFIX/bin + LOCALEDIR=$PREFIX/share/locale +-ASSETMLDIR=/usr/share/assetml ++ASSETMLDIR=$PREFIX/share/assetml + SCOREDIR=/var/games + SCOREFILE=$SCOREDIR/childsplay.score + DOCDIR=$PREFIX/share/doc/childsplay + MANDIR=$PREFIX/man/man6 +-CPDIR=$PREFIX/lib/games/childsplay ++CPDIR=$PREFIX/childsplay + SHAREDIR=$PREFIX/share/childsplay +-BINDIR=$PREFIX/games + LIBDIR=$CPDIR/lib + MODULESDIR=$LIBDIR + SHARELIBDATADIR=$SHAREDIR/lib + SHAREDATADIR=$SHAREDIR/Data +@@ -38,10 +37,8 @@ + + HOME_DIR_NAME=.childsplay + CHILDSPLAYRC=childsplayrc + +-OLDCPDIR=$PREFIX/games/childsplay +- + echo "Making directorys" + mkdir -vp $CPDIR + mkdir -vp $CPDIR/lib + mkdir -vp $DOCDIR +@@ -51,9 +48,8 @@ + mkdir -vp $MANDIR + mkdir -vp $SHAREDIR + mkdir -vp $SHAREDATADIR + mkdir -vp $SHARELIBDATADIR +-mkdir -vp $BINDIR + mkdir -vp $EXECDIR + + set -e + +@@ -63,13 +59,8 @@ + echo " You must be root to install the plugins" + echo " exit" + exit 1 + fi +-echo " Looking for obsolete childsplay files in $OLDCPDIR" +-if [ -e $OLDCPDIR ] && [ -d $OLDCPDIR ] +-then rm -fr $OLDCPDIR +- echo " Old files removed" +-fi + + echo -e "\n>>>>>>>>>>> Install childsplay >>>>>>>>>>>>>>>>>>>>" + echo " Installing in $PREFIX" + +@@ -113,22 +105,14 @@ + echo " Copy docs" + cp -rf $CWD/doc/* $DOCDIR/ + + echo " Copy executable and setting permissions." +-cp -f $CWD/childsplay.sh $BINDIR/childsplay + cp -f $CWD/childsplay.sh $EXECDIR/childsplay +-chmod +x $BINDIR/childsplay + chmod +x $EXECDIR/childsplay + + chmod +x $CPDIR/childsplay.py + chmod +x $CPDIR/letters-trans.py + +-#echo " Looking for the old executable, if any" +-#if [ -e /usr/local/bin/childsplay ] +-#then rm -f /usr/local/bin/childsplay +-# echo "found and removed" +-#fi +- + echo " Setting the base path in childsplay to $PREFIX" + echo "## Automated file please do not edit" > $CPDIR/BASEPATH.py + echo "BASEPATH=\"$PREFIX\"" >> $CPDIR/BASEPATH.py + echo "EXECDIR=\"$EXECDIR\"" >> $CPDIR/BASEPATH.py +@@ -157,9 +141,9 @@ + echo "" + echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" + echo " One thing left todo..." + echo " Translating words" +-$PYTHON $CPDIR/letters-trans.py $ASSETMLDIR ++echo " to translate words run: $PYTHON $CPDIR/letters-trans.py $ASSETMLDIR" + echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" + echo " Be sure to read the README-MEMORY file on how you can" + echo " use your own pictures in the memory game." + echo "" diff --git a/games/childsplay/files/patch-Makefile b/games/childsplay/files/patch-Makefile new file mode 100644 index 000000000..ec4ca1856 --- /dev/null +++ b/games/childsplay/files/patch-Makefile @@ -0,0 +1,10 @@ +--- Makefile.orig Sat May 7 23:13:35 2005 ++++ Makefile Sat May 7 23:15:11 2005 +@@ -0,0 +1,7 @@ ++PYTHON = /usr/bin/env python ++ ++install: ++ ./INSTALL.sh ++ @echo "Compiling modules to bytecode..." ++ @$(PYTHON) install.py --compile ${PREFIX}/childsplay ++ @$(PYTHON) install.py --compile ${PREFIX}/childsplay/lib diff --git a/games/childsplay/files/patch-pyassetmlSDL.py b/games/childsplay/files/patch-pyassetmlSDL.py new file mode 100644 index 000000000..1c446f853 --- /dev/null +++ b/games/childsplay/files/patch-pyassetmlSDL.py @@ -0,0 +1,13 @@ +--- pyassetmlSDL.py.orig Wed Apr 20 11:41:47 2005 ++++ pyassetmlSDL.py Wed Apr 20 11:42:32 2005 +@@ -76,8 +76,10 @@ + pygame.mixer.music.load(self.s) + pygame.mixer.music.play(loop) + def stop(self): + pygame.mixer.music.stop() ++ def queue(self): ++ pygame.mixer.music.queue(self.s) + + class NoneSound: + def play(self,loop=0): + pass diff --git a/games/childsplay/pkg-descr b/games/childsplay/pkg-descr new file mode 100644 index 000000000..25c49954f --- /dev/null +++ b/games/childsplay/pkg-descr @@ -0,0 +1,8 @@ +Childsplay is a 'suite' of educational games for young children, like gcompris, +but without the overkill of GNOME environment. Also the use of the SDL +libraries makes smooth animation and the playing of sound very easy. +Childsplay uses a plugin system for the games, so you might want to check the +childsplay-plugins page. (There are two built-in games; Memory and a typing +game) + +WWW: http://childsplay.sourceforge.net diff --git a/games/childsplay/pkg-plist b/games/childsplay/pkg-plist new file mode 100644 index 000000000..a1e1ba07f --- /dev/null +++ b/games/childsplay/pkg-plist @@ -0,0 +1,169 @@ +bin/childsplay +childsplay/lib/letters.py +childsplay/lib/letters.pyc +childsplay/lib/memory.py +childsplay/lib/memory.pyc +childsplay/CPConstants.py +childsplay/utils.py +childsplay/splash.py +childsplay/pyassetmlcreator.py +childsplay/pyassetmlSDL.py +childsplay/pyassetml.py +childsplay/out.py +childsplay/letters-trans.py +childsplay/install.py +childsplay/childsplay.py +childsplay/Timer.py +childsplay/SpriteUtils.py +childsplay/ConfParser.py +childsplay/CPMenu.py +childsplay/version.py +childsplay/CPConstants.pyc +childsplay/utils.pyc +childsplay/splash.pyc +childsplay/pyassetmlcreator.pyc +childsplay/pyassetmlSDL.pyc +childsplay/out.pyc +childsplay/pyassetml.pyc +childsplay/letters-trans.pyc +childsplay/install.pyc +childsplay/childsplay.pyc +childsplay/Timer.pyc +childsplay/SpriteUtils.pyc +childsplay/ConfParser.pyc +childsplay/CPMenu.pyc +childsplay/version.pyc +childsplay/BASEPATH.py +childsplay/BASEPATH.pyc +share/doc/childsplay/po/fr/childsplay.po +share/doc/childsplay/po/de/childsplay.po +share/doc/childsplay/po/de/new_de.po +share/doc/childsplay/po/de/.#childsplay.po.1.2 +share/doc/childsplay/po/es/childsplay.po +share/doc/childsplay/po/es/new_es.po +share/doc/childsplay/po/wordlist/words-de.gz +share/doc/childsplay/po/wordlist/words-en.gz +share/doc/childsplay/po/wordlist/words-fr.gz +share/doc/childsplay/po/wordlist/words-nl.gz +share/doc/childsplay/po/wordlist/README.gz +share/doc/childsplay/po/wordlist/words-esp.gz +share/doc/childsplay/po/da/childsplay.po +share/doc/childsplay/po/da/new_da.po +share/doc/childsplay/po/nl/childsplay.po +share/doc/childsplay/po/tr/childsplay.po +share/doc/childsplay/po/tr/new_tr.po +share/doc/childsplay/po/it/childsplay.po +share/doc/childsplay/po/childsplay_0.72.pot +share/doc/childsplay/copyright +share/doc/childsplay/README.rc-files +share/doc/childsplay/README.develop +share/doc/childsplay/GPL-2 +share/doc/childsplay/Changelog +share/doc/childsplay/README.games-module +share/locale/da/LC_MESSAGES/childsplay.mo +share/locale/de/LC_MESSAGES/childsplay.mo +share/locale/es/LC_MESSAGES/childsplay.mo +share/locale/fr/LC_MESSAGES/childsplay.mo +share/locale/it/LC_MESSAGES/childsplay.mo +share/locale/nl/LC_MESSAGES/childsplay.mo +share/assetml/childsplay/childsplay-images/po/Translation.raw +share/assetml/childsplay/childsplay-images/bluebold.ttf +share/assetml/childsplay/childsplay-images/OK_but.png +share/assetml/childsplay/childsplay-images/question1.png +share/assetml/childsplay/childsplay-images/bullpen3.ttf +share/assetml/childsplay/childsplay-images/firework1.png +share/assetml/childsplay/childsplay-images/firework2.png +share/assetml/childsplay/childsplay-images/chpl-icon-48-flat.png +share/assetml/childsplay/childsplay-images/cowsplash.png +share/assetml/childsplay/childsplay-images/blue.jpg +share/assetml/childsplay/childsplay-images/tux.png +share/assetml/childsplay/childsplay-images/pointer.png +share/assetml/childsplay/childsplay-images/arrow.png +share/assetml/childsplay/childsplay-images/bluehigh.ttf +share/assetml/childsplay/childsplay-images/cowsplash-load.png +share/assetml/childsplay/childsplay-images/childsplay-images.assetml +share/assetml/childsplay/childsplay-images/land.png +share/assetml/childsplay/childsplay-images/MORE_but.png +share/assetml/childsplay/childsplay-images/balloonsl.png +share/assetml/childsplay/childsplay-images/balloonsr.png +share/assetml/childsplay/childsplay-images/stop.png +share/assetml/childsplay/childsplay-images/hscore.png +share/assetml/childsplay/childsplay-images/chpl-icon-48.png +share/assetml/childsplay/childsplay-images/chpl-icon-48.xpm +share/assetml/childsplay/memory-136x136/po/es.po +share/assetml/childsplay/memory-136x136/po/fr.po +share/assetml/childsplay/memory-136x136/po/nl.po +share/assetml/childsplay/memory-136x136/po/memory-136x136.pot +share/assetml/childsplay/memory-136x136/tree.png +share/assetml/childsplay/memory-136x136/plane.png +share/assetml/childsplay/memory-136x136/apple.png +share/assetml/childsplay/memory-136x136/bread.png +share/assetml/childsplay/memory-136x136/dog.png +share/assetml/childsplay/memory-136x136/bear.png +share/assetml/childsplay/memory-136x136/fish.png +share/assetml/childsplay/memory-136x136/monkey.png +share/assetml/childsplay/memory-136x136/boat.png +share/assetml/childsplay/memory-136x136/memory-136x136.assetml +share/assetml/childsplay/memory-136x136/car.png +share/assetml/childsplay/memory-136x136/grapes.png +share/assetml/childsplay/memory-136x136/lion.png +share/assetml/childsplay/childsplay-sounds/po/nl.po +share/assetml/childsplay/childsplay-sounds/po/Translation.raw +share/assetml/childsplay/childsplay-sounds/bummer.wav +share/assetml/childsplay/childsplay-sounds/childsplay-sounds.assetml +share/assetml/childsplay/childsplay-sounds/level_clear.wav +share/assetml/childsplay/childsplay-sounds/rocket.wav +share/assetml/childsplay/childsplay-sounds/wahoo.wav +share/assetml/childsplay/childsplay-sounds/cows.ogg +share/assetml/childsplay/childsplay-sounds/Winner2.ogg +share/assetml/childsplay/childsplay-sounds/music1.ogg +share/assetml/childsplay/childsplay-sounds/dealcard1.wav +share/assetml/childsplay/childsplay-sounds/boom.wav +share/childsplay/Data/bluebold.ttf +share/childsplay/Data/bluehigh.ttf +share/childsplay/Data/boom.wav +share/childsplay/Data/bullpen3.ttf +share/childsplay/Data/bummer.wav +share/childsplay/Data/childsplay.ico +share/childsplay/Data/childsplay.score +share/childsplay/Data/chpl-icon-48-flat.png +share/childsplay/Data/chpl-icon-48.png +share/childsplay/Data/chpl-icon-48.xpm +share/childsplay/Data/cows.ogg +share/childsplay/Data/cowsplash-load.png +share/childsplay/Data/cowsplash.png +share/childsplay/Data/pointer_mask.xbm +share/childsplay/Data/wahoo.wav +share/childsplay/Data/icons/letters.icon.png +share/childsplay/Data/icons/memory.icon.png +share/childsplay/Data/childsplay.score.org +share/childsplay/lib/ConfigData/childsplayrc +share/childsplay/lib/MemoryData/cardfront.png +share/childsplay/lib/MemoryData/cardback.png +@dirrm childsplay/lib +@dirrm childsplay +@dirrm share/doc/childsplay/po/fr +@dirrm share/doc/childsplay/po/de +@dirrm share/doc/childsplay/po/es +@dirrm share/doc/childsplay/po/wordlist +@dirrm share/doc/childsplay/po/da +@dirrm share/doc/childsplay/po/nl +@dirrm share/doc/childsplay/po/tr +@dirrm share/doc/childsplay/po/it +@dirrm share/doc/childsplay/po +@dirrm share/doc/childsplay +@dirrm share/assetml/childsplay/childsplay-images/po +@dirrm share/assetml/childsplay/childsplay-images +@dirrm share/assetml/childsplay/memory-136x136/po +@dirrm share/assetml/childsplay/memory-136x136 +@dirrm share/assetml/childsplay/childsplay-sounds/po +@dirrm share/assetml/childsplay/childsplay-sounds +@dirrm share/assetml/childsplay +@dirrm share/childsplay/Data/icons +@dirrm share/childsplay/Data +@dirrm share/childsplay/lib/ConfigData +@dirrm share/childsplay/lib/MemoryData +@dirrm share/childsplay/lib +@dirrm share/childsplay +@cwd / +var/games/childsplay.score |