diff options
author | Austin English <wizardedit@gentoo.org> | 2016-08-05 14:20:06 -0500 |
---|---|---|
committer | Austin English <wizardedit@gentoo.org> | 2016-08-05 14:43:17 -0500 |
commit | 102d0c63aed7078db4ee669ab0ba71ef1f3ddcf3 (patch) | |
tree | 4216c1b26fae4499dbd42584c59c647714eb8657 /games-mud | |
parent | games-mud/powwow: remove deprecated games eclass (diff) | |
download | gentoo-102d0c63aed7078db4ee669ab0ba71ef1f3ddcf3.tar.gz gentoo-102d0c63aed7078db4ee669ab0ba71ef1f3ddcf3.tar.bz2 gentoo-102d0c63aed7078db4ee669ab0ba71ef1f3ddcf3.zip |
games-mud/tf: remove deprecated games eclass
Also update to EAPI 6
Gentoo-Bug: https://bugs.gentoo.org/574082
Package-Manager: portage-2.3.0
Diffstat (limited to 'games-mud')
-rw-r--r-- | games-mud/tf/files/tf-50_beta8-stdarg.patch | 6 | ||||
-rw-r--r-- | games-mud/tf/tf-50_beta8-r2.ebuild | 72 |
2 files changed, 75 insertions, 3 deletions
diff --git a/games-mud/tf/files/tf-50_beta8-stdarg.patch b/games-mud/tf/files/tf-50_beta8-stdarg.patch index 6d568f4708a8..a34b70abe1fd 100644 --- a/games-mud/tf/files/tf-50_beta8-stdarg.patch +++ b/games-mud/tf/files/tf-50_beta8-stdarg.patch @@ -1,6 +1,6 @@ -diff -U5 -r tf-50b8.orig/src/tfio.c tf-50b8/src/tfio.c ---- src/tfio.c.orig 2007-01-13 18:12:39.000000000 -0500 -+++ src/tfio.c 2007-02-02 16:50:12.000000000 -0500 +diff -U5 -r a/src/tfio.c b/src/tfio.c +--- a/src/tfio.c 2007-01-13 18:12:39.000000000 -0500 ++++ b/src/tfio.c 2007-02-02 16:50:12.000000000 -0500 @@ -495,10 +495,11 @@ const char *q, *sval; char *specptr, quote; diff --git a/games-mud/tf/tf-50_beta8-r2.ebuild b/games-mud/tf/tf-50_beta8-r2.ebuild new file mode 100644 index 000000000000..51ae5aebdbe4 --- /dev/null +++ b/games-mud/tf/tf-50_beta8-r2.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +MY_P="${P/_beta/b}" +DESCRIPTION="A small, flexible, screen-oriented MUD client (aka TinyFugue)" +HOMEPAGE="http://tinyfugue.sourceforge.net/" +SRC_URI="mirror://sourceforge/tinyfugue/${MY_P}.tar.gz + http://homepage.mac.com/mikeride/abelinc/scripts/allrootpatch.txt -> + tf-allrootpatch.txt + http://homepage.mac.com/mikeride/abelinc/scripts/allsrcpatch.txt -> + tf-allsrcpatch.txt + doc? ( mirror://sourceforge/tinyfugue/${MY_P}-help.tar.gz )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="+atcp debug doc +gmcp ipv6 +option102 ssl" + +RDEPEND="ssl? ( dev-libs/openssl:0= ) + dev-libs/libpcre" +DEPEND=${RDEPEND} + +S=${WORKDIR}/${MY_P} + +PATCHES=( + "${DISTDIR}"/tf-all*patch.txt + "${FILESDIR}"/${P}-pcre.patch + "${FILESDIR}"/${P}-stdarg.patch +) + +src_configure() { + STRIP=: econf \ + $(use_enable atcp) \ + $(use_enable gmcp) \ + $(use_enable option102) \ + $(use_enable ssl) \ + $(use_enable debug core) \ + $(use_enable ipv6 inet6) \ + --enable-manpage +} + +src_install() { + dobin src/tf + newman src/tf.1.nroffman tf.1 + dodoc CHANGES CREDITS README + + insinto "${GAMES_DATADIR}"/${PN}-lib + # the application looks for this file here if /changes is called. + # see comments on bug #23274 + doins CHANGES + insopts -m0755 + doins tf-lib/* + if use doc ; then + cd ../${MY_P}-help + dodoc -r *.html commands topics + cd ../${MY_P} + fi +} + +pkg_postinst() { + use ipv6 && { + echo + ewarn "You have merged TinyFugue with IPv6-support." + ewarn "Support for IPv6 is still being experimental." + ewarn "If you experience problems with connecting to hosts," + ewarn "try re-merging this package with USE="-ipv6"" + echo + } +} |