summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-misc/bsd-games/Manifest2
-rw-r--r--games-misc/bsd-games/bsd-games-2.17-r3.ebuild123
2 files changed, 0 insertions, 125 deletions
diff --git a/games-misc/bsd-games/Manifest b/games-misc/bsd-games/Manifest
index 88052d75bad3..181dd07c7fe3 100644
--- a/games-misc/bsd-games/Manifest
+++ b/games-misc/bsd-games/Manifest
@@ -8,8 +8,6 @@ AUX bsd-games-2.17-headers.patch 268 RMD160 cc0e97f981581c0635e549ce41d97549c2f7
AUX config.params-gentoo 1204 RMD160 2a76258f9da2641d0c2465d40dba461eb3a91452 SHA1 3cba205238ab8cb08347bff219fa66dedb376fca SHA256 74737471f9fa6a3f523d8e91af65a175cccfa94ce162eb8e5ecef08372047414
DIST bsd-games-2.17.tar.gz 2563311 RMD160 a8f9c829bb09dfa071ecafbd6cb15560dba888d8 SHA1 8e48a9808908e2898126fdd285196ab71c9a59c0 SHA256 066f924aef6c1c5ea946f588e36f303021f5dfc093944738f025d8edbc6fff60
DIST bsdgames_2.17-16.diff.gz 15897 RMD160 d40d9825b042deedff5ecb91f9ff3e4da43cda1b SHA1 4e68aec31f095dd10332e138f51c8fa541658fdf SHA256 e97f561ff2253bc4da422082ca1de0575855eb48cacbcabc83a3f8436992c683
-DIST bsdgames_2.17-7.diff.gz 12530 RMD160 4c213632111ac8035058214889fd9229723b9785 SHA1 e19b34faeea0941395e07d78e74939837f5aa70c SHA256 41b4b99ae96f1b42beb37818f377cc194ab4146fe845818e8d29663d4f52ff88
-EBUILD bsd-games-2.17-r3.ebuild 4123 RMD160 8543e73bfab8bfdff9bfe8d9d328bc2c75be143f SHA1 996da5ed1c330d858537c0ecf971a9e4b75a554e SHA256 e74c484319161d0980ff2881a913003d4138344bd94fcac30931ec97caa0514e
EBUILD bsd-games-2.17-r4.ebuild 4147 RMD160 c28e24751871cd36ac7d45bcd6d55c2e7aeec227 SHA1 ee6ca1c6c9847104d2f19771694c7ce6660c3a83 SHA256 8018ecaea2a670c8443d3646753d98a177d9801578d775d641ba4a0dc85fb7ac
MISC ChangeLog 6407 RMD160 1d9bcaf1bb477612ce3df0432b37440f6a20b4a2 SHA1 8080998f952d3361334670b74f7e4d256fa18559 SHA256 a93fe60f63816bfd6d663df6fd9a56d6737663b412f0b5b1c3e46245e5367d98
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-misc/bsd-games/bsd-games-2.17-r3.ebuild b/games-misc/bsd-games/bsd-games-2.17-r3.ebuild
deleted file mode 100644
index dadc55e2699d..000000000000
--- a/games-misc/bsd-games/bsd-games-2.17-r3.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r3.ebuild,v 1.8 2009/06/13 16:53:38 nyhm Exp $
-
-inherit eutils games
-
-DEB_PATCH_VER=7
-DESCRIPTION="collection of games from NetBSD"
-HOMEPAGE="http://www.advogato.org/proj/bsd-games/"
-SRC_URI="ftp://metalab.unc.edu/pub/Linux/games/${P}.tar.gz
- mirror://debian/pool/main/b/bsdgames/bsdgames_${PV}-${DEB_PATCH_VER}.diff.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="alpha amd64 ppc sparc x86"
-IUSE=""
-
-RDEPEND="!games-misc/wtf
- !app-misc/banner
- !games-board/ace
- sys-libs/ncurses
- sys-apps/miscfiles"
-DEPEND="${RDEPEND}
- sys-devel/flex
- sys-devel/bison"
-
-# Set GAMES_TO_BUILD variable to whatever you want
-export GAMES_TO_BUILD=${GAMES_TO_BUILD:=adventure arithmetic atc
-backgammon banner battlestar bcd boggle caesar canfield countmail cribbage
-dab dm factor fish gomoku hack hangman hunt mille monop morse
-number phantasia pig pom ppt primes quiz rain random robots sail snake
-tetris trek wargames worm worms wtf wump}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch \
- "${DISTDIR}"/bsdgames_${PV}-${DEB_PATCH_VER}.diff.gz \
- "${FILESDIR}"/${P}-64bit.patch \
- "${FILESDIR}"/${P}-headers.patch \
- "${FILESDIR}"/${P}-bg.patch \
- "${FILESDIR}"/${P}-gcc4.patch \
- "${FILESDIR}"/${P}-gcc43.patch \
- "${FILESDIR}"/${P}-glibc2.10.patch
-
- sed -i \
- -e "s:/usr/games:${GAMES_BINDIR}:" \
- wargames/wargames \
- || die "sed wargames failed"
-
- cp "${FILESDIR}"/config.params-gentoo config.params
- echo bsd_games_cfg_usrlibdir=\"$(games_get_libdir)\" >> ./config.params
- echo bsd_games_cfg_build_dirs=\"${GAMES_TO_BUILD}\" >> ./config.params
-}
-
-src_compile() {
- ./configure || die
- emake OPTIMIZE="${CFLAGS}" || die "emake failed"
-}
-
-src_test() {
- addwrite /dev/full
- emake -j1 check || die "make check failed"
-}
-
-build_game() {
- has ${1} ${GAMES_TO_BUILD}
-}
-
-do_statefile() {
- touch "${D}/${GAMES_STATEDIR}/${1}"
- chmod ug+rw "${D}/${GAMES_STATEDIR}/${1}"
-}
-
-src_install() {
- dodir "${GAMES_BINDIR}" "${GAMES_STATEDIR}" /usr/share/man/man{1,6}
- make DESTDIR="${D}" install || die "make install failed"
-
- dodoc AUTHORS BUGS ChangeLog ChangeLog.0 \
- README PACKAGING SECURITY THANKS TODO YEAR2000
-
- # set some binaries to run as games group (+S)
- build_game atc && fperms g+s "${GAMES_BINDIR}"/atc
- build_game battlestar && fperms g+s "${GAMES_BINDIR}"/battlestar
- build_game canfield && fperms g+s "${GAMES_BINDIR}"/canfield
- build_game cribbage && fperms g+s "${GAMES_BINDIR}"/cribbage
- build_game phantasia && fperms g+s "${GAMES_BINDIR}"/phantasia
- build_game robots && fperms g+s "${GAMES_BINDIR}"/robots
- build_game sail && fperms g+s "${GAMES_BINDIR}"/sail
- build_game snake && fperms g+s "${GAMES_BINDIR}"/snake
- build_game tetris && fperms g+s "${GAMES_BINDIR}"/tetris-bsd
-
- # state files
- build_game atc && do_statefile atc_score
- build_game battlestar && do_statefile battlestar.log
- build_game canfield && do_statefile cfscores
- build_game cribbage && do_statefile criblog
- build_game hack && keepdir "${GAMES_STATEDIR}"/hack
- build_game robots && do_statefile robots_roll
- build_game sail && do_statefile saillog
- build_game snake && do_statefile snake.log && do_statefile snakerawscores
- build_game tetris && do_statefile tetris-bsd.scores
- # state dirs
- chmod -R ug+rw "${D}/${GAMES_STATEDIR}"/*
-
- # extra docs
- build_game atc && { docinto atc ; dodoc atc/BUGS; }
- build_game boggle && { docinto boggle ; dodoc boggle/README{,.linux}; }
- build_game hack && { docinto hack ; dodoc hack/{OWNER,Original_READ_ME,READ_ME,help}; }
- build_game hunt && { docinto hunt ; dodoc hunt/README{,.linux}; }
- build_game phantasia && { docinto phantasia ; dodoc phantasia/{OWNER,README}; }
- build_game trek && { docinto trek ; dodoc trek/USD.doc/trek.me; }
-
- # Since factor is usually not installed, and primes.6 is a symlink to
- # factor.6, make sure that primes.6 is ok ...
- if build_game primes && [[ ! $(build_game factor) ]] ; then
- rm -f "${D}"/usr/share/man/man6/{factor,primes}.6
- newman factor/factor.6 primes.6
- fi
-
- prepalldocs
- prepgamesdirs
-}