/[gentoo-x86]/net-analyzer/nmapsi/nmapsi-0.4.ebuild
Gentoo

Contents of /net-analyzer/nmapsi/nmapsi-0.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Dec 25 10:40:22 2012 UTC (20 months, 4 weeks ago) by pesa
Branch: MAIN
Version bump, remove old.

(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 17A85C72)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmapsi/nmapsi-0.3.2.ebuild,v 1.1 2012/08/31 17:59:02 kensington Exp $
4
5 EAPI=5
6
7 PLOCALES="ca cs de es fr it ru"
8
9 inherit cmake-utils l10n
10
11 MY_P=${PN}4-${PV}
12
13 DESCRIPTION="A Qt4 frontend to nmap"
14 HOMEPAGE="http://www.nmapsi4.org/"
15 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.xz"
16
17 LICENSE="GPL-2"
18 SLOT="0"
19 KEYWORDS="~amd64 ~x86"
20 IUSE="kde"
21
22 DEPEND="
23 x11-libs/qt-core:4
24 x11-libs/qt-dbus:4
25 x11-libs/qt-gui:4
26 x11-libs/qt-webkit:4
27 kde? ( kde-base/kdelibs:4 )
28 "
29 RDEPEND="${DEPEND}
30 >=net-analyzer/nmap-6.00
31 net-dns/bind-tools
32 "
33
34 S=${WORKDIR}/${MY_P}
35
36 DOCS=(AUTHORS HACKING NEWS TODO Translation)
37
38 src_prepare() {
39 l10n_for_each_disabled_locale_do nmapsi_disable_locale
40 }
41
42 nmapsi_disable_locale() {
43 sed -i -e "/ts\/${PN}4_${1}\.ts/d" src/CMakeLists.txt || die
44 }

  ViewVC Help
Powered by ViewVC 1.1.20