summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-gfx/mscgen/ChangeLog10
-rw-r--r--media-gfx/mscgen/Manifest5
-rw-r--r--media-gfx/mscgen/files/mscgen-0.18-pkg.patch11
-rw-r--r--media-gfx/mscgen/metadata.xml5
-rw-r--r--media-gfx/mscgen/mscgen-0.18.ebuild49
5 files changed, 80 insertions, 0 deletions
diff --git a/media-gfx/mscgen/ChangeLog b/media-gfx/mscgen/ChangeLog
new file mode 100644
index 000000000000..c8116c29414f
--- /dev/null
+++ b/media-gfx/mscgen/ChangeLog
@@ -0,0 +1,10 @@
+# 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 $
+
+*mscgen-0.18 (02 Nov 2010)
+
+ 02 Nov 2010; Samuli Suominen <ssuominen@gentoo.org> +mscgen-0.18.ebuild,
+ +files/mscgen-0.18-pkg.patch:
+ Initial commit wrt #173570 by Roy, Peter, Walter (and others).
+
diff --git a/media-gfx/mscgen/Manifest b/media-gfx/mscgen/Manifest
new file mode 100644
index 000000000000..f02d7364df2e
--- /dev/null
+++ b/media-gfx/mscgen/Manifest
@@ -0,0 +1,5 @@
+AUX mscgen-0.18-pkg.patch 171 RMD160 1ed148e994a035696c928cbadf4d061a09727d95 SHA1 a00c666b3c90a1d0ffd7fb161bbc70c5e0a89e20 SHA256 0bc7b61386f456aa5c7e0907318644218710d65321f4f242741fa69005f8681a
+DIST mscgen-src-0.18.tar.gz 184568 RMD160 93a9797c6fef4e51c455c42cb4824e463ce2e0fe SHA1 7f80a6827d9b04807f8a296606b65e567496f3ef SHA256 ae1a0c5a25e23f3fd44dec2dbb35bbe389cc39141fb328658e60662a1ec0c0fd
+EBUILD mscgen-0.18.ebuild 1040 RMD160 c7fc8b2daa3e6fadab924ddac511b4f3539206d5 SHA1 84e07e87c4c347e2ed9feabfdfd40d11e2bc074b SHA256 e4408a8dde5b29c07fc53b2bcb1c3d68863bddfb5c24ca3a5afc2a1f2e1f3952
+MISC ChangeLog 409 RMD160 6b653a9941e80ab931567f9d21f44150c9964e6b SHA1 09546e57de0e345cca2f08c4ff1e45cd952beed7 SHA256 3b716edfa72000a8585ed45ae5d765bc8f0264fc8e10d967cdd2caa5d9a2a183
+MISC metadata.xml 161 RMD160 60f70b15d67f0e6aafc59833b2f0a30e30b51765 SHA1 1c35398222ef7ed670c31965e42cca77fe4b1da6 SHA256 e8daadc5e27e3ef1148993b5b48d96e93bc36d798a1f416693f7f8c84be427e1
diff --git a/media-gfx/mscgen/files/mscgen-0.18-pkg.patch b/media-gfx/mscgen/files/mscgen-0.18-pkg.patch
new file mode 100644
index 000000000000..72a9ce9c2a5e
--- /dev/null
+++ b/media-gfx/mscgen/files/mscgen-0.18-pkg.patch
@@ -0,0 +1,11 @@
+--- configure.ac
++++ configure.ac
+@@ -20,6 +20,8 @@
+ AC_CHECK_HEADERS([unistd.h])
+ AC_CHECK_HEADERS([limits.h])
+
++PKG_PROG_PKG_CONFIG
++
+ #
+ # Check if libgd is needed
+ #
diff --git a/media-gfx/mscgen/metadata.xml b/media-gfx/mscgen/metadata.xml
new file mode 100644
index 000000000000..e770d1bc9a96
--- /dev/null
+++ b/media-gfx/mscgen/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>graphics</herd>
+</pkgmetadata>
diff --git a/media-gfx/mscgen/mscgen-0.18.ebuild b/media-gfx/mscgen/mscgen-0.18.ebuild
new file mode 100644
index 000000000000..0d5d2662ee1c
--- /dev/null
+++ b/media-gfx/mscgen/mscgen-0.18.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/mscgen/mscgen-0.18.ebuild,v 1.1 2010/11/02 19:13:34 ssuominen Exp $
+
+EAPI=2
+inherit autotools eutils
+
+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() {
+ epatch "${FILESDIR}"/${P}-pkg.patch
+
+ 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} \
+ --disable-dependency-tracking \
+ ${myconf}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc ChangeLog README TODO
+}