blob: ab4acc3daad8ee2d4d87e1bd5c7870177d487bc7 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/txt2man/txt2man-1.4.8-r1.ebuild,v 1.2 2005/08/25 03:18:37 agriffis Exp $
inherit eutils
DESCRIPTION="A simple script to convert ASCII text to man page."
HOMEPAGE="http://mvertes.free.fr/"
SRC_URI="mirror://debian/pool/main/t/txt2man/${P/-/_}.orig.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
RDEPEND="app-shells/bash
sys-apps/gawk"
DEPEND="${RDEPEND}"
src_unpack() {
unpack ${A}
cd ${S}
# Escape hyphens and add section info to txt2man manpage
epatch ${FILESDIR}/${P}-debian.patch
}
src_compile() {
cd ${S}
make txt2man.1
}
src_install() {
cd ${S}
dobin txt2man
doman txt2man.1
dodoc ChangeLog README
}
|