diff options
author | Alexis Ballier <aballier@gentoo.org> | 2012-03-30 14:08:19 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2012-03-30 14:08:19 +0000 |
commit | 0e95d5958d84c458c56f4a96d82c5117d7756c84 (patch) | |
tree | 4e1c940a75de4fc280080360f5337e3685e0c559 /app-text/epspdf | |
parent | Version bump. (diff) | |
download | gentoo-2-0e95d5958d84c458c56f4a96d82c5117d7756c84.tar.gz gentoo-2-0e95d5958d84c458c56f4a96d82c5117d7756c84.tar.bz2 gentoo-2-0e95d5958d84c458c56f4a96d82c5117d7756c84.zip |
initial import, ebuild by me for bug #369745
(Portage version: 2.2.0_alpha96/cvs/Linux x86_64)
Diffstat (limited to 'app-text/epspdf')
-rw-r--r-- | app-text/epspdf/ChangeLog | 10 | ||||
-rw-r--r-- | app-text/epspdf/epspdf-0.5.3.ebuild | 54 | ||||
-rw-r--r-- | app-text/epspdf/metadata.xml | 5 |
3 files changed, 69 insertions, 0 deletions
diff --git a/app-text/epspdf/ChangeLog b/app-text/epspdf/ChangeLog new file mode 100644 index 000000000000..0efc26b0b525 --- /dev/null +++ b/app-text/epspdf/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-text/epspdf +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/epspdf/ChangeLog,v 1.1 2012/03/30 14:08:19 aballier Exp $ + +*epspdf-0.5.3 (30 Mar 2012) + + 30 Mar 2012; Alexis Ballier <aballier@gentoo.org> +epspdf-0.5.3.ebuild, + +metadata.xml: + initial import, ebuild by me for bug #369745 + diff --git a/app-text/epspdf/epspdf-0.5.3.ebuild b/app-text/epspdf/epspdf-0.5.3.ebuild new file mode 100644 index 000000000000..72ac61bbd38e --- /dev/null +++ b/app-text/epspdf/epspdf-0.5.3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/epspdf/epspdf-0.5.3.ebuild,v 1.1 2012/03/30 14:08:19 aballier Exp $ + +EAPI=4 + +inherit texlive-common eutils + +DESCRIPTION="GUI and command-line converter for [e]ps and pdf" +HOMEPAGE="http://tex.aanhet.net/epspdf/" +SRC_URI="http://tex.aanhet.net/epspdf/${PN}.${PV}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc tk" + +DEPEND="sys-apps/texinfo" +RDEPEND="!<dev-texlive/texlive-pictures-2011-r1 + dev-lang/ruby + tk? ( dev-lang/tk )" + +S=${WORKDIR}/${PN} +INSTALLDIR=/usr/share/${PN} +FILES="epspdf.rb epspdfrc.rb makegray.pro" +TKFILES="epspdf.help epspdf.icns epspdf.ico epspdftk.tcl" + +#epspdf.info seems broken, rebuild it +src_compile() { + cd "${S}/doc" + makeinfo epspdf.texi || die +} + +src_install() { + dodir ${INSTALLDIR} + cp -p ${FILES} "${ED}/${INSTALLDIR}" || die + if use tk ; then + cp -p ${TKFILES} "${ED}/${INSTALLDIR}" || die + fi + dobin_texmf_scripts "${PN}/epspdf.rb" + use tk && dobin_texmf_scripts "${PN}/epspdftk.tcl" + + doinfo doc/epspdf.info + dodoc doc/Changelog + if use doc ; then + dodoc doc/epspdf.pdf + dohtml -r doc + fi + + # give it a .desktop + if use tk; then + make_desktop_entry epspdftk epspdftk "${INSTALLDIR}/epspdf.ico" "Graphics;ImageProcessing" + fi +} diff --git a/app-text/epspdf/metadata.xml b/app-text/epspdf/metadata.xml new file mode 100644 index 000000000000..ba6a8a8800d5 --- /dev/null +++ b/app-text/epspdf/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>tex</herd> +</pkgmetadata> |