Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 151841 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]
corrected 99%
diagrams-3.92.ebuild (text/plain), 2.49 KB, created by
Sebastian Glita
on 2008-05-04 18:20:58 UTC
(
hide
)
Description:
corrected 99%
Filename:
MIME Type:
Creator:
Sebastian Glita
Created:
2008-05-04 18:20:58 UTC
Size:
2.49 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit latex-package > > >DESCRIPTION="Paul Taylor's commutative diagrams." >HOMEPAGE="http://www.paultaylor.eu/diagrams" >SRC_URI="http://www.paultaylor.eu/diagrams/diagrams.sty \ > http://www.paultaylor.eu/diagrams/manual.tex " > >SLOT="1" >KEYWORDS="x86 ~x86-fbsd ~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc" > >IUSE="latex doc" > >src_unpack() { > cd "${DISTDIR}" > cp diagrams.sty "${WORKDIR}" > if use doc ; then > cp "manual.tex" "${WORKDIR}" > fi >} > >pkg_setup() { > # Taken from sci-mathematics/maxim when USE 'latex' enabled > # Calculating TEXMF > if use latex ; then > 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 > fi >} > >src_install() { > cd "${WORKDIR}" > if use doc ; then > latex-package_src_doinstall sty tex > dodoc manual.{tex,dvi} > else > latex-package_src_doinstall sty > fi || > die "Gentoo latex install failed" >} > >pkg_postinst() { > cd "${DISTDIR}" > rm -f diagrams.sty "manual.tex" > > latex-package_pkg_postinst > > if use doc ; then > einfo > einfo "Please view /usr/share/doc/${PF}/manual.dvi.bz2" > einfo "for the very author's docs on commutative diagrams package." > einfo > fi >}
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