From bd1da1555f1f7388e84fb7e265b70b0bc579d6d3 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sun, 7 Mar 2021 16:45:41 -0500 Subject: sci-mathematics/topcom: new revision to fixup examples install. Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Michael Orlitzky --- sci-mathematics/topcom/topcom-0.17.8-r1.ebuild | 62 ++++++++++++++++++++++++++ sci-mathematics/topcom/topcom-0.17.8.ebuild | 59 ------------------------ 2 files changed, 62 insertions(+), 59 deletions(-) create mode 100644 sci-mathematics/topcom/topcom-0.17.8-r1.ebuild delete mode 100644 sci-mathematics/topcom/topcom-0.17.8.ebuild (limited to 'sci-mathematics') diff --git a/sci-mathematics/topcom/topcom-0.17.8-r1.ebuild b/sci-mathematics/topcom/topcom-0.17.8-r1.ebuild new file mode 100644 index 000000000000..a3496c642f69 --- /dev/null +++ b/sci-mathematics/topcom/topcom-0.17.8-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit autotools flag-o-matic + +DESCRIPTION="Computing Triangulations Of Point Configurations and Oriented Matroids" +HOMEPAGE="http://www.rambau.wm.uni-bayreuth.de/TOPCOM/" +SRC_URI=" + http://www.rambau.wm.uni-bayreuth.de/Software/TOPCOM-${PV}.tar.gz + doc? ( http://www.rambau.wm.uni-bayreuth.de/TOPCOM/TOPCOM-manual.html ) +" +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="doc examples" + +DEPEND=" + dev-libs/gmp:0 + >=sci-libs/cddlib-094f +" +RDEPEND="${DEPEND}" +BDEPEND="app-shells/tcsh" + +PATCHES=( "${FILESDIR}/${P}-buildsystem.patch" ) +HTML_DOCS=( "${DISTDIR}/TOPCOM-manual.html" ) + +src_prepare () { + default + + # ... and link in tree versions: + append-libs -lgmp -lgmpxx -lcddgmp + append-cxxflags -I/usr/include/cddlib + + eautoreconf + + find external -delete || die +} + +src_configure() { + econf --disable-static +} + +src_install () { + default + + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r examples + fi + use doc && einstalldocs + + mv "${ED}/usr/bin/cube" "${ED}/usr/bin/topcom_cube" || die + + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + elog "Due to a file collision with media-libs/lib3ds the helper" + elog "'cube' has been installed as topcom_cube (see bug #547030)." +} diff --git a/sci-mathematics/topcom/topcom-0.17.8.ebuild b/sci-mathematics/topcom/topcom-0.17.8.ebuild deleted file mode 100644 index e6627c5cd43a..000000000000 --- a/sci-mathematics/topcom/topcom-0.17.8.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit autotools flag-o-matic - -DESCRIPTION="Computing Triangulations Of Point Configurations and Oriented Matroids" -HOMEPAGE="http://www.rambau.wm.uni-bayreuth.de/TOPCOM/" -SRC_URI=" - http://www.rambau.wm.uni-bayreuth.de/Software/TOPCOM-${PV}.tar.gz - doc? ( http://www.rambau.wm.uni-bayreuth.de/TOPCOM/TOPCOM-manual.html ) -" -KEYWORDS="~amd64 ~x86" -SLOT="0" -LICENSE="GPL-2" -IUSE="doc examples" - -DEPEND=" - dev-libs/gmp:0 - >=sci-libs/cddlib-094f -" -RDEPEND="${DEPEND}" -BDEPEND="app-shells/tcsh" - -PATCHES=( "${FILESDIR}/${P}-buildsystem.patch" ) -HTML_DOCS=( "${DISTDIR}/TOPCOM-manual.html" ) - -src_prepare () { - default - - # ... and link in tree versions: - append-libs -lgmp -lgmpxx -lcddgmp - append-cxxflags -I/usr/include/cddlib - - eautoreconf - - find external -delete || die -} - -src_configure() { - econf --disable-static -} - -src_install () { - default - - use examples && docompress -x "/usr/share/doc/${PF}/examples" - use doc && einstalldocs - - mv "${ED}/usr/bin/cube" "${ED}/usr/bin/topcom_cube" || die - - find "${D}" -name '*.la' -delete || die -} - -pkg_postinst() { - elog "Due to a file collision with media-libs/lib3ds the helper" - elog "'cube' has been installed as topcom_cube (see bug #547030)." -} -- cgit v1.2.3-65-gdbad