/[gentoo-x86]/games-mud/tf/tf-50_beta8-r1.ebuild
Gentoo

Contents of /games-mud/tf/tf-50_beta8-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun May 27 21:09:58 2012 UTC (2 years, 6 months ago) by mr_bones_
Branch: MAIN
Changes since 1.2: +3 -3 lines
add patch to work around libpcre changes submitted by Robert Varga via bug #409779

(Portage version: 2.1.10.49/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-mud/tf/tf-50_beta8-r1.ebuild,v 1.2 2011/10/01 03:19:26 phajdan.jr Exp $
4 EAPI=2
5
6 inherit games
7
8 MY_P="${P/_beta/b}"
9 DESCRIPTION="A small, flexible, screen-oriented MUD client (aka TinyFugue)"
10 HOMEPAGE="http://tinyfugue.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/tinyfugue/${MY_P}.tar.gz
12 http://homepage.mac.com/mikeride/abelinc/scripts/allrootpatch.txt ->
13 tf-allrootpatch.txt
14 http://homepage.mac.com/mikeride/abelinc/scripts/allsrcpatch.txt ->
15 tf-allsrcpatch.txt
16 doc? ( mirror://sourceforge/tinyfugue/${MY_P}-help.tar.gz )"
17
18 LICENSE="GPL-2"
19 SLOT="0"
20 KEYWORDS="~amd64 ~ppc ~sparc x86"
21 IUSE="+atcp debug doc +gmcp ipv6 +option102 ssl"
22
23 RDEPEND="ssl? ( dev-libs/openssl )
24 dev-libs/libpcre"
25 DEPEND="${RDEPEND}"
26
27 S=${WORKDIR}/${MY_P}
28
29 PATCHES=( "${DISTDIR}"/tf-all*patch.txt "${FILESDIR}"/${P}-pcre.patch )
30
31 src_configure() {
32 STRIP=: egamesconf \
33 $(use_enable atcp) \
34 $(use_enable gmcp) \
35 $(use_enable option102) \
36 $(use_enable ssl) \
37 $(use_enable debug core) \
38 $(use_enable ipv6 inet6) \
39 --enable-manpage || die
40 }
41
42 src_install() {
43 dogamesbin src/tf || die "dogamesbin failed"
44 newman src/tf.1.nroffman tf.1
45 dodoc CHANGES CREDITS README
46
47 insinto "${GAMES_DATADIR}"/${PN}-lib
48 # the application looks for this file here if /changes is called.
49 # see comments on bug #23274
50 doins CHANGES || die "doins failed"
51 insopts -m0755
52 doins tf-lib/* || die "doins failed"
53 if use doc ; then
54 dohtml -r *.html commands topics
55 fi
56 prepgamesdirs
57 }
58
59 pkg_postinst() {
60 games_pkg_postinst
61 use ipv6 && {
62 echo
63 ewarn "You have merged TinyFugue with IPv6-support."
64 ewarn "Support for IPv6 is still being experimental."
65 ewarn "If you experience problems with connecting to hosts,"
66 ewarn "try re-merging this package with USE="-ipv6""
67 echo
68 }
69 }

  ViewVC Help
Powered by ViewVC 1.1.20