/[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.4 - (show annotations) (download)
Sun Nov 21 06:16:25 2004 UTC (15 years, 2 months ago) by kingtaco
Branch: MAIN
Changes since 1.3: +2 -2 lines
~amd64 keyword added

1 # Copyright 1999-2004 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.3 2004/06/24 23:57:48 agriffis Exp $
4
5 inherit cvs perl-module
6
7 ECVS_SERVER="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="x86 ~amd64"
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