summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-01-19 00:01:30 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-01-19 00:01:30 +0000
commitda379db25ad5db094934c8718e48bdc2432cfdfa (patch)
tree9b3725f383a9be189b66e8dd9920ba886e221b11 /app-text/u2ps
parentFix potential buffer overflow in identity application (#339355) (diff)
downloadhistorical-da379db25ad5db094934c8718e48bdc2432cfdfa.tar.gz
historical-da379db25ad5db094934c8718e48bdc2432cfdfa.tar.bz2
historical-da379db25ad5db094934c8718e48bdc2432cfdfa.zip
Moved from sunrise overlay. Thanks to Jure Varlec <jure.varlec@gmail.com>. Bug #335117
Package-Manager: portage-2.1.9.31/cvs/Linux x86_64
Diffstat (limited to 'app-text/u2ps')
-rw-r--r--app-text/u2ps/ChangeLog11
-rw-r--r--app-text/u2ps/Manifest15
-rw-r--r--app-text/u2ps/metadata.xml15
-rw-r--r--app-text/u2ps/u2ps-0.8.1.ebuild45
4 files changed, 86 insertions, 0 deletions
diff --git a/app-text/u2ps/ChangeLog b/app-text/u2ps/ChangeLog
new file mode 100644
index 000000000000..ef1e52cb21f4
--- /dev/null
+++ b/app-text/u2ps/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-text/u2ps
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/u2ps/ChangeLog,v 1.1 2011/01/19 00:01:30 hwoarang Exp $
+
+*u2ps-0.8.1 (18 Jan 2011)
+
+ 18 Jan 2011; Markos Chandras <hwoarang@gentoo.org> +u2ps-0.8.1.ebuild,
+ +metadata.xml:
+ Moved from sunrise overlay. Thanks to Jure Varlec <jure.varlec@gmail.com>.
+ Bug #335117
+
diff --git a/app-text/u2ps/Manifest b/app-text/u2ps/Manifest
new file mode 100644
index 000000000000..15ee7d15fffe
--- /dev/null
+++ b/app-text/u2ps/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST u2ps-0.8.1.tar.gz 109891 RMD160 7202199d1297f7a33c19ff6448b8271725f808d4 SHA1 08d5590b1160c8c3556c28bf5db0b98a35dfa58b SHA256 67fc9324d1a8e8e89659bebf00c15c886e74802356109ce395d2715399d1b56f
+DIST u2ps-full-0.8.1.tar.gz 5496100 RMD160 193a83877f061cbde8f501b5ed5651cacb3f2c79 SHA1 fe7e6a6cc4d724f1097ec38d9a5e25cfbb1cb030 SHA256 fd69fd1297d73558ff1c74355f44ccec6cdbcf145c271ab4a4d4f066a88f2d86
+EBUILD u2ps-0.8.1.ebuild 1131 RMD160 16b4a5259c8f4e314e6c0c0d129d826e1c9e2f73 SHA1 4e010ef221398f1814c93cbf38c2e3cdc981f0c1 SHA256 53a408a39ee06f4ab7228f14b8e0e47e396abf9d42c20a2a0fe70ff9ab3b7062
+MISC ChangeLog 410 RMD160 ece6616960dcde7099b09e81f8e54328d4c0e695 SHA1 4adaf204bdfc381487ac44d05a49f936a1e060bb SHA256 bf22ebb238e23c71eb102110184ca07b7a5140e3f852274a08c9402dff0020fa
+MISC metadata.xml 387 RMD160 a3c272119a4bd381c6b53f82a7644de43849b385 SHA1 ec6f9fb13c3f1bee6d8ae47aff0529b3a843c5d9 SHA256 31ea628e087405991ae087c87db01651e53f2701a9484744b396a91cd65b73e1
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iEYEARECAAYFAk02KZIACgkQ9/cejkQaxBCuiQCeIt8SuIv2RfZ+aHOcLCoMliji
+3VgAnjV60GVX9SWWBPaBPajC+MP+rnJ4
+=L3WY
+-----END PGP SIGNATURE-----
diff --git a/app-text/u2ps/metadata.xml b/app-text/u2ps/metadata.xml
new file mode 100644
index 000000000000..41fe3bf0641c
--- /dev/null
+++ b/app-text/u2ps/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+<email>hwoarang@gentoo.org</email>
+<name>Markos Chandras</name>
+</maintainer>
+<use>
+ <flag name='fonts'>Install a more complete set of unicode fonts</flag>
+</use>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>
+
diff --git a/app-text/u2ps/u2ps-0.8.1.ebuild b/app-text/u2ps/u2ps-0.8.1.ebuild
new file mode 100644
index 000000000000..e0008cd3e66f
--- /dev/null
+++ b/app-text/u2ps/u2ps-0.8.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/u2ps/u2ps-0.8.1.ebuild,v 1.1 2011/01/19 00:01:30 hwoarang Exp $
+
+EAPI=2
+
+DESCRIPTION="A text to PostScript converter like a2ps, but supports UTF-8"
+HOMEPAGE="http://u2ps.berlios.de/"
+SRC_URI="!fonts? ( mirror://berlios/${PN}/${P}.tar.gz )
+ fonts? ( mirror://berlios/${PN}/${PN}-full-${PV}.tar.gz )"
+
+LICENSE="GPL-3 GPL-3-with-font-exception free-noncomm"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="fonts"
+
+DEPEND="
+ >=dev-lang/perl-5.6
+ dev-perl/Text-CharWidth
+ app-text/ghostscript-gpl
+"
+RDEPEND="${DEPEND}"
+
+use fonts && S="${WORKDIR}/${PN}-full-${PV}"
+
+src_configure() {
+ ./configure \
+ --prefix=/usr \
+ --datadir=/usr/share \
+ --mandir=/usr/share/man \
+ --with-perl=/usr/bin/perl \
+ --with-gs=/usr/bin/gs \
+ || die 'configure failed'
+}
+
+src_compile() {
+ emake || die 'make failed'
+ emake man || die 'make man failed'
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die 'install failed'
+ dodoc README DESIGN || die 'dodoc failed'
+ doman man/u2ps.1 || die 'doman failed'
+}