summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2017-07-24 17:56:54 -0400
committerMichael Orlitzky <mjo@gentoo.org>2017-07-24 17:56:54 -0400
commitab1d95634b38a4de0117e94bca6f6e9da492d532 (patch)
tree3b121051c947f515a490f57ae1a1f97d85d7153e /app-misc/plod
parentmedia-sound/podracer: new revision that unpacks the gzipped man page. (diff)
downloadgentoo-ab1d95634b38a4de0117e94bca6f6e9da492d532.tar.gz
gentoo-ab1d95634b38a4de0117e94bca6f6e9da492d532.tar.bz2
gentoo-ab1d95634b38a4de0117e94bca6f6e9da492d532.zip
app-misc/plod: new revision that unpacks its man page.
Gentoo-Bug: 619934 Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-misc/plod')
-rw-r--r--app-misc/plod/plod-1.9-r2.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/app-misc/plod/plod-1.9-r2.ebuild b/app-misc/plod/plod-1.9-r2.ebuild
new file mode 100644
index 00000000000..3bb385546ef
--- /dev/null
+++ b/app-misc/plod/plod-1.9-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A tool to help administrators keep track of 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"
+
+DEPEND="dev-lang/perl"
+
+src_unpack() {
+ default
+
+ # Bug 619934. Change directories first to ensure that "unpack" outputs
+ # to ${S} and not to ${WORKDIR}.
+ cd "${S}" || die
+ unpack "${S}/${PN}.1.gz"
+}
+
+src_prepare() {
+ default
+ sed -i -e 's#/usr/local#/usr#' "${PN}" || die
+}
+
+src_compile() {
+ :;
+}
+
+src_install() {
+ dobin "${PN}"
+ doman "${PN}.1"
+
+ insinto /etc
+ doins "${FILESDIR}/${PN}rc"
+
+ dodoc README TODO
+}