/[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.2 - (hide annotations) (download)
Wed Jun 25 05:50:00 2014 UTC (5 years, 8 months ago) by patrick
Branch: MAIN
Changes since 1.1: +5 -3 lines
Remove keywords from live ebuild

(Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit)

1 patrick 1.2 # Copyright 1999-2014 Gentoo Foundation
2 idella4 1.1 # Distributed under the terms of the GNU General Public License v2
3 patrick 1.2 # $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 $
4 idella4 1.1
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 patrick 1.2 # QA: No keywords for live ebuilds
21     #KEYWORDS="~amd64 ~x86"
22     KEYWORDS=""
23 idella4 1.1 # Warrants IUSE doc, adding
24     IUSE="doc"
25    
26     DEPEND="dev-perl/libwww-perl
27     dev-perl/HTML-Parser"
28    
29     src_install () {
30     myinst="TMPDIR=${D}/var/spool/netcomics INSTALLSITELIB=${installvendorlib}"
31     perl-module_src_install
32    
33     eval `perl '-V:installvendorlib'`
34     BROKEN_FILES="/usr/bin/comicpage
35     /usr/bin/netcomics
36     /usr/bin/show_comics
37     /usr/share/man/man1/netcomics.1
38     ${installvendorlib}/Netcomics/Config.pm"
39    
40     for f in $BROKEN_FILES ; do
41     # get rid of /var/tmp/portage references:
42     # files are installed in vendor_perl, not site_perl, change it too:
43     sed -i -e "s:${D}::g" -e "s:site_perl:vendor_perl:g" "${D}"${f} || die "failure in sed statement"
44     done
45    
46     if use doc; then
47     dohtml -r doc/
48     fi
49     }

  ViewVC Help
Powered by ViewVC 1.1.20