diff options
author | Markus Dittrich <markusle@gentoo.org> | 2009-09-01 02:32:00 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2009-09-01 02:32:00 +0000 |
commit | d4640110462db4795d00524c6aed67ef2e16872f (patch) | |
tree | 4c833ae4faf8b9e0c106979a8a93c5855d7e44c8 /sci-visualization | |
parent | Added missing dependency on qt-opengl (fixes bug #283181). (diff) | |
download | gentoo-2-d4640110462db4795d00524c6aed67ef2e16872f.tar.gz gentoo-2-d4640110462db4795d00524c6aed67ef2e16872f.tar.bz2 gentoo-2-d4640110462db4795d00524c6aed67ef2e16872f.zip |
Version bump. Also added patches for respecting LDFLAGS and making sure check is a phony target since it is not intended as a test file. Added myself as a maintainer.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'sci-visualization')
-rw-r--r-- | sci-visualization/fig2sxd/ChangeLog | 13 | ||||
-rw-r--r-- | sci-visualization/fig2sxd/fig2sxd-0.20.ebuild | 37 | ||||
-rw-r--r-- | sci-visualization/fig2sxd/files/fig2sxd-0.20-ldflags.patch | 12 | ||||
-rw-r--r-- | sci-visualization/fig2sxd/files/fig2sxd-0.20-phony-check.patch | 9 | ||||
-rw-r--r-- | sci-visualization/fig2sxd/metadata.xml | 3 |
5 files changed, 69 insertions, 5 deletions
diff --git a/sci-visualization/fig2sxd/ChangeLog b/sci-visualization/fig2sxd/ChangeLog index c76779f4a707..4365f4aed78f 100644 --- a/sci-visualization/fig2sxd/ChangeLog +++ b/sci-visualization/fig2sxd/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for sci-visualization/fig2sxd -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/fig2sxd/ChangeLog,v 1.6 2008/08/21 15:07:24 markusle Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/fig2sxd/ChangeLog,v 1.7 2009/09/01 02:31:58 markusle Exp $ + +*fig2sxd-0.20 (01 Sep 2009) + + 01 Sep 2009; Markus Dittrich <markusle@gentoo.org> +fig2sxd-0.20.ebuild, + +files/fig2sxd-0.20-ldflags.patch, +files/fig2sxd-0.20-phony-check.patch, + metadata.xml: + Version bump. Also added patches for respecting LDFLAGS and making + sure check is a phony target since it is not intended as a test file. + Added myself as a maintainer. *fig2sxd-0.18 (21 Aug 2008) diff --git a/sci-visualization/fig2sxd/fig2sxd-0.20.ebuild b/sci-visualization/fig2sxd/fig2sxd-0.20.ebuild new file mode 100644 index 000000000000..61f6fdad0331 --- /dev/null +++ b/sci-visualization/fig2sxd/fig2sxd-0.20.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/fig2sxd/fig2sxd-0.20.ebuild,v 1.1 2009/09/01 02:31:58 markusle Exp $ + +EAPI="2" + +inherit eutils toolchain-funcs + +DESCRIPTION="A utility to convert files in xfig format to OpenOffice.org Draw format" +LICENSE="GPL-2" + +HOMEPAGE="http://sourceforge.net/projects/fig2sxd" +SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.orig.tar.gz + mirror://sourceforge/${PN}/${PN}_${PV}-1.diff.gz" + +SLOT="0" + +KEYWORDS="~amd64 ~x86" + +IUSE="" + +src_prepare() { + epatch "${WORKDIR}"/${PN}_${PV}-1.diff + epatch "${FILESDIR}"/${P}-ldflags.patch + epatch "${FILESDIR}"/${P}-phony-check.patch +} + +src_compile() { + emake CXXFLAGS="${CXXFLAGS}" CXX="$(tc-getCXX)" \ + || die "emake failed" +} + +src_install() { + dobin ${PN} || die "Failed to install binary." + doman ${PN}.1 || die "Failed to install man page." + dodoc changelog || die "Failed ton install docs." +} diff --git a/sci-visualization/fig2sxd/files/fig2sxd-0.20-ldflags.patch b/sci-visualization/fig2sxd/files/fig2sxd-0.20-ldflags.patch new file mode 100644 index 000000000000..a9bd521d3196 --- /dev/null +++ b/sci-visualization/fig2sxd/files/fig2sxd-0.20-ldflags.patch @@ -0,0 +1,12 @@ +diff -Naur fig2sxd-0.20/Makefile fig2sxd-0.20.new/Makefile +--- fig2sxd-0.20/Makefile 2008-05-16 18:47:34.000000000 -0400 ++++ fig2sxd-0.20.new/Makefile 2009-08-31 22:14:38.000000000 -0400 +@@ -51,7 +51,7 @@ + LIBS = -lz + + $(TARGET1): $(OBJECTS1) +- $(CXX) -o $@ $^ $(LIBS) ++ $(CXX) $(LDFLAGS) $^ $(LIBS) -o $@ + + $(OBJECTS1): %.o: $(SRCDIR)%.cpp $(DEPEND)%.dep + $(CXX) $(CXXFLAGS) -o $@ -c $< diff --git a/sci-visualization/fig2sxd/files/fig2sxd-0.20-phony-check.patch b/sci-visualization/fig2sxd/files/fig2sxd-0.20-phony-check.patch new file mode 100644 index 000000000000..d9e76b8c9780 --- /dev/null +++ b/sci-visualization/fig2sxd/files/fig2sxd-0.20-phony-check.patch @@ -0,0 +1,9 @@ +diff -Naur fig2sxd-0.20/Makefile fig2sxd-0.20.new/Makefile +--- fig2sxd-0.20/Makefile 2008-05-16 18:47:34.000000000 -0400 ++++ fig2sxd-0.20.new/Makefile 2009-08-31 22:22:07.000000000 -0400 +@@ -75,4 +75,4 @@ + tar czf `date +"../fig2sxd-%Y-%m-%d-%H-%M.tar.gz"` -C $(SRCDIR)../ \ + $(ARCHFILES) + +-.PHONY: all clean ++.PHONY: all clean check diff --git a/sci-visualization/fig2sxd/metadata.xml b/sci-visualization/fig2sxd/metadata.xml index b50113d200ac..b229aec85b8f 100644 --- a/sci-visualization/fig2sxd/metadata.xml +++ b/sci-visualization/fig2sxd/metadata.xml @@ -2,7 +2,4 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>sci</herd> -<maintainer> - <email>phosphan@gentoo.org</email> -</maintainer> </pkgmetadata> |