summaryrefslogtreecommitdiff
blob: 2b53aacdbc870f47c6d28ea94252569926dbfd2e (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

DESCRIPTION="A tool designed to help administrators keep track of their daily activities"
HOMEPAGE="http://www.deer-run.com/~hal/"
SRC_URI="http://www.far2wise.net/plod/${P}.tar.gz"

LICENSE="|| ( Artistic GPL-2 )"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

DEPEND="dev-lang/perl"
RDEPEND="${DEPEND}"

src_unpack() {
	unpack ${A}

	cd "${S}"

	# Get rid of this nasty /usr/local paths
	einfo "Patching paths"
	sed -e 's#/usr/local#/usr#' -i plod
}

src_install() {
	dobin plod
	dodoc README
	doman plod.1.gz

	insinto /etc
	doins "${FILESDIR}"/plodrc
}