From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- games-mud/tkmoo/Manifest | 5 +++ .../tkmoo/files/0.3.32-Makefile-noclean.patch | 15 ++++++++ games-mud/tkmoo/files/0.3.32-keys-workaround.patch | 13 +++++++ games-mud/tkmoo/metadata.xml | 8 ++++ games-mud/tkmoo/tkmoo-0.3.32-r1.ebuild | 45 ++++++++++++++++++++++ 5 files changed, 86 insertions(+) create mode 100644 games-mud/tkmoo/Manifest create mode 100644 games-mud/tkmoo/files/0.3.32-Makefile-noclean.patch create mode 100644 games-mud/tkmoo/files/0.3.32-keys-workaround.patch create mode 100644 games-mud/tkmoo/metadata.xml create mode 100644 games-mud/tkmoo/tkmoo-0.3.32-r1.ebuild (limited to 'games-mud/tkmoo') diff --git a/games-mud/tkmoo/Manifest b/games-mud/tkmoo/Manifest new file mode 100644 index 000000000000..ea1f303c8d33 --- /dev/null +++ b/games-mud/tkmoo/Manifest @@ -0,0 +1,5 @@ +AUX 0.3.32-Makefile-noclean.patch 445 BLAKE2B d0bd081129ebf2453118215eb48cebc918484ed948cd6bec22fe20bb81140de8a4d642ee6583d496eb359f63d9cfbe8cad066a3fd299ccf47470836ef131f5f5 SHA512 0bbba363d579527b1cca8fa5c953b9724ea939b416c3681b582959f64f36e8d311e17325bc5ca21cccc02e6209ba7f3687cc26fd3b9abe390e8dfbaee9082e53 +AUX 0.3.32-keys-workaround.patch 377 BLAKE2B 568b5d06b953ab5268174dcef0a903ec33547bfb09b3da718ead97ce889025d62c8e3dc04a1135b6f4ef7c31c3c2f0e85542c8cacbb753ea7cc20a4d0e6dfa1f SHA512 2d454f251f817267482597376e4f65972d766ed8ec90ecf79c085e431c82febf27d8c286bc40c3334d1b7f248258fa6c6ca601425d6767d3d6eab93a30590a02 +DIST tkMOO-light-0.3.32.tar.gz 95332 BLAKE2B 44fd5c1476527c3b1c18e44df71b49007caeb78e1ca788c718a532c716746a9b8df3f42d616bc0384bff167a484c8585a0fe13f607810c74006810635ed1ae6c SHA512 59543692900613eae77b73f5f88a2380a77d1be38d486dc0461d0990ccb941497dd0d35aa109a5697dba3b92157d9943b540a73fe4fc0d519e144f65620443d2 +EBUILD tkmoo-0.3.32-r1.ebuild 952 BLAKE2B bbceaeff20b11c7fda1373783453188f3dc9f17ede4e1c45c2fe946c1b1a219eda89ff4d444669927b20cc17b843476d9472de017d86611524f652503808eed6 SHA512 27eae2fed3d067665079a81462a54a075920e1193060d13324eee252a9c992474af084c4d1394eb2048935764763347bb382496ac1ad164f0b0c73b844a4c947 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-mud/tkmoo/files/0.3.32-Makefile-noclean.patch b/games-mud/tkmoo/files/0.3.32-Makefile-noclean.patch new file mode 100644 index 000000000000..cebc1fecfc34 --- /dev/null +++ b/games-mud/tkmoo/files/0.3.32-Makefile-noclean.patch @@ -0,0 +1,15 @@ +--- a/Makefile 2003-07-12 03:04:24.000000000 -0400 ++++ b/Makefile 2003-07-12 03:04:32.000000000 -0400 +@@ -32,11 +32,8 @@ + + # some shells are set 'noclobber', so force overwriting of the + # executable and installation +-clean: +- \rm -f $(EXECUTABLE) +- \rm -f $(TKMOO_BIN_DIR)/$(EXECUTABLE) + +-executable: clean ++executable: + if [ ! -e $(WISH) ]; then \ + echo "***"; \ + echo "*** Can't find executable '$(WISH)', building anyway..."; \ diff --git a/games-mud/tkmoo/files/0.3.32-keys-workaround.patch b/games-mud/tkmoo/files/0.3.32-keys-workaround.patch new file mode 100644 index 000000000000..db8886ed4b61 --- /dev/null +++ b/games-mud/tkmoo/files/0.3.32-keys-workaround.patch @@ -0,0 +1,13 @@ +--- a/source.tcl 2004-12-28 23:36:47.000000000 -0800 ++++ b/source.tcl 2004-12-28 23:37:09.000000000 -0800 +@@ -51,6 +51,10 @@ + # + # + ++tk::unsupported::ExposePrivateCommand tkTextSetCursor ++tk::unsupported::ExposePrivateCommand tkTextScrollPages ++tk::unsupported::ExposePrivateCommand tkTextInsert ++ + proc db.set { id field val args } { + global db + if { $args == {} } { diff --git a/games-mud/tkmoo/metadata.xml b/games-mud/tkmoo/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-mud/tkmoo/metadata.xml @@ -0,0 +1,8 @@ + + + + + games@gentoo.org + Gentoo Games Project + + diff --git a/games-mud/tkmoo/tkmoo-0.3.32-r1.ebuild b/games-mud/tkmoo/tkmoo-0.3.32-r1.ebuild new file mode 100644 index 000000000000..557406e7a29f --- /dev/null +++ b/games-mud/tkmoo/tkmoo-0.3.32-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils + +MY_PN=${PN/moo/MOO-light} +MY_P=${P/moo/MOO-light} +DESCRIPTION="MOO Client written in Tcl/Tk" +HOMEPAGE="http://www.awns.com/tkMOO-light/" +SRC_URI="http://www.awns.com/tkMOO-light/Source/${MY_P}.tar.gz" + +LICENSE="tkMOO" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + >=dev-lang/tcl-8.3.3:0= + >=dev-lang/tk-8.3.3:0=" +RDEPEND=${DEPEND} + +S=${WORKDIR}/${MY_P} + +PATCHES=( + "${FILESDIR}/${PV}-Makefile-noclean.patch" + "${FILESDIR}/${PV}-keys-workaround.patch" +) + +src_compile() { + emake \ + WISH="$(type -P wish)" \ + TKMOO_LIB_DIR="/usr/$(get_libdir)/${MY_PN}" \ + TKMOO_BIN_DIR=/usr/bin +} + +src_install() { + emake \ + TKMOO_LIB_DIR="${D}/usr/$(get_libdir)/${MY_PN}" \ + TKMOO_BIN_DIR="${D}/usr/bin" \ + install + dodoc README dot.tkmoolightrc bugsmail.txt + dosym tkMOO-lite /usr/bin/tkmoo + make_desktop_entry tkmoo "tkMOO" +} -- cgit v1.2.3