/[gentoo-x86]/media-gfx/mscgen/mscgen-0.20.ebuild
Gentoo

Contents of /media-gfx/mscgen/mscgen-0.20.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Thu Dec 20 13:48:09 2012 UTC (4 months, 4 weeks ago) by nativemad
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +2 -2 lines
x86 stable, see bug 435976. Thanks Myckel Habets for testing.

(Portage version: 2.1.11.31/cvs/Linux i686, signed Manifest commit with key C1DE54B2)

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/mscgen/mscgen-0.20.ebuild,v 1.8 2012/10/03 10:27:38 ago Exp $
4
5 EAPI=4
6 inherit autotools
7
8 DESCRIPTION="A message sequence chart generator"
9 HOMEPAGE="http://www.mcternan.me.uk/mscgen/"
10 SRC_URI="http://www.mcternan.me.uk/${PN}/software/${PN}-src-${PV}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 arm ppc ppc64 x86"
15 IUSE="png truetype"
16
17 RDEPEND="png? ( media-libs/gd[png,truetype?] )"
18 DEPEND="${RDEPEND}
19 virtual/pkgconfig
20 sys-devel/bison
21 sys-devel/flex"
22
23 # Workaround for bug #379279
24 RESTRICT="test"
25
26 src_prepare() {
27 sed -i -e '/dist_doc_DATA/d' Makefile.am || die
28 eautoreconf
29 }
30
31 src_configure() {
32 local myconf
33
34 if use png; then
35 use truetype && myconf="--with-freetype"
36 else
37 myconf="--without-png"
38 fi
39
40 econf \
41 --docdir=/usr/share/doc/${PF} \
42 ${myconf}
43 }

  ViewVC Help
Powered by ViewVC 1.1.13