summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-06-09 07:52:01 +0000
committerTim Harder <radhermit@gentoo.org>2011-06-09 07:52:01 +0000
commitc152fc8adba965426faaf5660975bc0b497911db (patch)
tree190a84c42f9fc9f3e09f53636c114efc0193a2d8 /media-gfx/mscgen
parentVersion bump. (diff)
downloadgentoo-2-c152fc8adba965426faaf5660975bc0b497911db.tar.gz
gentoo-2-c152fc8adba965426faaf5660975bc0b497911db.tar.bz2
gentoo-2-c152fc8adba965426faaf5660975bc0b497911db.zip
Version bump.
(Portage version: 2.2.0_alpha38/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/mscgen')
-rw-r--r--media-gfx/mscgen/ChangeLog9
-rw-r--r--media-gfx/mscgen/mscgen-0.20.ebuild40
2 files changed, 47 insertions, 2 deletions
diff --git a/media-gfx/mscgen/ChangeLog b/media-gfx/mscgen/ChangeLog
index c8116c29414f..a4e8d09c58d7 100644
--- a/media-gfx/mscgen/ChangeLog
+++ b/media-gfx/mscgen/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/mscgen
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/mscgen/ChangeLog,v 1.1 2010/11/02 19:13:34 ssuominen Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/mscgen/ChangeLog,v 1.2 2011/06/09 07:52:01 radhermit Exp $
+
+*mscgen-0.20 (09 Jun 2011)
+
+ 09 Jun 2011; Tim Harder <radhermit@gentoo.org> +mscgen-0.20.ebuild:
+ Version bump.
*mscgen-0.18 (02 Nov 2010)
diff --git a/media-gfx/mscgen/mscgen-0.20.ebuild b/media-gfx/mscgen/mscgen-0.20.ebuild
new file mode 100644
index 000000000000..321fe815b5bd
--- /dev/null
+++ b/media-gfx/mscgen/mscgen-0.20.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/mscgen/mscgen-0.20.ebuild,v 1.1 2011/06/09 07:52:01 radhermit Exp $
+
+EAPI=4
+inherit autotools
+
+DESCRIPTION="A message sequence chart generator"
+HOMEPAGE="http://www.mcternan.me.uk/mscgen/"
+SRC_URI="http://www.mcternan.me.uk/${PN}/software/${PN}-src-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="png truetype"
+
+RDEPEND="png? ( media-libs/gd[png,truetype?] )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ sys-devel/bison
+ sys-devel/flex"
+
+src_prepare() {
+ sed -i -e '/dist_doc_DATA/d' Makefile.am || die
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+
+ if use png; then
+ use truetype && myconf="--with-freetype"
+ else
+ myconf="--without-png"
+ fi
+
+ econf \
+ --docdir=/usr/share/doc/${PF} \
+ ${myconf}
+}