summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2011-05-03 15:12:59 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2011-05-03 15:12:59 +0000
commit1df591b9324ac16ac516a97c983aa8733b79a317 (patch)
tree3626c10f157d5c43dc2a131105f1d931037952e5 /sci-visualization/fig2sxd/fig2sxd-0.21.ebuild
parentRemoved versions depending on sys-apps/chpax, see bug #365825 (diff)
downloadgentoo-2-1df591b9324ac16ac516a97c983aa8733b79a317.tar.gz
gentoo-2-1df591b9324ac16ac516a97c983aa8733b79a317.tar.bz2
gentoo-2-1df591b9324ac16ac516a97c983aa8733b79a317.zip
Version bump
(Portage version: 2.1.9.46/cvs/Linux x86_64)
Diffstat (limited to 'sci-visualization/fig2sxd/fig2sxd-0.21.ebuild')
-rw-r--r--sci-visualization/fig2sxd/fig2sxd-0.21.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/sci-visualization/fig2sxd/fig2sxd-0.21.ebuild b/sci-visualization/fig2sxd/fig2sxd-0.21.ebuild
new file mode 100644
index 000000000000..c4055586e8df
--- /dev/null
+++ b/sci-visualization/fig2sxd/fig2sxd-0.21.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/fig2sxd/fig2sxd-0.21.ebuild,v 1.1 2011/05/03 15:12:59 bicatali Exp $
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A utility to convert files in xfig format to OpenOffice.org Draw format"
+LICENSE="GPL-2"
+PVD=2
+
+HOMEPAGE="http://sourceforge.net/projects/fig2sxd"
+SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.orig.tar.gz
+ mirror://sourceforge/${PN}/${PN}_${PV}-${PVD}.diff.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-linux ~ppc-macos"
+IUSE=""
+
+DEPEND=""
+RDEPENd=""
+
+src_prepare() {
+ epatch "${WORKDIR}"/${PN}_${PV}-${PVD}.diff
+ epatch "${FILESDIR}"/${PN}-0.20-ldflags.patch
+ epatch "${FILESDIR}"/${PN}-0.20-phony-check.patch
+}
+
+src_compile() {
+ emake CXXFLAGS="${CXXFLAGS}" CXX="$(tc-getCXX)"
+}
+
+src_install() {
+ dobin ${PN}
+ doman ${PN}.1
+ dodoc changelog
+}