Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 247707 Details for
Bug 220053
new ebuild =dev-tex/diagrams-3.92
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-tex/diagrams-3.93 new ebuild
diagrams-3.93.ebuild (text/plain), 2.52 KB, created by
Sebastian Glita
on 2010-09-17 09:16:01 UTC
(
hide
)
Description:
dev-tex/diagrams-3.93 new ebuild
Filename:
MIME Type:
Creator:
Sebastian Glita
Created:
2010-09-17 09:16:01 UTC
Size:
2.52 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >RESTRICT="primaryuri" > >EAPI="2" >inherit latex-package > >DESCRIPTION="Paul Taylor's commutative diagrams." >HOMEPAGE="http://www.paultaylor.eu/diagrams" >SRC_URI="http://www.paultaylor.eu/diagrams/V3,93.tex \ > doc? ( http://www.paultaylor.eu/diagrams/manual.tex )" > >SLOT="0" >KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86" >IUSE="+latex doc" > >S="${WORKDIR}" > >src_unpack() { > cp "${DISTDIR}"/V3,93.tex "${S}" > mv V3,93.tex diagrams.sty > > use doc || return > > cp "${DISTDIR}"/manual.tex "${S}" >} > >pkg_setup() { > use latex || die "Please build with USE flag \`lattex' enabled." > > # Taken from sci-mathematics/maxima when USE 'latex' enabled > # Calculating TEXMF > local TEXMFPATH="$(kpsewhich -var-value=TEXMFSITE)" > local TEXMFCONFIGFILE="$(kpsewhich texmf.cnf)" > > if [ -z "${TEXMFPATH}" ]; then > eerror "You haven't defined the TEXMFSITE variable in your TeX config." > eerror "Please do so in the file ${TEXMFCONFIGFILE:-/var/lib/texmf/web2c/texmf.cnf}" > die "Define TEXMFSITE in TeX configuration!" > else > # go through the colon separated list of directories > # (maybe only one) provided in the variable > # TEXMFPATH (generated from TEXMFSITE from TeX's config) > # and choose only the first entry. > # All entries are separated by colons, even when defined > # with semi-colons, kpsewhich changes > # the output to a generic format, so IFS has to be redefined. > local IFS="${IFS}:" > for strippedpath in "${TEXMFPATH}"; do > if [ -d "${strippedpath}" ]; then > TEXMF="${strippedpath}" > break > fi > done > > # verify if an existing path was chosen to prevent from > # installing into the wrong directory > if [ -z "${TEXMF}" ]; then > eerror "TEXMFSITE does not contain any existing directory." > eerror "Please define an existing directory in your TeX config file" > eerror "${TEXMFCONFIGFILE:-/var/lib/texmf/web2c/texmf.cnf} or create at least one of the there specified directories" > die "TEXMFSITE variable did not contain an existing directory" > fi > fi >} > >src_install() { > cd "${S}" > use doc || latex-package_src_doinstall sty || die "latex install failed" > > use doc || return > > latex-package_src_doinstall sty tex || die "latex install failed" > dodoc manual.{tex,dvi} || die "documenting manuals failed" >} > >pkg_postinst() { > latex-package_pkg_postinst > > use doc || return > > einfo > einfo "Please view /usr/share/doc/${PF}/manual.dvi.bz2" > einfo "for the very author's docs on commutative diagrams package." > einfo >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 220053
:
151637
|
151841
|
247707
|
314297