/[gentoo-x86]/net-analyzer/netwag/netwag-5.39.0.ebuild
Gentoo

Contents of /net-analyzer/netwag/netwag-5.39.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Feb 1 15:43:31 2013 UTC (3 months, 2 weeks ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +5 -2 lines
/usr/bin/eterm changed to /usr/bin/Eterm.

(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key A792A613)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/netwag/netwag-5.39.0.ebuild,v 1.4 2013/01/03 15:01:35 nativemad Exp $
4
5 # NOTE: netwib, netwox and netwag go together, bump all or bump none
6
7 EAPI=4
8
9 DESCRIPTION="Tcl/tk interface to netwox (Toolbox of 222 utilities for testing Ethernet/IP networks)"
10 HOMEPAGE="
11 http://ntwag.sourceforge.net/
12 http://www.laurentconstantin.com/en/netw/netwag/
13 "
14 SRC_URI="mirror://sourceforge/ntwag/${P}-src.tgz
15 doc? ( mirror://sourceforge/ntwag/${P}-doc_html.tgz )"
16
17 LICENSE="GPL-3"
18 SLOT="0"
19 KEYWORDS="~amd64 ~hppa ~ppc x86"
20 IUSE="doc"
21
22 DEPEND="
23 ~net-analyzer/netwox-${PV}
24 >=dev-lang/tk-8
25 || (
26 x11-terms/xterm
27 kde-base/konsole
28 x11-terms/eterm
29 x11-terms/gnome-terminal
30 x11-terms/rxvt
31 )
32 "
33 RDEPEND="${DEPEND}"
34
35 S="${WORKDIR}/${P}-src/src"
36
37 src_prepare() {
38 sed -i \
39 -e 's:/man$:/share/man:g' \
40 -e "s:/usr/local:/usr:" \
41 config.dat || die
42 sed -i \
43 -e 's|eterm|Eterm|g' \
44 genemake || die
45 }
46
47 src_configure() {
48 sh genemake || die "problem creating Makefile"
49 }
50
51 src_install() {
52 default
53 dodoc ../README.TXT
54 if use doc;
55 then
56 mv "${WORKDIR}"/${P}-doc_html \
57 "${D}"/usr/share/doc/${PF}/html
58 fi
59
60 dodoc "${S}"/../doc/{changelog.txt,credits.txt} \
61 "${S}"/../doc/{problemreport.txt,problemusage.txt,todo.txt}
62 }

  ViewVC Help
Powered by ViewVC 1.1.13