diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 04:51:18 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 04:51:18 +0000 |
commit | 0dc29cff4e12fae2eb0bb948a091d22786338b91 (patch) | |
tree | da3c11db9af34b511ce87e070777fe85e97ed2b9 /games-kids/childsplay | |
parent | repoman: fix leading whitespace (diff) | |
download | historical-0dc29cff4e12fae2eb0bb948a091d22786338b91.tar.gz historical-0dc29cff4e12fae2eb0bb948a091d22786338b91.tar.bz2 historical-0dc29cff4e12fae2eb0bb948a091d22786338b91.zip |
hello kiddies
Diffstat (limited to 'games-kids/childsplay')
-rw-r--r-- | games-kids/childsplay/ChangeLog | 9 | ||||
-rw-r--r-- | games-kids/childsplay/Manifest | 3 | ||||
-rw-r--r-- | games-kids/childsplay/childsplay-0.68.ebuild | 66 | ||||
-rw-r--r-- | games-kids/childsplay/files/digest-childsplay-0.68 | 2 |
4 files changed, 80 insertions, 0 deletions
diff --git a/games-kids/childsplay/ChangeLog b/games-kids/childsplay/ChangeLog new file mode 100644 index 000000000000..0a75f318e817 --- /dev/null +++ b/games-kids/childsplay/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for app-games/childsplay +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-kids/childsplay/ChangeLog,v 1.1 2003/09/10 04:51:18 vapier Exp $ + +*childsplay-0.68 (02 Sep 2003) + + 02 Sep 2003; Michael Sterrett <msterret@gentoo.org> childsplay-0.68.ebuild: + initial commit. ebuild by Shane Hathaway via bug 27832 + diff --git a/games-kids/childsplay/Manifest b/games-kids/childsplay/Manifest new file mode 100644 index 000000000000..ce3a9dd9adeb --- /dev/null +++ b/games-kids/childsplay/Manifest @@ -0,0 +1,3 @@ +MD5 22235848bb3618e954db75453988beb2 childsplay-0.68.ebuild 1863 +MD5 6a2b470da52575f4a08219babeccd1a2 ChangeLog 393 +MD5 7e7bc205f4a7282fd68860abff52d7bf files/digest-childsplay-0.68 143 diff --git a/games-kids/childsplay/childsplay-0.68.ebuild b/games-kids/childsplay/childsplay-0.68.ebuild new file mode 100644 index 000000000000..576078f2ce7f --- /dev/null +++ b/games-kids/childsplay/childsplay-0.68.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. and Shane Hathaway +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-kids/childsplay/childsplay-0.68.ebuild,v 1.1 2003/09/10 04:51:18 vapier Exp $ + +inherit games + +DESCRIPTION="A suite of educational games for young children" +SRC_URI="mirror://sourceforge/childsplay/${P}.tar.gz + mirror://sourceforge/childsplay/${PN}-plugins-${PV}.tar.gz" +HOMEPAGE="http://childsplay.sourceforge.net" + +LICENSE="GPL-2" +KEYWORDS="x86" +IUSE="" +SLOT="0" + +DEPEND=">=dev-lang/python-2.1 + >=dev-python/pygame-1.4 + media-libs/sdl-image + media-libs/sdl-ttf + media-libs/sdl-mixer" + +src_unpack() { + # Move the plugins into the main package. + unpack ${A} + PLUGINS=${PN}-plugins-${PV} + cp -r ${PLUGINS}/Data/* ${P}/Data + cp -r ${PLUGINS}/Lib/* ${P}/lib # Note "Lib" vs. "lib" + cp -r ${PLUGINS}/locale/* ${P}/locale +} + +src_compile() { + python -c "import compileall; compileall.compile_dir('.')" + cp -r lib/MemoryData lib/LettersData +# Fix a locale-related bug. On some systems, the locale is "C". + ln -s words-en lib/PackidData/words-C +} + +src_install() { + MYDATA=${GAMES_DATADIR}/childsplay + MYSCORE=${GAMES_STATEDIR}/childsplay-scores + + dodir ${MYDATA} + dodir ${GAMES_STATEDIR} + dodir ${GAMES_BINDIR} + dodir /usr/share/locale + + # Copy files, moving the scores file in the state directory + # (usually /var/games). + cp -r *.py *.py[co] Data lib ${D}/${MYDATA} + mv -f ${D}/${MYDATA}/Data/score ${D}/${MYSCORE} + ln -sf ${MYSCORE} ${D}/${MYDATA}/Data/score + cp -r locale/* ${D}/usr/share/locale + doman man/childsplay.6.gz + dodoc doc/README* doc/changelog.text doc/copyright + + # Make a launcher. + LAUNCHER="${D}${GAMES_BINDIR}/childsplay" + echo "#!/bin/sh" > $LAUNCHER + echo "python ${MYDATA}/childsplay.py \$*" >> $LAUNCHER + chmod +x $LAUNCHER + + prepgamesdirs + fperms 664 ${MYSCORE} +} + diff --git a/games-kids/childsplay/files/digest-childsplay-0.68 b/games-kids/childsplay/files/digest-childsplay-0.68 new file mode 100644 index 000000000000..664d5af2dcf3 --- /dev/null +++ b/games-kids/childsplay/files/digest-childsplay-0.68 @@ -0,0 +1,2 @@ +MD5 884623e3e443072c3143f79b0cae3ca1 childsplay-0.68.tar.gz 1073230 +MD5 b4d9993e2c57f226354c77e4129ed3b4 childsplay-plugins-0.68.tar.gz 477514 |