/[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.3 - (show annotations) (download)
Fri Nov 21 15:06:19 2014 UTC (5 years, 3 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove masked for removal package

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/netcomics-cvs/netcomics-cvs-0.14.1-r1.ebuild,v 1.2 2014/06/25 05:50:00 patrick Exp $
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 # QA: No keywords for live ebuilds
21 #KEYWORDS="~amd64 ~x86"
22 KEYWORDS=""
23 # 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