# Copyright 1999-2004 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.3 2004/06/24 23:57:48 agriffis Exp $ inherit cvs perl-module 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" 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 }