diff options
author | 2005-07-27 08:07:44 +0000 | |
---|---|---|
committer | 2005-07-27 08:07:44 +0000 | |
commit | e92a2e56050d8bba909249191b333c4bf2a35c96 (patch) | |
tree | c986fad8d984a9a8cd7980865819d5d86a1f6900 /app-text/txt2man/txt2man-1.4.8-r1.ebuild | |
parent | Added upstream patch to 0.7.0. Removed old stale patches. (diff) | |
download | gentoo-2-e92a2e56050d8bba909249191b333c4bf2a35c96.tar.gz gentoo-2-e92a2e56050d8bba909249191b333c4bf2a35c96.tar.bz2 gentoo-2-e92a2e56050d8bba909249191b333c4bf2a35c96.zip |
Added patch from Debian for hyphens escaping. Thanks to Fredrik Steen <stone@debian.org> (Debian maintainer) and Wesley J. Landaker (original submitter of the patch).
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-text/txt2man/txt2man-1.4.8-r1.ebuild')
-rw-r--r-- | app-text/txt2man/txt2man-1.4.8-r1.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/app-text/txt2man/txt2man-1.4.8-r1.ebuild b/app-text/txt2man/txt2man-1.4.8-r1.ebuild new file mode 100644 index 000000000000..bf7b28c228d5 --- /dev/null +++ b/app-text/txt2man/txt2man-1.4.8-r1.ebuild @@ -0,0 +1,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.1 2005/07/27 08:07:44 flameeyes 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="~amd64 ~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 +} |