summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2004-07-24 01:48:22 +0000
committerSven Wegener <swegener@gentoo.org>2004-07-24 01:48:22 +0000
commita917b4a1a8ce58ab85e0c072464477b0aeef9164 (patch)
tree20b5b02693fb2ab7e85c49d63ee32706d793dc12 /net-irc
parentTidied the ebuild. (Manifest recommit) (diff)
downloadgentoo-2-a917b4a1a8ce58ab85e0c072464477b0aeef9164.tar.gz
gentoo-2-a917b4a1a8ce58ab85e0c072464477b0aeef9164.tar.bz2
gentoo-2-a917b4a1a8ce58ab85e0c072464477b0aeef9164.zip
Tidied the ebuild.
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/ircmap/ChangeLog5
-rw-r--r--net-irc/ircmap/ircmap-0.99.ebuild36
2 files changed, 23 insertions, 18 deletions
diff --git a/net-irc/ircmap/ChangeLog b/net-irc/ircmap/ChangeLog
index 5e5958a8b36c..48786e89c1cd 100644
--- a/net-irc/ircmap/ChangeLog
+++ b/net-irc/ircmap/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-irc/ircmap
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ircmap/ChangeLog,v 1.6 2004/07/01 22:22:06 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ircmap/ChangeLog,v 1.7 2004/07/24 01:48:22 swegener Exp $
+
+ 24 Jul 2004; Sven Wegener <swegener@gentoo.org> ircmap-0.99.ebuild:
+ Tidied the ebuild.
01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> ircmap-0.99.ebuild:
virtual/glibc -> virtual/libc
diff --git a/net-irc/ircmap/ircmap-0.99.ebuild b/net-irc/ircmap/ircmap-0.99.ebuild
index d0e1f38b27f2..931617629ded 100644
--- a/net-irc/ircmap/ircmap-0.99.ebuild
+++ b/net-irc/ircmap/ircmap-0.99.ebuild
@@ -1,37 +1,39 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ircmap/ircmap-0.99.ebuild,v 1.8 2004/07/01 22:22:06 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ircmap/ircmap-0.99.ebuild,v 1.9 2004/07/24 01:48:22 swegener Exp $
-IUSE=""
-
-DESCRIPTION="This script connects to the specified IRC server and creates a
-diagram of the network performing LINKS command."
+DESCRIPTION="This script connects to the specified IRC server and creates a diagram of the network performing LINKS command."
HOMEPAGE="http://pasky.ji.cz/~pasky/irc/"
SRC_URI="http://pasky.ji.cz/~pasky/irc/${PN}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
-DEPEND="virtual/libc
- media-gfx/graphviz"
+IUSE=""
+
+RDEPEND="virtual/libc
+ media-gfx/graphviz
+ dev-lang/perl"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
S=${WORKDIR}/${PN}
src_compile() {
- for myfile in ircmapC ircmapR-aa ircmapR-gvdot ircmapR-ircnet ircmapS
- do
- mv ${myfile}.pl ${myfile}.unpatched
- sed -e 's!/home/pasky/ircmap!/usr/lib/perl5/site_perl/5.6.1/ircmap!' \
- ${myfile}.unpatched > ${myfile}.pl
- rm ${myfile}.unpatched
- done
-}
+ eval `perl -V:installprivlib`
+ sed -i \
+ -e "s:/home/pasky/ircmap:${installprivlib}/ircmap:" \
+ {ircmapC,ircmapR-aa,ircmapR-gvdot,ircmapR-ircnet,ircmapS}.pl
+}
src_install () {
dodoc README
dobin ircmapS.pl ircmapC.pl ircmapR-aa.pl ircmapR-gvdot.pl ircmapR-ircnet.pl
- mkdir -p ${D}/usr/lib/perl5/site_perl/5.6.1/ircmap
- cp IHash.pm ${D}/usr/lib/perl5/site_perl/5.6.1/ircmap/
+ eval `perl -V:installprivlib`
+
+ insinto ${D}/${installprivlib}/ircmap
+ doins IHash.pm
}
pkg_postinst() {