/[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.5 - (hide annotations) (download)
Mon Nov 28 13:14:25 2005 UTC (14 years, 1 month ago) by mcummings
Branch: MAIN
Changes since 1.4: +3 -3 lines
Switched from perl-module to perl-app eclass
(Portage version: 2.0.53_rc6)

1 mcummings 1.5 # Copyright 1999-2005 Gentoo Foundation
2 pyrania 1.1 # Distributed under the terms of the GNU General Public License v2
3 mcummings 1.5 # $Header: /var/cvsroot/gentoo-x86/net-misc/netcomics-cvs/netcomics-cvs-0.14.1.ebuild,v 1.4 2004/11/21 06:16:25 kingtaco Exp $
4 pyrania 1.1
5 mcummings 1.5 inherit cvs perl-app
6 pyrania 1.1
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 kingtaco 1.4 KEYWORDS="x86 ~amd64"
20 pyrania 1.1
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