diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-11-02 19:13:34 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-11-02 19:13:34 +0000 |
commit | 0c37ca8623f63a09e0c7cd94dbea32b645815a87 (patch) | |
tree | f172aa55d1268f5de9643d0397ca6dbab6aeb723 /media-gfx/mscgen | |
parent | Adding flam3 live ebuild for #339448 (diff) | |
download | gentoo-2-0c37ca8623f63a09e0c7cd94dbea32b645815a87.tar.gz gentoo-2-0c37ca8623f63a09e0c7cd94dbea32b645815a87.tar.bz2 gentoo-2-0c37ca8623f63a09e0c7cd94dbea32b645815a87.zip |
Initial commit wrt #173570 by Roy, Peter, Walter (and others).
(Portage version: 2.2.0_alpha3/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/mscgen')
-rw-r--r-- | media-gfx/mscgen/ChangeLog | 10 | ||||
-rw-r--r-- | media-gfx/mscgen/files/mscgen-0.18-pkg.patch | 11 | ||||
-rw-r--r-- | media-gfx/mscgen/metadata.xml | 5 | ||||
-rw-r--r-- | media-gfx/mscgen/mscgen-0.18.ebuild | 49 |
4 files changed, 75 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/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 +} |