summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-01-26 05:08:23 +0000
committerJeroen Roovers <jer@gentoo.org>2010-01-26 05:08:23 +0000
commit08cb6683379d85f6a96a714039973e1a313119a2 (patch)
treefa4e9dcdd85792671d76e9f8faa5b2e62432e2d9 /app-text/enscript
parentMarked ~hppa (bug #302273). (diff)
downloadgentoo-2-08cb6683379d85f6a96a714039973e1a313119a2.tar.gz
gentoo-2-08cb6683379d85f6a96a714039973e1a313119a2.tar.bz2
gentoo-2-08cb6683379d85f6a96a714039973e1a313119a2.zip
Version bump.
(Portage version: 2.2_rc61/cvs/Linux i686)
Diffstat (limited to 'app-text/enscript')
-rw-r--r--app-text/enscript/ChangeLog9
-rw-r--r--app-text/enscript/enscript-1.6.5.ebuild51
2 files changed, 58 insertions, 2 deletions
diff --git a/app-text/enscript/ChangeLog b/app-text/enscript/ChangeLog
index ad6c764dbcc7..92dd3b449268 100644
--- a/app-text/enscript/ChangeLog
+++ b/app-text/enscript/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/enscript
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/enscript/ChangeLog,v 1.57 2009/07/29 15:47:11 darkside Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/enscript/ChangeLog,v 1.58 2010/01/26 05:08:23 jer Exp $
+
+*enscript-1.6.5 (26 Jan 2010)
+
+ 26 Jan 2010; Jeroen Roovers <jer@gentoo.org> +enscript-1.6.5.ebuild:
+ Version bump.
29 Jul 2009; Jeremy Olexa <darkside@gentoo.org> -enscript-1.6.4-r2.ebuild,
-enscript-1.6.4-r3.ebuild:
diff --git a/app-text/enscript/enscript-1.6.5.ebuild b/app-text/enscript/enscript-1.6.5.ebuild
new file mode 100644
index 000000000000..f25637c1ae28
--- /dev/null
+++ b/app-text/enscript/enscript-1.6.5.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/enscript/enscript-1.6.5.ebuild,v 1.1 2010/01/26 05:08:23 jer Exp $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="powerful text-to-postscript converter"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+HOMEPAGE="http://www.gnu.org/software/enscript/enscript.html"
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+SLOT="0"
+LICENSE="GPL-3"
+IUSE="nls ruby"
+
+DEPEND="
+ sys-devel/flex
+ sys-devel/bison
+ nls? ( sys-devel/gettext )
+"
+RDEPEND="nls? ( virtual/libintl )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/enscript-1.6.3-language.patch
+ epatch "${FILESDIR}"/enscript-1.6.4-ebuild.st.patch
+ use ruby && epatch "${FILESDIR}"/enscript-1.6.2-ruby.patch
+}
+
+src_configure() {
+ econf $(use_enable nls)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+
+ dodoc AUTHORS ChangeLog NEWS README* THANKS TODO || die "dodoc failed"
+
+ insinto /usr/share/enscript/hl
+ doins "${FILESDIR}"/ebuild.st || die "doins ebuild.st failed"
+
+ if use ruby ; then
+ insinto /usr/share/enscript/hl
+ doins "${FILESDIR}"/ruby.st || die "doins ruby.st failed"
+ fi
+}
+
+pkg_postinst() {
+ elog "Now, customize /etc/enscript.cfg."
+}