summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2018-11-16 00:34:03 +0300
committerAzamat H. Hackimov <azamat.hackimov@gmail.com>2018-11-16 00:34:03 +0300
commitaf1c5734679a5ed12b949d47876f0865d1fcddc4 (patch)
tree4b16ee82a62ee6a6ae11371c7d74ed894db02857
parent[games-simulation/flightgear*] Remove old (diff)
downloadgamerlay-af1c5734.tar.gz
gamerlay-af1c5734.tar.bz2
gamerlay-af1c5734.zip
games-strategy/glfrontier: fixes to ebuild
Need to review more. Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Package-Manager: Portage-2.3.51, Repoman-2.3.11
-rw-r--r--games-strategy/glfrontier/glfrontier-20060623-r4.ebuild28
-rw-r--r--games-strategy/glfrontier/metadata.xml9
2 files changed, 17 insertions, 20 deletions
diff --git a/games-strategy/glfrontier/glfrontier-20060623-r4.ebuild b/games-strategy/glfrontier/glfrontier-20060623-r4.ebuild
index 5b14f4d..ea13aef 100644
--- a/games-strategy/glfrontier/glfrontier-20060623-r4.ebuild
+++ b/games-strategy/glfrontier/glfrontier-20060623-r4.ebuild
@@ -1,6 +1,5 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# $Header: $
EAPI=6
@@ -12,39 +11,38 @@ DESCRIPTION="Frontier: Elite 2 with OpenGL support"
HOMEPAGE="http://tom.noflag.org.uk/glfrontier.html"
SRC_URI="http://tom.noflag.org.uk/glfrontier/frontvm3-20060623.tar.bz2
- http://tom.noflag.org.uk/misc/frontvm-audio-20060222.tar.bz2"
+ http://tom.noflag.org.uk/misc/frontvm-audio-20060222.tar.bz2"
-
-LICENSE="GPL"
-KEYWORDS="~x86 ~amd64"
+LICENSE="HPND"
+KEYWORDS="~amd64 ~x86"
IUSE=""
SLOT="0"
RDEPEND=">=media-libs/freeglut-2.6
- media-libs/libsdl
- media-libs/libogg"
+ media-libs/libsdl
+ media-libs/libogg"
DEPEND="${RDEPEND}"
S=${WORKDIR}
src_prepare() {
- epatch "${FILESDIR}/${MY_P}"-fix_missing_math_lib.patch
+ epatch "${FILESDIR}/${MY_P}-fix_missing_math_lib.patch"
eapply_user
}
src_compile() {
- cd ${S}/frontvm3-20060623
+ cd "${S}/frontvm3-20060623"
make -f Makefile-C || die "make install failed"
}
src_install() {
- mv ${S}/frontvm3-20060623/frontier ${S}/frontvm3-20060623/${MY_PN}
+ mv "${S}/frontvm3-20060623/frontier" "${S}/frontvm3-20060623/${MY_PN}"
- dobin ${S}/frontvm3-20060623/${MY_PN}
- insinto /usr/share/${MY_PN}
- doins ${S}/frontvm3-20060623/fe2.s.bin
- doins -r ${S}/frontvm-audio-20060222/*
+ newbin "${S}/frontvm3-20060623/frontier" ${MY_PN}
+ insinto "/usr/share/${MY_PN}"
+ doins "${S}/frontvm3-20060623/fe2.s.bin"
+ doins -r "${S}/frontvm-audio-20060222/*"
make_desktop_entry /usr/share/${MY_PN}/${MY_PN} GLFrontier ${MY_PN} Game Path=/usr/share/${MY_PN}
}
diff --git a/games-strategy/glfrontier/metadata.xml b/games-strategy/glfrontier/metadata.xml
index 3987c0c..cc20dcf 100644
--- a/games-strategy/glfrontier/metadata.xml
+++ b/games-strategy/glfrontier/metadata.xml
@@ -1,13 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>no-herd</herd>
-<maintainer>
- <email>yamakuzure@gmx.net</email>
- <description>The creator of this ebuild, but not the official maintainer</description>
+<maintainer type="person">
+<email>yamakuzure@gmx.net</email>
+<description>The creator of this ebuild, but not the official maintainer</description>
</maintainer>
<longdescription>
-MISSING
+Frontier: Elite 2 with OpenGL support
</longdescription>
<use />
</pkgmetadata>