/[gentoo-x86]/net-misc/netcomics-cvs/netcomics-cvs-0.14.1-r1.ebuild
Gentoo

Contents of /net-misc/netcomics-cvs/netcomics-cvs-0.14.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Tue Sep 3 16:28:21 2013 UTC (6 years, 5 months ago) by idella4
Branch: MAIN
revbump -> EAPI 5, add IUSE doc, fix src_install

(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)

1 idella4 1.1 # Copyright 1999-2013 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
4    
5     EAPI=5
6    
7     inherit perl-module cvs
8    
9     ECVS_SERVER="netcomics.cvs.sourceforge.net:/cvsroot/netcomics"
10     ECVS_MODULE="netcomics"
11     ECVS_TOP_DIR="${DISTDIR}/cvs-src/${PN}"
12     S=${WORKDIR}/${ECVS_MODULE}
13    
14     DESCRIPTION="Program to download daily comics strips from web"
15     SRC_URI=""
16     HOMEPAGE="http://netcomics.sourceforge.net"
17    
18     SLOT="0"
19     LICENSE="GPL-2"
20     KEYWORDS="~amd64 ~x86"
21     # Warrants IUSE doc, adding
22     IUSE="doc"
23    
24     DEPEND="dev-perl/libwww-perl
25     dev-perl/HTML-Parser"
26    
27     src_install () {
28     myinst="TMPDIR=${D}/var/spool/netcomics INSTALLSITELIB=${installvendorlib}"
29     perl-module_src_install
30    
31     eval `perl '-V:installvendorlib'`
32     BROKEN_FILES="/usr/bin/comicpage
33     /usr/bin/netcomics
34     /usr/bin/show_comics
35     /usr/share/man/man1/netcomics.1
36     ${installvendorlib}/Netcomics/Config.pm"
37    
38     for f in $BROKEN_FILES ; do
39     # get rid of /var/tmp/portage references:
40     # files are installed in vendor_perl, not site_perl, change it too:
41     sed -i -e "s:${D}::g" -e "s:site_perl:vendor_perl:g" "${D}"${f} || die "failure in sed statement"
42     done
43    
44     if use doc; then
45     dohtml -r doc/
46     fi
47     }

  ViewVC Help
Powered by ViewVC 1.1.20