From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DDE121396D0 for ; Mon, 18 Sep 2017 19:42:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 264A8E0D1A; Mon, 18 Sep 2017 19:42:47 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EC0C8E0D0B for ; Mon, 18 Sep 2017 19:42:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 731AB33FE2A for ; Mon, 18 Sep 2017 19:42:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B7531907E for ; Mon, 18 Sep 2017 19:42:43 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1505763759.7bac2e110fdf5ee8391ba0f6c8ef710132620880.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/supermariowar/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-action/supermariowar/supermariowar-2.0_beta1.ebuild X-VCS-Directories: games-action/supermariowar/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 7bac2e110fdf5ee8391ba0f6c8ef710132620880 X-VCS-Branch: master Date: Mon, 18 Sep 2017 19:42:43 +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: 92458bdd-9079-4b95-a7ba-0c89b03e89ed X-Archives-Hash: ac87a1f985e8ff1a2dc87eeefa253b05 commit: 7bac2e110fdf5ee8391ba0f6c8ef710132620880 Author: Patrice Clement gentoo org> AuthorDate: Mon Sep 18 19:41:58 2017 +0000 Commit: Patrice Clement gentoo org> CommitDate: Mon Sep 18 19:42:39 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bac2e11 games-action/supermariowar: clean up old. Package-Manager: Portage-2.3.6, Repoman-2.3.1 .../supermariowar/supermariowar-2.0_beta1.ebuild | 107 --------------------- 1 file changed, 107 deletions(-) diff --git a/games-action/supermariowar/supermariowar-2.0_beta1.ebuild b/games-action/supermariowar/supermariowar-2.0_beta1.ebuild deleted file mode 100644 index ea3a3b4205f..00000000000 --- a/games-action/supermariowar/supermariowar-2.0_beta1.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils cmake-utils versionator - -MY_PV=$(replace_version_separator 2 '-') -MY_PV="${MY_PV/beta1/beta.1}" -MY_PN="smw" - -DESCRIPTION="Fan-made multiplayer Super Mario Bros. style deathmatch game" -HOMEPAGE="https://github.com/mmatyas/supermariowar" -SRC_URI="https://github.com/mmatyas/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" - -KEYWORDS="~amd64 ~x86" -LICENSE="GPL-2" -SLOT="0" - -IUSE="server" - -RDEPEND=" - sys-libs/zlib - dev-cpp/yaml-cpp - net-libs/enet:1.3= - media-libs/sdl-mixer - media-libs/sdl-image" - -DEPEND=" - ${RDEPEND} - app-arch/unzip - virtual/pkgconfig" - -S="${WORKDIR}/${PN}-${MY_PV}" - -src_unpack() { - unpack ${A} - cd "${S}" || die - unpack ./data.zip -} - -src_prepare() { - default - einfo "Copying Findyaml-cpp.cmake" - cp "${FILESDIR}/${P}-yaml-cpp-config.cmake" cmake/Findyaml-cpp.cmake || die - eend $? -} - -src_configure() { - local mycmakeargs=( - -DBUILD_STATIC_LIBS=OFF - -DCMAKE_INSTALL_PREFIX="${EPREFIX%/}/usr" - -DSMW_BINDIR="${EPREFIX%/}/usr/bin" - -DSMW_DATADIR="${EPREFIX%/}/usr/share/${PF}" - ) - - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - local bin - for bin in "${ED}/usr/bin"/*; do - chmod 0755 "${bin}" || die - done - - local smw_datadir="usr/share/${PF}" - local smw_bindir="${smw_datadir}/bin" - mkdir -p "${ED}/${smw_bindir}" || die - - einfo "Moving ${PN} binary files to /${smw_bindir}" - mv "${ED}/usr/bin"/* "${ED}/${smw_bindir}" || die - eend $? - - local base_bin - for bin in "${ED}/${smw_bindir}"/*; do - base_bin=$(basename "${bin}") - einfo "Creating ${base_bin} launcher in /usr/bin" - cat << EOF > "${base_bin}" || die -#!/usr/bin/env bash -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# ${PF} launcher: ${base_bin} -exec /${smw_bindir}/${base_bin} /${smw_datadir} -EOF - dobin "${base_bin}" - eend $? - done - - if use server; then - local smw_server="${BUILD_DIR}/Binaries/Release/${MY_PN}-server" - local smw_serverdir="/${smw_datadir}/server" - - einfo "Installing ${MY_PN}-server files" - dosbin "${smw_server}" - - dodir "${smw_serverdir}" - insinto "${smw_serverdir}" - doins "${S}/src/server/serverconfig" - - dosym "${smw_serverdir}/serverconfig" "/etc/${MY_PN}d.conf" - - newinitd "${FILESDIR}/smwd.initd" "${MY_PN}d" - eend $? - fi -}