From: Ulrich Müller Date: Wed, 13 Nov 2019 09:56:06 +0000 (+0100) Subject: media-gfx/jpeg2ps: Remove old. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=21a4a8bbed8321afc79b45d00ab427f9e9e437a0;p=gentoo.git media-gfx/jpeg2ps: Remove old. Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Ulrich Müller --- diff --git a/media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild b/media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild deleted file mode 100644 index d3601094ce6f..000000000000 --- a/media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -inherit eutils toolchain-funcs - -DESCRIPTION="Converts JPEG images to Postscript using a wrapper" -HOMEPAGE="http://www.pdflib.com/download/free-software/jpeg2ps/" -SRC_URI="http://www.pdflib.com/products/more/jpeg2ps/${P}.tar.gz" - -LICENSE="free-noncomm" -SLOT="0" -KEYWORDS="amd64 ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="metric" - -DEPEND="sys-apps/sed" -RDEPEND="" - -src_unpack() { - unpack ${A} - - #bug 105561 - epatch "${FILESDIR}"/${P}-include.diff -} - -src_compile() { - pagesize="" - use metric && pagesize="-DA4" - emake CFLAGS="-c ${CFLAGS} ${pagesize}" CC="$(tc-getCC)" || die "emake failed" -} - -src_install() { - # The Makefile is hard-coded to install to /usr/local/ so we - # simply copy the files manually - dobin jpeg2ps || die "dobin failed" - doman jpeg2ps.1 || die "doman failed" - dodoc jpeg2ps.txt || die "dodoc failed" -} - -pkg_postinst() { - elog - if [ -z ${pagesize} ]; then - elog "By default, this installation of jpeg2ps will generate" - elog "letter size output. You can force A4 output with" - elog " jpeg2ps -p a4 file.jpg > file.ps" - else - elog "By default, this installation of jpeg2ps will generate" - elog "A4 size output. You can force letter output with" - elog " jpeg2ps -p letter file.jpg > file.ps" - fi - elog -}