summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2013-09-03 16:28:22 +0000
committerIan Delaney <idella4@gentoo.org>2013-09-03 16:28:22 +0000
commitf228ca345bf57815d8c973066567672f19de422b (patch)
treeb9f3c9a4e356d8cd293e02513a69606447bd0675 /net-misc/netcomics-cvs
parentFix tag for spanish description in metadata.xml. Thanks to Chuck Seyboldt. (diff)
downloadgentoo-2-f228ca345bf57815d8c973066567672f19de422b.tar.gz
gentoo-2-f228ca345bf57815d8c973066567672f19de422b.tar.bz2
gentoo-2-f228ca345bf57815d8c973066567672f19de422b.zip
revbump -> EAPI 5, add IUSE doc, fix src_install
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'net-misc/netcomics-cvs')
-rw-r--r--net-misc/netcomics-cvs/ChangeLog5
-rw-r--r--net-misc/netcomics-cvs/netcomics-cvs-0.14.1-r1.ebuild (renamed from net-misc/netcomics-cvs/netcomics-cvs-0.14.1.ebuild)25
2 files changed, 17 insertions, 13 deletions
diff --git a/net-misc/netcomics-cvs/ChangeLog b/net-misc/netcomics-cvs/ChangeLog
index 2224735c3a44..b5d35632eba7 100644
--- a/net-misc/netcomics-cvs/ChangeLog
+++ b/net-misc/netcomics-cvs/ChangeLog
@@ -1,6 +1,6 @@
# ChangeLog for net-misc/netcomics-cvs
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/netcomics-cvs/ChangeLog,v 1.9 2008/08/17 07:01:11 tove Exp $
+# Copyright 2000-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/netcomics-cvs/ChangeLog,v 1.10 2013/09/03 16:28:22 idella4 Exp $
17 Aug 2008; Torsten Veller <tove@gentoo.org> metadata.xml:
Remove pyrania from metadata.xml (#26352)
@@ -30,4 +30,3 @@
06 Oct 2003; Markus Nigbur <pyrania@gentoo.org> netcomics-cvs-0.14.1.ebuild:
Initial import, thanks to Vaclav Slavik (bug 30437).
-
diff --git a/net-misc/netcomics-cvs/netcomics-cvs-0.14.1.ebuild b/net-misc/netcomics-cvs/netcomics-cvs-0.14.1-r1.ebuild
index 42a30719f356..48a5606cbba4 100644
--- a/net-misc/netcomics-cvs/netcomics-cvs-0.14.1.ebuild
+++ b/net-misc/netcomics-cvs/netcomics-cvs-0.14.1-r1.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/netcomics-cvs/netcomics-cvs-0.14.1.ebuild,v 1.8 2008/01/28 09:54:31 stefaan Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/netcomics-cvs/netcomics-cvs-0.14.1-r1.ebuild,v 1.1 2013/09/03 16:28:21 idella4 Exp $
-inherit perl-app cvs
+EAPI=5
+
+inherit perl-module cvs
ECVS_SERVER="netcomics.cvs.sourceforge.net:/cvsroot/netcomics"
ECVS_MODULE="netcomics"
@@ -13,13 +15,13 @@ DESCRIPTION="Program to download daily comics strips from web"
SRC_URI=""
HOMEPAGE="http://netcomics.sourceforge.net"
-IUSE=""
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
+# Warrants IUSE doc, adding
+IUSE="doc"
-DEPEND="${DEPEND}
- dev-perl/libwww-perl
+DEPEND="dev-perl/libwww-perl
dev-perl/HTML-Parser"
src_install () {
@@ -30,13 +32,16 @@ src_install () {
BROKEN_FILES="/usr/bin/comicpage
/usr/bin/netcomics
/usr/bin/show_comics
- /usr/man/man1/netcomics.1
+ /usr/share/man/man1/netcomics.1
${installvendorlib}/Netcomics/Config.pm"
for f in $BROKEN_FILES ; do
# get rid of /var/tmp/portage references:
- dosed $f
- # files are installed in vendor_perl, not site_perl, change it too:
- perl -pi -e "s/site_perl/vendor_perl/" "${D}"${f}
+ # files are installed in vendor_perl, not site_perl, change it too:
+ sed -i -e "s:${D}::g" -e "s:site_perl:vendor_perl:g" "${D}"${f} || die "failure in sed statement"
done
+
+ if use doc; then
+ dohtml -r doc/
+ fi
}