summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-06-12 15:26:07 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-06-12 15:26:07 +0000
commitc28393b2e3a11a7e888b5b7d1a7f25888fc82a36 (patch)
treee6931120192884aa32b8abbfc61eef6aab502260 /x11-libs/qwtpolar
parentVersion bump (diff)
downloadgentoo-2-c28393b2e3a11a7e888b5b7d1a7f25888fc82a36.tar.gz
gentoo-2-c28393b2e3a11a7e888b5b7d1a7f25888fc82a36.tar.bz2
gentoo-2-c28393b2e3a11a7e888b5b7d1a7f25888fc82a36.zip
Initial commit. Required by qgis.
(Portage version: 2.2.0_alpha39/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/qwtpolar')
-rw-r--r--x11-libs/qwtpolar/ChangeLog10
-rw-r--r--x11-libs/qwtpolar/metadata.xml5
-rw-r--r--x11-libs/qwtpolar/qwtpolar-0.1.0.ebuild43
3 files changed, 58 insertions, 0 deletions
diff --git a/x11-libs/qwtpolar/ChangeLog b/x11-libs/qwtpolar/ChangeLog
new file mode 100644
index 000000000000..19785c66b8df
--- /dev/null
+++ b/x11-libs/qwtpolar/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for x11-libs/qwtpolar
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwtpolar/ChangeLog,v 1.1 2011/06/12 15:26:07 scarabeus Exp $
+
+*qwtpolar-0.1.0 (12 Jun 2011)
+
+ 12 Jun 2011; Tomáš Chvátal <scarabeus@gentoo.org> +qwtpolar-0.1.0.ebuild,
+ +metadata.xml:
+ Initial commit. Required by qgis.
+
diff --git a/x11-libs/qwtpolar/metadata.xml b/x11-libs/qwtpolar/metadata.xml
new file mode 100644
index 000000000000..3190fbf9c377
--- /dev/null
+++ b/x11-libs/qwtpolar/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>sci-geosciences</herd>
+</pkgmetadata>
diff --git a/x11-libs/qwtpolar/qwtpolar-0.1.0.ebuild b/x11-libs/qwtpolar/qwtpolar-0.1.0.ebuild
new file mode 100644
index 000000000000..437c8c7ab7d4
--- /dev/null
+++ b/x11-libs/qwtpolar/qwtpolar-0.1.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwtpolar/qwtpolar-0.1.0.ebuild,v 1.1 2011/06/12 15:26:07 scarabeus Exp $
+
+EAPI=4
+
+inherit multilib qt4-r2
+
+DESCRIPTION="Library for displaying values on a polar coordinate system"
+HOMEPAGE="http://qwtpolar.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="qwt"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="x11-libs/qwt:5[svg]"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -i \
+ -e "s:/path/to/qwt-5.2/include:${EPREFIX}/usr/include/qwt5:g" \
+ -e "s:/path/to/qwt-5.2/lib:${EPREFIX}/usr/$(get_libdir):g" \
+ -e "/= QwtPolarDesigner/ d" \
+ -e "s:/usr/local/qwtpolar-0.1.0:/usr/:g" \
+ ${PN}.pri || die
+
+ sed -i \
+ -e "s:{QWT_POLAR_ROOT}/lib:{QWT_POLAR_ROOT}/$(get_libdir):" \
+ src/src.pro || die
+}
+
+src_install() {
+ qt4-r2_src_install
+
+ rm -rf "${ED}/usr/doc" || die
+ dodir /usr/include/${PN}
+ mv "${ED}/usr/include/"*.h "${ED}/usr/include/${PN}/" || die
+
+ doman doc/man/man3/*
+ dohtml -r doc/html
+}