diff options
author | Ciaran McCreesh <ciaranm@gentoo.org> | 2005-05-23 08:34:23 +0000 |
---|---|---|
committer | Ciaran McCreesh <ciaranm@gentoo.org> | 2005-05-23 08:34:23 +0000 |
commit | 0d9ccdfaca3fb1b371039e270bb290bafbacf4a8 (patch) | |
tree | 9d6cf29b8fd58b79b53262e9ab9a71b3aa5590e4 /dev-util/txt2regex/txt2regex-0.8-r1.ebuild | |
parent | Fixed bug #63533 (diff) | |
download | gentoo-2-0d9ccdfaca3fb1b371039e270bb290bafbacf4a8.tar.gz gentoo-2-0d9ccdfaca3fb1b371039e270bb290bafbacf4a8.tar.bz2 gentoo-2-0d9ccdfaca3fb1b371039e270bb290bafbacf4a8.zip |
NLS and CJK updates, thanks to rener in bug #93568
(Portage version: 2.0.51.22-r1 screaming llama edition)
Diffstat (limited to 'dev-util/txt2regex/txt2regex-0.8-r1.ebuild')
-rw-r--r-- | dev-util/txt2regex/txt2regex-0.8-r1.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-util/txt2regex/txt2regex-0.8-r1.ebuild b/dev-util/txt2regex/txt2regex-0.8-r1.ebuild new file mode 100644 index 000000000000..a078fd5282d7 --- /dev/null +++ b/dev-util/txt2regex/txt2regex-0.8-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/txt2regex/txt2regex-0.8-r1.ebuild,v 1.1 2005/05/23 08:34:23 ciaranm Exp $ + +inherit eutils + +DESCRIPTION="A Regular Expression wizard that converts human sentences to regexs" +HOMEPAGE="http://txt2regex.sourceforge.net/" +SRC_URI="http://txt2regex.sourceforge.net/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86" +IUSE="nls cjk" + +DEPEND="nls? ( sys-devel/gettext )" +RDEPEND=">=app-shells/bash-2.04" + +src_unpack() { + unpack ${A} + cd "${S}" + # See bug 93568 + useq nls || epatch "${FILESDIR}"/${P}-disable-nls.patch + use cjk && sed -i -e 's/\xa4/:+:/g' ${S}/${P}.sh +} + +src_install() { + einstall DESTDIR=${D} MANDIR=${D}/usr/share/man/man1 || die + dodoc Changelog NEWS README README.japanese TODO + newman txt2regex.man txt2regex.6 +} |