summaryrefslogtreecommitdiff
blob: 92707714d575f3b96a32e48f57e84d5088ba3a74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fe3d/fe3d-0.8.3.ebuild,v 1.1 2006/01/12 23:45:44 vanquirius Exp $

inherit versionator

MY_P="${PN}-$(replace_version_separator 2 '-')"

DESCRIPTION="A 3D visualization tool for network security information"
HOMEPAGE="http://projects.icapsid.net/fe3d/"
SRC_URI="http://projects.icapsid.net/${PN}/src/${MY_P}.src.zip"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND="media-libs/libsdl
	media-libs/sdl-ttf
	media-libs/libpng
	>=dev-libs/xerces-c-2.5.0"

S="${WORKDIR}/${PN}"

src_unpack() {
	unpack ${A}
	chmod +x "${S}"/configure || die "chmod failed"
}

src_install() {
	make DESTDIR="${D}" install || die "make install failed"
	dodoc doc/{ChangeLog,versions}.txt
}

pkg_postinst() {
	einfo "Example using a nmap log:"
	einfo "/usr/bin/nmap -oX test.xml -O --osscan_limit 192.168.0.0/24"
	einfo "/usr/bin/fe3d test.xml"
}