From bd4aeefe33e63f613512604e47bfca7b2187697d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 3 Nov 2019 16:06:58 +0000 Subject: gentoo resync : 03.11.2019 --- app-text/epspdf/epspdf-0.6.0-r1.ebuild | 47 ++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 app-text/epspdf/epspdf-0.6.0-r1.ebuild (limited to 'app-text/epspdf/epspdf-0.6.0-r1.ebuild') diff --git a/app-text/epspdf/epspdf-0.6.0-r1.ebuild b/app-text/epspdf/epspdf-0.6.0-r1.ebuild new file mode 100644 index 000000000000..71f98598f49d --- /dev/null +++ b/app-text/epspdf/epspdf-0.6.0-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop texlive-common + +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="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc tk" + +RDEPEND="!=dev-texlive/texlive-basic-2011 + app-text/ghostscript-gpl + tk? ( dev-lang/tk )" + +S=${WORKDIR}/${PN} +INSTALLDIR=/usr/share/${PN} +FILES="epspdf.tlu" +TKFILES="epspdf.help epspdf.ico epspdftk.tcl" + +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.tlu" + use tk && dobin_texmf_scripts "${PN}/epspdftk.tcl" + + doinfo doc/epspdf.info + dodoc doc/Changelog + if use doc ; then + dodoc doc/epspdf.pdf + dodoc -r doc + fi + + # give it a .desktop + if use tk; then + make_desktop_entry epspdftk epspdftk "${INSTALLDIR}/epspdf.ico" "Graphics;ImageProcessing" + fi +} -- cgit v1.2.3