diff --git a/dev-octave/matlab2tikz/Manifest b/dev-octave/matlab2tikz/Manifest new file mode 100644 index 0000000000..8d30764f82 --- /dev/null +++ b/dev-octave/matlab2tikz/Manifest @@ -0,0 +1 @@ +DIST matlab2tikz-1.1.0.tar.gz 178123 BLAKE2B 6cbc85863f5ca0e1868995b80af82ee92775d2d147049efd3774a8536d9c542f75006b742226fd50852ffe58fc79c83f6d2e215e99ba04eef0b0c0078034a1f6 SHA512 be007d294947841adb322ddf311bab9f3e151e776d9314978a2d32effe4d236591c979eb7ba1410231a1b8618c12148a90f10530a9273905561e7d7caf9de280 diff --git a/dev-octave/matlab2tikz/matlab2tikz-1.1.0.ebuild b/dev-octave/matlab2tikz/matlab2tikz-1.1.0.ebuild new file mode 100644 index 0000000000..d22c91b18e --- /dev/null +++ b/dev-octave/matlab2tikz/matlab2tikz-1.1.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit optfeature + +DESCRIPTION="convert native MATLAB(R) figures to TikZ/Pgfplots" +HOMEPAGE="https://github.com/matlab2tikz/matlab2tikz" +SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=">=sci-mathematics/octave-4.0.0" +RDEPEND="${DEPEND}" + +src_install() { + dodoc README.md CHANGELOG.md + export pkgpath="/usr/share/octave/site/m/${PN}" + insinto "${pkgpath}" + doins -r src/* +} + +pkg_postinst() { + # TODO: is there a way to do this automatically for all users? + einfo "Run addpath('${pkgpath}'); inside octave to add this package to the octave path" + optfeature "to build the generated files" dev-texlive/texlive-pictures dev-texlive/texlive-latexextra +} diff --git a/dev-octave/matlab2tikz/metadata.xml b/dev-octave/matlab2tikz/metadata.xml new file mode 100644 index 0000000000..226344f270 --- /dev/null +++ b/dev-octave/matlab2tikz/metadata.xml @@ -0,0 +1,12 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + https://github.com/matlab2tikz/matlab2tikz/issues + matlab2tikz/matlab2tikz + +