From 4b136a3e63e1884f349609516d803e5e6a9e5530 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sun, 25 Feb 2024 20:02:53 +0100 Subject: app-text/dvipsk: add 2023.03.11_p66203, drop 20230311_p66203 Signed-off-by: Florian Schmaus --- app-text/dvipsk/dvipsk-2023.03.11_p66203.ebuild | 56 +++++++++++++++++++++++++ app-text/dvipsk/dvipsk-20230311_p66203.ebuild | 56 ------------------------- 2 files changed, 56 insertions(+), 56 deletions(-) create mode 100644 app-text/dvipsk/dvipsk-2023.03.11_p66203.ebuild delete mode 100644 app-text/dvipsk/dvipsk-20230311_p66203.ebuild diff --git a/app-text/dvipsk/dvipsk-2023.03.11_p66203.ebuild b/app-text/dvipsk/dvipsk-2023.03.11_p66203.ebuild new file mode 100644 index 0000000..89f7a18 --- /dev/null +++ b/app-text/dvipsk/dvipsk-2023.03.11_p66203.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit texlive-common + +TL_VERSION="$(ver_cut 1)$(ver_cut 2)$(ver_cut 3)" +DESCRIPTION="DVI-to-PostScript translator" +HOMEPAGE="https://tug.org/texlive/" +SRC_URI="https://mirrors.ctan.org/systems/texlive/Source/texlive-${TL_VERSION}-source.tar.xz" + +DVIPS_REVISION=$(ver_cut 5) +EXTRA_TL_MODULES="dvips.r${DVIPS_REVISION}" +EXTRA_TL_DOC_MODULES="dvips.doc.r${DVIPS_REVISION}" + +texlive-common_append_to_src_uri EXTRA_TL_MODULES + +SRC_URI+=" doc? ( " +texlive-common_append_to_src_uri EXTRA_TL_DOC_MODULES +SRC_URI+=" ) " + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="doc source" + +DEPEND=">=dev-libs/kpathsea-6.2.1:=" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +S="${WORKDIR}/texlive-${TL_VERSION}-source/texk/${PN}" + +src_configure() { + econf --with-system-kpathsea +} + +src_install() { + emake DESTDIR="${D}" prologdir="${EPREFIX}/usr/share/texmf-dist/dvips/base" install + + dodir /usr/share # just in case + cp -pR "${WORKDIR}"/texmf-dist "${ED}/usr/share/" || die "failed to install texmf trees" + if use source ; then + cp -pR "${WORKDIR}"/tlpkg "${ED}/usr/share/" || die "failed to install tlpkg files" + fi + + dodoc AUTHORS ChangeLog NEWS README TODO +} + +pkg_postinst() { + etexmf-update +} + +pkg_postrm() { + etexmf-update +} diff --git a/app-text/dvipsk/dvipsk-20230311_p66203.ebuild b/app-text/dvipsk/dvipsk-20230311_p66203.ebuild deleted file mode 100644 index 5b2eba1..0000000 --- a/app-text/dvipsk/dvipsk-20230311_p66203.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit texlive-common - -TL_VERSION=$(ver_cut 1) -DESCRIPTION="DVI-to-PostScript translator" -HOMEPAGE="https://tug.org/texlive/" -SRC_URI="https://mirrors.ctan.org/systems/texlive/Source/texlive-${TL_VERSION}-source.tar.xz" - -DVIPS_REVISION=$(ver_cut 3) -EXTRA_TL_MODULES="dvips.r${DVIPS_REVISION}" -EXTRA_TL_DOC_MODULES="dvips.doc.r${DVIPS_REVISION}" - -texlive-common_append_to_src_uri EXTRA_TL_MODULES - -SRC_URI+=" doc? ( " -texlive-common_append_to_src_uri EXTRA_TL_DOC_MODULES -SRC_URI+=" ) " - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="doc source" - -DEPEND=">=dev-libs/kpathsea-6.2.1:=" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -S="${WORKDIR}/texlive-${TL_VERSION}-source/texk/${PN}" - -src_configure() { - econf --with-system-kpathsea -} - -src_install() { - emake DESTDIR="${D}" prologdir="${EPREFIX}/usr/share/texmf-dist/dvips/base" install - - dodir /usr/share # just in case - cp -pR "${WORKDIR}"/texmf-dist "${ED}/usr/share/" || die "failed to install texmf trees" - if use source ; then - cp -pR "${WORKDIR}"/tlpkg "${ED}/usr/share/" || die "failed to install tlpkg files" - fi - - dodoc AUTHORS ChangeLog NEWS README TODO -} - -pkg_postinst() { - etexmf-update -} - -pkg_postrm() { - etexmf-update -} -- cgit v1.2.3-65-gdbad