+++ /dev/null
-DIST bsd-games-non-free-2.17.tar.gz 181134 SHA256 912a9253791ec9748dc49ab6cf7aacf417483c50ee04db57ed6d5dca110cb563 SHA512 6648579edbfb2e028d1b096d25d9c00abfafe4db8fc5e51688e6d03853f457d473b3d10bd1388b425227b6196e0e88fb258c5714896647e74b85db86a3715db0 WHIRLPOOL b8b6b29ffce19b7a34e6d8a606d88a83785128e7aaf33927a9dca5b0931ca527ca5079eb75c78a24a47f0c3f33e1c83adbcbcc1d060da9998e323dc686f407e1
+++ /dev/null
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit games
-
-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"
-
-# See /usr/share/doc/${P}/CHANGES.rogue
-LICENSE="|| ( BSD free-noncomm )"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE=""
-
-RDEPEND="sys-libs/ncurses"
-DEPEND="${RDEPEND}
- sys-devel/bison
- sys-devel/flex"
-
-# Set GAMES_TO_BUILD variable to whatever you want
-export GAMES_TO_BUILD=${GAMES_TO_BUILD:="rogue"}
-
-src_prepare() {
- sed -i \
- -e '/^CC :/d' \
- -e '/^CXX :/d' \
- Makeconfig.in \
- || die "sed failed"
- cp "${FILESDIR}"/config.params-gentoo config.params || die "cp failed"
- echo bsd_games_cfg_usrlibdir=\"$(games_get_libdir)\" >> ./config.params
- echo bsd_games_cfg_build_dirs=\"${GAMES_TO_BUILD}\" >> ./config.params
-}
-
-src_configure() {
- ./configure || die
-}
-
-src_compile() {
- emake OPTIMIZE="${CFLAGS}" LDFLAGS="${LDFLAGS}"
-}
-
-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"
- rm -rf "${D}"/usr/share/doc/bsd-games || die "Remove failed"
-
- dodoc AUTHORS BUGS ChangeLog ChangeLog.0 NEWS \
- PACKAGING README README.non-free SECURITY THANKS TODO YEAR2000 \
- bsd-games-non-free.lsm
-
- # state files
- build_game rogue && do_statefile rogue.scores
-
- # extra docs
- build_game rogue && { docinto rogue ; dodoc rogue/{CHANGES,USD.doc/rogue.me}; }
-
- prepgamesdirs
-}
+++ /dev/null
-
-# This file is read by configure for the Gentoo ebuild
-
-# Don't run configure interactively.
-bsd_games_cfg_non_interactive=y
-
-bsd_games_cfg_install_prefix=${D}
-
-# For gentoo,
-# banner used to be in util-linux. Gentoo might have an ebuild
-# fortune is "app-games/fortune-mod"
-# factor is in "sys-apps/sh-utils"
-# dm is not installed by debian, I don't know why
-bsd_games_cfg_no_build_dirs="dm banner fortune factor"
-
-# Gentoo's games eclass want everything in these places
-bsd_games_cfg_gamesdir=${GAMES_BINDIR}
-bsd_games_cfg_sbindir=${GAMES_BINDIR}
-bsd_games_cfg_sharedir=${GAMES_DATADIR}
-bsd_games_cfg_varlibdir=${GAMES_STATEDIR}
-
-# We'll control all the permissions during install (via games eclass)
-bsd_games_cfg_do_chown=n
-
-# .so or symlink??? (Debian perfers symlinks for manpages)
-bsd_games_cfg_use_dot_so=symlinks
-
-# Gentoo'll handle manpage compressing.
-bsd_games_cfg_gzip_manpages=n
-
-# sys-apps/less is in system (even though more is in /bin)
-bsd_games_cfg_pager=/usr/bin/less
-
-# sys-apps/miscfiles might have too many words for boggle
-bsd_games_cfg_dictionary_src=/usr/share/dict/words
-
-# Acronym file for "wft"
-bsd_games_cfg_wtf_acronymfile=${GAMES_DATADIR}/acronyms
-
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>games</herd>
-</pkgmetadata>