From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 85B2F1384B4 for ; Sun, 22 Nov 2015 19:11:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D9926E076D; Sun, 22 Nov 2015 19:10:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 75E01E076D for ; Sun, 22 Nov 2015 19:10:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1AFC9340712 for ; Sun, 22 Nov 2015 19:10:58 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2EFDFA95 for ; Sun, 22 Nov 2015 19:10:46 +0000 (UTC) From: "Andreas Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Hüttel" Message-ID: <1448219433.cf0b709dc273cdce9cd248501128462e6d00d0f4.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/xboing/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-arcade/xboing/xboing-2.4-r3.ebuild X-VCS-Directories: games-arcade/xboing/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas Hüttel X-VCS-Revision: cf0b709dc273cdce9cd248501128462e6d00d0f4 X-VCS-Branch: master Date: Sun, 22 Nov 2015 19:10:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e1eb9008-8e65-4c31-9d0a-9fa558576c13 X-Archives-Hash: 5f16f1f2b9529753d18e1949180827fc commit: cf0b709dc273cdce9cd248501128462e6d00d0f4 Author: Andreas K. Huettel (dilfridge) gentoo org> AuthorDate: Sun Nov 22 19:10:01 2015 +0000 Commit: Andreas Hüttel gentoo org> CommitDate: Sun Nov 22 19:10:33 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf0b709d games-arcade/xboing: Migrate away from games.eclass Package-Manager: portage-2.2.25 games-arcade/xboing/xboing-2.4-r3.ebuild | 66 ++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/games-arcade/xboing/xboing-2.4-r3.ebuild b/games-arcade/xboing/xboing-2.4-r3.ebuild new file mode 100644 index 0000000..b210b8b --- /dev/null +++ b/games-arcade/xboing/xboing-2.4-r3.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils user + +DESCRIPTION="Blockout type game where you bounce a ball trying to destroy blocks" +HOMEPAGE="http://www.techrescue.org/xboing/" +SRC_URI="http://www.techrescue.org/xboing/${PN}${PV}.tar.gz + mirror://gentoo/xboing-${PV}-debian.patch.bz2" + +LICENSE="xboing" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND="x11-libs/libXpm" +DEPEND="${RDEPEND} + app-text/rman + x11-misc/gccmakedep + x11-misc/imake +" + +S=${WORKDIR}/${PN} + +pkg_setup(){ + enewgroup gamestat 36 +} + +src_prepare() { + epatch "${WORKDIR}"/xboing-${PV}-debian.patch + epatch "${FILESDIR}"/xboing-${PV}-buffer.patch + epatch "${FILESDIR}"/xboing-${PV}-sleep.patch + sed -i '/^#include/s:xpm\.h:X11/xpm.h:' *.c || die + eapply_user +} + +src_configure() { + xmkmf -a || die + sed -i -e "s:GENTOO_VER:${PF/${PN}-/}:" Imakefile || die +} + +src_compile() { + emake \ + CXXOPTIONS="${CXXFLAGS}" \ + CDEBUGFLAGS="${CFLAGS}" \ + LOCAL_LDFLAGS="${LDFLAGS}" \ + XBOING_DIR="/usr/share/${PN}" +} + +src_install() { + make \ + PREFIX="${D}" \ + BINDIR="${D}/usr/bin" \ + LOCAL_LDFLAGS="${LDFLAGS}" \ + XBOING_DIR="/usr/share/${PN}" \ + install || die + newman xboing.man xboing.6 + dodoc README docs/*.doc + + fowners root:gamestat /var/games/xboing.score /usr/bin/xboing + fperms 660 /var/games/xboing.score + fperms 2755 /usr/bin/xboing +}