Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tex/feynmf/
Date: Mon, 17 Apr 2017 20:04:43
Message-Id: 1492459471.e18061761dd97f74c13850779395103eec9589ef.ulm@gentoo
1 commit: e18061761dd97f74c13850779395103eec9589ef
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 17 20:03:56 2017 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 17 20:04:31 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1806176
7
8 dev-tex/feynmf: Create relative rather than absolute symlinks in doc dir.
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 dev-tex/feynmf/{feynmf-1.08-r4.ebuild => feynmf-1.08-r5.ebuild} | 7 ++++---
13 1 file changed, 4 insertions(+), 3 deletions(-)
14
15 diff --git a/dev-tex/feynmf/feynmf-1.08-r4.ebuild b/dev-tex/feynmf/feynmf-1.08-r5.ebuild
16 similarity index 86%
17 rename from dev-tex/feynmf/feynmf-1.08-r4.ebuild
18 rename to dev-tex/feynmf/feynmf-1.08-r5.ebuild
19 index 3b80d8be6e0..397fbe2b1cc 100644
20 --- a/dev-tex/feynmf/feynmf-1.08-r4.ebuild
21 +++ b/dev-tex/feynmf/feynmf-1.08-r5.ebuild
22 @@ -7,7 +7,7 @@ inherit eutils latex-package
23
24 DESCRIPTION="Combined LaTeX/Metafont package for drawing of Feynman diagrams"
25 HOMEPAGE="http://www.ctan.org/tex-archive/macros/latex/contrib/feynmf/"
26 -#Taken from: ftp.tug.ctan.org/tex-archive/macros/latex/contrib/${PN}.tar.gz
27 +# Taken from: ftp.tug.ctan.org/tex-archive/macros/latex/contrib/${PN}.tar.gz
28 SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.gz
29 doc? ( https://dev.gentoo.org/~ulm/distfiles/${PN}-cnl.tar.gz )"
30
31 @@ -43,7 +43,8 @@ src_install() {
32 insinto ${TEXMF}/metapost/${PN}; doins feynmp.mp
33 dodoc README manual.ps template.tex
34 docompress -x /usr/share/doc/${PF}/manual.ps
35 - dosym /usr/share/doc/${PF}/manual.ps \
36 + # TEXMF is /usr/share/ plus one further path component
37 + dosym ../../../../doc/${PF}/manual.ps \
38 ${TEXMF}/doc/latex/${PN}/${PN}-manual.ps
39
40 if use doc; then
41 @@ -51,7 +52,7 @@ src_install() {
42 for f in fmfcnl*.ps; do
43 dodoc ${f}
44 docompress -x /usr/share/doc/${PF}/${f}
45 - dosym /usr/share/doc/${PF}/${f} ${TEXMF}/doc/latex/${PN}/${f}
46 + dosym ../../../../doc/${PF}/${f} ${TEXMF}/doc/latex/${PN}/${f}
47 done
48 fi
49 }