summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2017-04-17 22:03:56 +0200
committerUlrich Müller <ulm@gentoo.org>2017-04-17 22:04:31 +0200
commite18061761dd97f74c13850779395103eec9589ef (patch)
treeecc40ae8d1ddff07dc385582024c9754fc6c9c29 /dev-tex
parentnet-wireless/chirp: so many updates (diff)
downloadgentoo-e18061761dd97f74c13850779395103eec9589ef.tar.gz
gentoo-e18061761dd97f74c13850779395103eec9589ef.tar.bz2
gentoo-e18061761dd97f74c13850779395103eec9589ef.zip
dev-tex/feynmf: Create relative rather than absolute symlinks in doc dir.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/feynmf/feynmf-1.08-r5.ebuild (renamed from dev-tex/feynmf/feynmf-1.08-r4.ebuild)7
1 files changed, 4 insertions, 3 deletions
diff --git a/dev-tex/feynmf/feynmf-1.08-r4.ebuild b/dev-tex/feynmf/feynmf-1.08-r5.ebuild
index 3b80d8be6e08..397fbe2b1ccb 100644
--- a/dev-tex/feynmf/feynmf-1.08-r4.ebuild
+++ b/dev-tex/feynmf/feynmf-1.08-r5.ebuild
@@ -7,7 +7,7 @@ inherit eutils latex-package
DESCRIPTION="Combined LaTeX/Metafont package for drawing of Feynman diagrams"
HOMEPAGE="http://www.ctan.org/tex-archive/macros/latex/contrib/feynmf/"
-#Taken from: ftp.tug.ctan.org/tex-archive/macros/latex/contrib/${PN}.tar.gz
+# Taken from: ftp.tug.ctan.org/tex-archive/macros/latex/contrib/${PN}.tar.gz
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.gz
doc? ( https://dev.gentoo.org/~ulm/distfiles/${PN}-cnl.tar.gz )"
@@ -43,7 +43,8 @@ src_install() {
insinto ${TEXMF}/metapost/${PN}; doins feynmp.mp
dodoc README manual.ps template.tex
docompress -x /usr/share/doc/${PF}/manual.ps
- dosym /usr/share/doc/${PF}/manual.ps \
+ # TEXMF is /usr/share/ plus one further path component
+ dosym ../../../../doc/${PF}/manual.ps \
${TEXMF}/doc/latex/${PN}/${PN}-manual.ps
if use doc; then
@@ -51,7 +52,7 @@ src_install() {
for f in fmfcnl*.ps; do
dodoc ${f}
docompress -x /usr/share/doc/${PF}/${f}
- dosym /usr/share/doc/${PF}/${f} ${TEXMF}/doc/latex/${PN}/${f}
+ dosym ../../../../doc/${PF}/${f} ${TEXMF}/doc/latex/${PN}/${f}
done
fi
}