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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Jan 31 12:02:09 2013 UTC (20 months ago) by kensington
Branch: MAIN
Version bump. Remove old.

(Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key 675D0D2C)

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/nmapsi/nmapsi-0.4.ebuild,v 1.1 2012/12/25 10:40:22 pesa 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 src_configure() {
43 local mycmakeargs=(
44 $(cmake-utils_use_build kde KDELIBS)
45 )
46 cmake-utils_src_configure
47 }
48
49 nmapsi_disable_locale() {
50 sed -i -e "/ts\/${PN}4_${1}\.ts/d" src/CMakeLists.txt || die
51 }

  ViewVC Help
Powered by ViewVC 1.1.20