summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/mercator/ChangeLog10
-rw-r--r--dev-games/mercator/mercator-0.2.8.ebuild37
2 files changed, 45 insertions, 2 deletions
diff --git a/dev-games/mercator/ChangeLog b/dev-games/mercator/ChangeLog
index 8bbc06694642..9a620c5af809 100644
--- a/dev-games/mercator/ChangeLog
+++ b/dev-games/mercator/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-games/mercator
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/mercator/ChangeLog,v 1.10 2009/10/25 15:22:00 maekke Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/mercator/ChangeLog,v 1.11 2010/08/31 02:26:08 mr_bones_ Exp $
+
+*mercator-0.2.8 (31 Aug 2010)
+
+ 31 Aug 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ +mercator-0.2.8.ebuild:
+ version bump
25 Oct 2009; Markus Meier <maekke@gentoo.org> mercator-0.2.7.ebuild:
amd64/x86 stable, bug #288829
diff --git a/dev-games/mercator/mercator-0.2.8.ebuild b/dev-games/mercator/mercator-0.2.8.ebuild
new file mode 100644
index 000000000000..3cfc661c1be2
--- /dev/null
+++ b/dev-games/mercator/mercator-0.2.8.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/mercator/mercator-0.2.8.ebuild,v 1.1 2010/08/31 02:26:08 mr_bones_ Exp $
+
+EAPI=2
+inherit eutils
+
+DESCRIPTION="WorldForge library primarily aimed at terrain."
+HOMEPAGE="http://www.worldforge.org/dev/eng/libraries/mercator"
+SRC_URI="mirror://sourceforge/worldforge/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+SLOT="0"
+
+RDEPEND="dev-games/wfmath"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ dev-util/pkgconfig"
+
+src_compile() {
+ emake || die "make failed"
+ if use doc; then
+ emake docs || die "Making doc failed"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ dodoc AUTHORS ChangeLog NEWS README TODO || die "Installing doc failed"
+ if use doc; then
+ dohtml doc/html/* || die "Installing html failed"
+ fi
+ find "${D}" -type f -name '*.la' -exec rm {} + \
+ || die "la removal failed"
+}