summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2019-11-12 22:10:14 +0000
committerJames Le Cuirot <chewi@gentoo.org>2019-11-12 22:10:39 +0000
commita59e4434d1217e32fb0583c97607d4189309f51f (patch)
treeb11f199ddec8fd7846ef329b26a208b591529730 /games-engines/dMagnetic
parentkde5-functions.eclass: Drop obsolete minimum version overrides (diff)
downloadgentoo-a59e4434d1217e32fb0583c97607d4189309f51f.tar.gz
gentoo-a59e4434d1217e32fb0583c97607d4189309f51f.tar.bz2
gentoo-a59e4434d1217e32fb0583c97607d4189309f51f.zip
games-engines/dMagnetic: New package
Package-Manager: Portage-2.3.79, Repoman-2.3.17 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-engines/dMagnetic')
-rw-r--r--games-engines/dMagnetic/Manifest1
-rw-r--r--games-engines/dMagnetic/dMagnetic-0.18.ebuild36
-rw-r--r--games-engines/dMagnetic/metadata.xml8
3 files changed, 45 insertions, 0 deletions
diff --git a/games-engines/dMagnetic/Manifest b/games-engines/dMagnetic/Manifest
new file mode 100644
index 000000000000..015eb000db16
--- /dev/null
+++ b/games-engines/dMagnetic/Manifest
@@ -0,0 +1 @@
+DIST dMagnetic_0.18.tar 61210 BLAKE2B 9707ea8e6545b06b998bd8cf979d45088fcbabc64553a2688fcb56b23a7d161e56276718bb73f112a4d6b3a3a6955589fd6e26cfe2bd9604c334b20acc0a74ea SHA512 0703c45f674e2bf1391d9a0c9f1c52b6fd5c6fa329c051281894df53fe1cbe84662c6489a2e10a7d6009c2a31891c3c61bf615ef2706cf98e1f4b760764ef3b5
diff --git a/games-engines/dMagnetic/dMagnetic-0.18.ebuild b/games-engines/dMagnetic/dMagnetic-0.18.ebuild
new file mode 100644
index 000000000000..0097d62d0b88
--- /dev/null
+++ b/games-engines/dMagnetic/dMagnetic-0.18.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit prefix toolchain-funcs
+
+MY_P="${PN}_${PV}"
+DESCRIPTION="A Magnetic Scrolls Interpreter for playing a collection of old text adventures"
+HOMEPAGE="https://www.dettus.net/dMagnetic/"
+SRC_URI="https://www.dettus.net/${PN}/${MY_P}.tar.gz -> ${MY_P}.tar"
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ default
+ hprefixify ${PN}.ini src/toplevel/${PN}.c
+}
+
+src_compile() {
+ emake ${PN} \
+ CC="$(tc-getCC)" \
+ LINK="$(tc-getCC) ${LDFLAGS}"
+}
+
+src_install() {
+ dobin ${PN}
+ doman ${PN}.1 ${PN}ini.5
+ dodoc README.txt
+
+ insinto /etc
+ doins ${PN}.ini
+}
diff --git a/games-engines/dMagnetic/metadata.xml b/games-engines/dMagnetic/metadata.xml
new file mode 100644
index 000000000000..26079e608bed
--- /dev/null
+++ b/games-engines/dMagnetic/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+</pkgmetadata>