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