summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2007-09-07 23:16:58 +0000
committerMichael Januszewski <spock@gentoo.org>2007-09-07 23:16:58 +0000
commit5343367e4e258fcc2524c66c96000b632c2bdb1c (patch)
treeb476ebcd0de09eca90e6a878098736e6b37918a6 /net-analyzer/nmap
parentAdd 0.5.14. (diff)
downloadgentoo-2-5343367e4e258fcc2524c66c96000b632c2bdb1c.tar.gz
gentoo-2-5343367e4e258fcc2524c66c96000b632c2bdb1c.tar.bz2
gentoo-2-5343367e4e258fcc2524c66c96000b632c2bdb1c.zip
Use doicon (bug #191482).
(Portage version: 2.1.3.7)
Diffstat (limited to 'net-analyzer/nmap')
-rw-r--r--net-analyzer/nmap/ChangeLog5
-rw-r--r--net-analyzer/nmap/nmap-4.20.ebuild24
2 files changed, 13 insertions, 16 deletions
diff --git a/net-analyzer/nmap/ChangeLog b/net-analyzer/nmap/ChangeLog
index 029aaa2496a7..384907bec478 100644
--- a/net-analyzer/nmap/ChangeLog
+++ b/net-analyzer/nmap/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/nmap
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.145 2007/07/03 21:35:01 spock Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.146 2007/09/07 23:16:58 spock Exp $
+
+ 07 Sep 2007; Michał Januszewski <spock@gentoo.org> nmap-4.20.ebuild:
+ Use doicon (bug #191482).
03 Jul 2007; Michał Januszewski <spock@gentoo.org> -nmap-3.81.ebuild,
-nmap-4.01.ebuild, -nmap-4.10.ebuild:
diff --git a/net-analyzer/nmap/nmap-4.20.ebuild b/net-analyzer/nmap/nmap-4.20.ebuild
index 229565dab510..89fcc16d4078 100644
--- a/net-analyzer/nmap/nmap-4.20.ebuild
+++ b/net-analyzer/nmap/nmap-4.20.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-4.20.ebuild,v 1.14 2007/07/03 21:31:21 spock Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-4.20.ebuild,v 1.15 2007/09/07 23:16:58 spock Exp $
inherit eutils flag-o-matic
@@ -13,20 +13,19 @@ SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="gtk ssl"
-DEPEND="virtual/libc
- dev-libs/libpcre
+DEPEND="dev-libs/libpcre
net-libs/libpcap
gtk? ( =x11-libs/gtk+-2* )
ssl? ( dev-libs/openssl )"
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
sed 's:Icon=icon-network:Icon=nmap-logo-64.png:' -i nmapfe.desktop
echo ";" >> nmapfe.desktop
- epatch ${FILESDIR}/nmap-shtool-nls.patch
- epatch ${FILESDIR}/nmap-4.01-nostrip.patch
- epatch ${FILESDIR}/${P}-osscan.patch
+ epatch "${FILESDIR}/nmap-shtool-nls.patch"
+ epatch "${FILESDIR}/nmap-4.01-nostrip.patch"
+ epatch "${FILESDIR}/${P}-osscan.patch"
}
src_compile() {
@@ -40,12 +39,7 @@ src_compile() {
src_install() {
einstall -j1 nmapdatadir=${D}/usr/share/nmap install || die
- dodoc CHANGELOG HACKING docs/README docs/*.txt
- dohtml docs/*.html
-
- if use gtk; then
- dodir /usr/share/pixmaps
- insinto /usr/share/pixmaps
- doins ${FILESDIR}/nmap-logo-64.png
- fi
+ dodoc CHANGELOG HACKING docs/README docs/*.txt || die
+
+ use gtk && doicon "${FILESDIR}/nmap-logo-64.png"
}