Gentoo Archives: gentoo-commits

From: "Andreas Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/plotutils/
Date: Sat, 11 Feb 2017 23:10:18
Message-Id: 1486854607.875758d28b1c937923099d255642fc5603bc9434.dilfridge@gentoo
1 commit: 875758d28b1c937923099d255642fc5603bc9434
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 11 23:07:45 2017 +0000
4 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 11 23:10:07 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=875758d2
7
8 media-libs/plotutils: Remove old
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 media-libs/plotutils/plotutils-2.6.ebuild | 71 -------------------------------
13 1 file changed, 71 deletions(-)
14
15 diff --git a/media-libs/plotutils/plotutils-2.6.ebuild b/media-libs/plotutils/plotutils-2.6.ebuild
16 deleted file mode 100644
17 index ec3ac3d528..0000000000
18 --- a/media-libs/plotutils/plotutils-2.6.ebuild
19 +++ /dev/null
20 @@ -1,71 +0,0 @@
21 -# Copyright 1999-2013 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Id$
24 -
25 -EAPI=3
26 -inherit libtool eutils autotools
27 -
28 -DESCRIPTION="a powerful C/C++ function library for exporting 2-D vector graphics"
29 -HOMEPAGE="https://www.gnu.org/software/plotutils/"
30 -SRC_URI="mirror://gnu/plotutils/${P}.tar.gz"
31 -
32 -LICENSE="GPL-2"
33 -SLOT="0"
34 -KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 s390 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris"
35 -IUSE="+png static-libs X"
36 -
37 -DEPEND="
38 - !media-libs/libxmi
39 - png? ( media-libs/libpng
40 - sys-libs/zlib )
41 - X? ( x11-libs/libXaw
42 - x11-proto/xextproto )"
43 -RDEPEND="${DEPEND}"
44 -
45 -src_prepare() {
46 - epatch "${FILESDIR}/${PN}-2.5.1-rangecheck.patch"
47 - epatch "${FILESDIR}/${P}-makefile.patch"
48 - epatch "${FILESDIR}/${P}-libpng-1.5.patch"
49 - sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac
50 - eautoreconf
51 - elibtoolize
52 -}
53 -
54 -src_configure() {
55 - local myconf
56 - if use X ; then
57 - myconf="--with-x --enable-libxmi"
58 - else
59 - myconf="--without-x"
60 - fi
61 -
62 - econf \
63 - --disable-dependency-tracking \
64 - --enable-shared \
65 - --enable-libplotter \
66 - $(use_enable static-libs static) \
67 - $(use_with png libpng) \
68 - ${myconf}
69 -}
70 -
71 -src_install() {
72 - emake DESTDIR="${D}" install || die "emake install failed"
73 - dodoc AUTHORS COMPAT ChangeLog INSTALL.* \
74 - KNOWN_BUGS NEWS ONEWS PROBLEMS README THANKS TODO
75 -}
76 -
77 -pkg_postinst() {
78 - if use X ; then
79 - elog "There are extra fonts available in the plotutils package."
80 - elog "The current ebuild does not install them for you since most"
81 - elog "of them can be installed via the media-fonts/urw-fonts"
82 - elog "package. See /usr/share/doc/${P}/INSTALL.fonts for"
83 - elog "information on installing the remaining Tektronix fonts."
84 - elog ""
85 - elog "If you manually install the extra fonts and use the"
86 - elog "program xfig, you might want to recompile to take"
87 - elog "advantage of the additional ps fonts."
88 - elog "Also, it is possible to enable ghostscript and possibly"
89 - elog "your printer to use the HP fonts."
90 - fi
91 -}