*/*: Discontinue Gentoo SuperH port
[gentoo.git] / dev-tex / latex-beamer / latex-beamer-3.56-r1.ebuild
index 019aff4a629875023b6db6ea65c2acc39516577c..e3cadf8b02d6c17ae9a9230c17816c616344cbf8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/josephwright/beamer/archive/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="GPL-2 FDL-1.2 LPPL-1.3c"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
 IUSE="doc"
 
 DEPEND="dev-texlive/texlive-latex"
@@ -21,7 +21,7 @@ RDEPEND=">=dev-tex/pgf-1.10
 
 S=${WORKDIR}/beamer-${PV}
 
-src_prepare(){
+src_prepare() {
        default
        rm -rf doc/licenses || die
 }
@@ -34,7 +34,7 @@ src_install() {
 
        if use doc ; then
                docinto doc
-               dodoc -r doc
-               dosym "/usr/share/doc/${PF}/doc/" "${TEXMF}/doc/latex/beamer"
+               dodoc -r  doc
+               dosym "../../../../../usr/share/doc/${PF}/doc/" "${TEXMF}/doc/latex/beamer"
        fi
 }