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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Mon Jan 28 09:54:31 2008 UTC (11 years, 11 months ago) by stefaan
Branch: MAIN
Changes since 1.7: +4 -4 lines
Fix the unpacking of cvs sources, bug #205429
(Portage version: 2.1.4)

1 # Copyright 1999-2008 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.ebuild,v 1.7 2006/05/13 04:44:02 dragonheart Exp $
4
5 inherit perl-app cvs
6
7 ECVS_SERVER="netcomics.cvs.sourceforge.net:/cvsroot/netcomics"
8 ECVS_MODULE="netcomics"
9 ECVS_TOP_DIR="${DISTDIR}/cvs-src/${PN}"
10 S=${WORKDIR}/${ECVS_MODULE}
11
12 DESCRIPTION="Program to download daily comics strips from web"
13 SRC_URI=""
14 HOMEPAGE="http://netcomics.sourceforge.net"
15
16 IUSE=""
17 SLOT="0"
18 LICENSE="GPL-2"
19 KEYWORDS="~amd64 ~x86"
20
21 DEPEND="${DEPEND}
22 dev-perl/libwww-perl
23 dev-perl/HTML-Parser"
24
25 src_install () {
26 myinst="TMPDIR=${D}/var/spool/netcomics INSTALLSITELIB=${installvendorlib}"
27 perl-module_src_install
28
29 eval `perl '-V:installvendorlib'`
30 BROKEN_FILES="/usr/bin/comicpage
31 /usr/bin/netcomics
32 /usr/bin/show_comics
33 /usr/man/man1/netcomics.1
34 ${installvendorlib}/Netcomics/Config.pm"
35
36 for f in $BROKEN_FILES ; do
37 # get rid of /var/tmp/portage references:
38 dosed $f
39 # files are installed in vendor_perl, not site_perl, change it too:
40 perl -pi -e "s/site_perl/vendor_perl/" "${D}"${f}
41 done
42 }

  ViewVC Help
Powered by ViewVC 1.1.20