aboutsummaryrefslogtreecommitdiff
blob: c17503919cfe1fe77b0e83c6c93f47b1a000a3c4 (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
# Copyright 1999-2009 Gentoo Foundation 
# Distributed under the terms of the GNU General Public License v2
# $Header:
# /home/menelkir/portage/sys-apps/syscolorize/syscolorize-1.2.1.ebuild,v 1.1 2010/05/31 11:29:49 menelkir Exp $

EAPI="2"

inherit eutils

DESCRIPTION="A text colorizer. It prints out some useful information by filtering and colorizing data "
HOMEPAGE="http://syscolorize.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE=""

DEPEND="dev-perl/config-general"
RDEPEND="${DEPEND}"

src_unpack() {
	unpack ${A}
	cd "${S}"
	epatch "${FILESDIR}"/${P}-config-path.patch
	}

src_install() {
	dobin syscolorize 
	dodoc README* syscolorize.conf.example syscolorize.vim COPYING Changelog INSTALL  
	}

pkg_postinst() {
	einfo "You must configure /etc/syscolorize.conf for a proper use in your system"
	einfo "See /usr/share/doc/${P}/ for more details"
	}