diff options
Diffstat (limited to 'dev-util/qfsm/qfsm-0.54.0.ebuild')
-rw-r--r-- | dev-util/qfsm/qfsm-0.54.0.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-util/qfsm/qfsm-0.54.0.ebuild b/dev-util/qfsm/qfsm-0.54.0.ebuild new file mode 100644 index 000000000000..de83220dad23 --- /dev/null +++ b/dev-util/qfsm/qfsm-0.54.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +MY_P="${P}-Source" + +inherit cmake-utils + +DESCRIPTION="A graphical tool for designing finite state machines" +HOMEPAGE="http://qfsm.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="sys-libs/zlib + dev-qt/qtcore:4 + dev-qt/qt3support:4 + dev-qt/qtsvg:4 + >=media-gfx/graphviz-2.36" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +DOCS=( ChangeLog README TODO ) + +src_prepare() +{ + # remove broken pre-generated Makefile + rm Makefile || die 'rm Makefile failed' + # fix desktop files + sed -i -e '/Encoding/d' \ + -e 's/\.png//' \ + desktop/qfsm.desktop || die 'sed on qfsm.desktop failed' + # fix doc path installation, bug #130641 + sed -i -e "s:share/doc/qfsm:share/doc/${P}/html:g" CMakeLists.txt || die 'sed on CMakeLists.txt failed' + + cmake-utils_src_prepare +} |