diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-08-25 07:36:27 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-08-25 07:36:27 +0100 |
commit | 43793fab84041cfc5c60c0151d1591b8a69fb24a (patch) | |
tree | 6208a7f4fc744684fce0f55acbb47511acace498 /dev-tex/dvi2gr | |
parent | 28e3d252dc8ac8a5635206dfefe1cfe05058d1db (diff) |
gentoo resync : 25.08.2018
Diffstat (limited to 'dev-tex/dvi2gr')
-rw-r--r-- | dev-tex/dvi2gr/Manifest | 1 | ||||
-rw-r--r-- | dev-tex/dvi2gr/dvi2gr-0.4-r1.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-tex/dvi2gr/Manifest b/dev-tex/dvi2gr/Manifest index 28b91c4cace1..175cc3b5704d 100644 --- a/dev-tex/dvi2gr/Manifest +++ b/dev-tex/dvi2gr/Manifest @@ -1,3 +1,4 @@ DIST dvi2gr-0.4.tar.gz 10240 BLAKE2B 2caeae03e7d0219542cdc939e6419f84ddcde7050509ec073dfb8010b3f957129f09ca5a25fcda3e058bbfaa1fca772927e036cdfe67cf95fea090b53579bcfe SHA512 d0b69eac3ffb9e6975195fae0a8a16c58c547eb6ffa8954799cfacf88ea1fdfe943cdbd6665694d8c346e5dda88b8df3b031a620323158081cbac45a7e44be19 +EBUILD dvi2gr-0.4-r1.ebuild 916 BLAKE2B 51a48db3a040e7b5e671c723dc2073498b3775741901550faabeb390c59ae678183af91da74329b1e13051e005eb5d156c6626f3a4a7dcc77c7fe9ae82b83179 SHA512 1401f0f1f7b705325072a9b3ea75d6dc725a9b26474cc37b57f3f844ab96c85f7a89a444534d25e0e6c4a1b27cbe2bf03637cc0548d3dfbb30e563dfcc452571 EBUILD dvi2gr-0.4.ebuild 890 BLAKE2B c54d8afae31f1bf26be4923bf7f3ed0caa96d228a895693d54976594056dae1899831e75007fcb95e52a1d0d2dc56444ad6e072898bebfb4a2fdbe8721538c12 SHA512 cf78fa398b337a4a1fc5d3e044411cc99006fc21cf61fd9a4a15b670ea5335596217c2bef4efb04bc53ef72066bfc2f41a4be1c37ecfc20ed8234b0f60fdfc63 MISC metadata.xml 415 BLAKE2B 3deb0cf15844afb12fc48abcef56a46d52f1d611e65463fed37f116d802dd6d22852299f1c830f97809afe289732edef0a99e27adc1a217317dd4e70552c7281 SHA512 d4a50911514e2caa79ec7fd6c7393b99c83a7e1f4704137ea1c62633f324b21e7ceabb097430aba6b6b60ed587ce9019e3c5db7b6544e8aed6293938b2376b0a diff --git a/dev-tex/dvi2gr/dvi2gr-0.4-r1.ebuild b/dev-tex/dvi2gr/dvi2gr-0.4-r1.ebuild new file mode 100644 index 000000000000..0de71abc833b --- /dev/null +++ b/dev-tex/dvi2gr/dvi2gr-0.4-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="DVI to Grace translator" +HOMEPAGE="http://plasma-gate.weizmann.ac.il/Grace/" +SRC_URI="ftp://plasma-gate.weizmann.ac.il/pub/grace/src/devel/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +DEPEND="media-libs/t1lib" +RDEPEND="${DEPEND}" + +src_prepare() { + tc-export CC + default + # respect flags + sed -i \ + -e '/^LDFLAGS/d' -e '/^CFLAGS/d' -e '/^CC/d' \ + Makefile || die + sed -i -e 's/DVI2GR=\.\/dvi2gr/DVI2GR=$(which dvi2gr)/g' runtest.sh || die +} + +src_install() { + dobin ${PN} + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins *.ti runtest.sh + fi + + insinto /usr/share/${PN} + doins -r fonts +} + +pkg_postinst() { + einfo "Don't forget install the TeX-Fonts in Grace" + einfo " /usr/share/${PN}/fonts/FontDataBase" +} |