diff options
author | Raúl Porcel <armin76@gentoo.org> | 2008-07-07 18:24:27 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2008-07-07 18:24:27 +0000 |
commit | 5be90129452ec0ec7ceb557cafefb1a23d1ad1dd (patch) | |
tree | 96cf527db44a9e4a8fd5979c50882aace002c27a /net-irc/pisg/pisg-0.72.ebuild | |
parent | alpha/ia64/sparc/x86 stable (diff) | |
download | historical-5be90129452ec0ec7ceb557cafefb1a23d1ad1dd.tar.gz historical-5be90129452ec0ec7ceb557cafefb1a23d1ad1dd.tar.bz2 historical-5be90129452ec0ec7ceb557cafefb1a23d1ad1dd.zip |
Version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-irc/pisg/pisg-0.72.ebuild')
-rw-r--r-- | net-irc/pisg/pisg-0.72.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/net-irc/pisg/pisg-0.72.ebuild b/net-irc/pisg/pisg-0.72.ebuild new file mode 100644 index 000000000000..bfd86407128b --- /dev/null +++ b/net-irc/pisg/pisg-0.72.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/pisg/pisg-0.72.ebuild,v 1.1 2008/07/07 18:24:27 armin76 Exp $ + +inherit perl-app + +DESCRIPTION="Perl IRC Statistics Generator" +HOMEPAGE="http://pisg.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" + +IUSE="" + +RDEPEND="dev-lang/perl + dev-perl/Text-Iconv" +DEPEND="dev-lang/perl + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} + + sed -i \ + -e 's!lang\.txt!/usr/share/pisg/lang.txt!' \ + -e 's!layout/!/usr/share/pisg/layout/!' \ + "${S}"/modules/Pisg.pm \ + || die "sed failed" +} + +src_compile() { + einfo "Nothing to compile" +} + +src_install() { + perlinfo + + dobin pisg || die "dobin failed" + + insinto "${VENDOR_LIB}" + doins -r modules/. || die "doins failed" + + insinto /usr/share/pisg + doins -r gfx layout lang.txt || die "doins failed" + + dodoc \ + docs/{CREDITS,Changelog,FORMATS,pisg-doc.txt} \ + docs/dev/API pisg.cfg README || die "dodoc failed" + doman docs/pisg.1 || die "doman failed" + dohtml docs/pisg-doc.html || die "dohtml failed" +} + +pkg_postinst() { + einfo "The pisg images have been installed in /usr/share/pisg/gfx" +} |