summaryrefslogtreecommitdiff
blob: d6925de8fdcd9d2e3e12c2f7999357dc025a21a8 (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
# Copyright 1999-2021 Gentoo Authors
# 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="~amd64 ppc sparc x86"

RDEPEND="!app-crypt/signify
	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
}