/[gentoo-x86]/media-gfx/pstoedit/pstoedit-3.60.ebuild
Gentoo

Contents of /media-gfx/pstoedit/pstoedit-3.60.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu Jun 28 12:47:18 2012 UTC (10 months, 3 weeks ago) by naota
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
Add ~x86-fbsd. #395347

(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/pstoedit/pstoedit-3.60.ebuild,v 1.4 2012/05/09 18:10:26 aballier Exp $
4
5 EAPI=4
6 inherit autotools eutils
7
8 DESCRIPTION="Translate PostScript and PDF graphics into other vector formats"
9 HOMEPAGE="http://sourceforge.net/projects/pstoedit/"
10 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
15 IUSE="emf flash imagemagick plotutils"
16
17 RDEPEND=">=media-libs/libpng-1.4.3
18 >=media-libs/gd-2.0.35-r1
19 >=app-text/ghostscript-gpl-8.71-r1
20 emf? ( >=media-libs/libemf-1.0.3 )
21 flash? ( >=media-libs/ming-0.4.3 )
22 imagemagick? ( >=media-gfx/imagemagick-6.6.1.2[cxx] )
23 plotutils? ( media-libs/plotutils )"
24 DEPEND="${RDEPEND}
25 virtual/pkgconfig"
26
27 src_prepare() {
28 sed -i \
29 -e '/CXXFLAGS="-g"/d' \
30 -e 's:-pedantic::' \
31 configure.ac || die
32
33 epatch "${FILESDIR}"/${P}-parallel.patch \
34 "${FILESDIR}"/${P}-libdl.patch
35
36 eautoreconf
37 }
38
39 src_configure() {
40 econf \
41 $(use_with emf) \
42 $(use_with imagemagick magick) \
43 $(use_with plotutils libplot) \
44 $(use_with flash swf)
45 }
46
47 src_install() {
48 emake DESTDIR="${D}" install
49 doman doc/pstoedit.1
50 dodoc doc/*.txt
51 dohtml doc/*.htm
52 }

  ViewVC Help
Powered by ViewVC 1.1.13