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

EAPI=6

DESCRIPTION="A (semi-)random e-mail signature rotator"
HOMEPAGE="http://signify.sf.net/"
SRC_URI="mirror://debian/pool/main/s/${PN}/${PN}_${PV}-1.tar.gz"

LICENSE="public-domain"
SLOT="0"
KEYWORDS="ppc sparc x86 ~amd64"

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

S=${WORKDIR}/${PN}

src_prepare() {
	default
	sed -i 's/head -1/head -n1/' Makefile || die
}

src_install() {
	emake PREFIX="${ED%/}"/usr MANDIR="${ED%/}"/usr/share/man install
	einstalldocs

	docinto examples
	dodoc examples/{Columned,Complex,Simple,SimpleOrColumned}
	docompress -x /usr/share/doc/${PF}/examples
}