summaryrefslogtreecommitdiff
blob: 1cb9bebd4b7950a7da88b7a8e84236c5331bd2d7 (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
38
39
40
41
42
43
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DESCRIPTION="Wordise diff"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
SRC_URI="mirror://gentoo/${P}"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"

DEPEND="
	dev-lang/perl
	!app-arch/atool"

RDEPEND="
	${DEPEND}
	sys-apps/diffutils"

S="${WORKDIR}"

src_unpack() {
	:; # Nothing to unpack.
}

src_compile() {
	local _p2m=(
	    --release=${PV}
		--center="${HOMEPAGE}"
		--date="2007-12-11"
		"${DISTDIR}"/${P}
		${PN}.1
	)

	pod2man "${_p2m[@]}" || die
}

src_install() {
	newbin "${DISTDIR}/${P}" "${PN}"
	doman "${PN}.1"
}