Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 151637 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]
diagrams*.ebuild
diagrams-3.92.ebuild (text/plain), 2.56 KB, created by
Sebastian Glita
on 2008-05-02 16:05:36 UTC
(
hide
)
Description:
diagrams*.ebuild
Filename:
MIME Type:
Creator:
Sebastian Glita
Created:
2008-05-02 16:05:36 UTC
Size:
2.56 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" > >for f in manual.{tex,pdf,ps.gz}; do > SRC_URI="${SRC_URI} http://www.paultaylor.eu/diagrams/$f" >done > >SLOT="1" >KEYWORDS="x86 ~x86-fbsd ~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc" > >IUSE="latex doc" >RDEPEND="${DEPEND}" >DEPEND="${DEPEND}" > >src_unpack() { > cd "${DISTDIR}" > > cp diagrams.sty "${WORKDIR}" > if use doc ; then > for f in manual.{tex,pdf,ps.gz}; do > cp "$f" "${WORKDIR}" > done > 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} > > latex-package_src_doinstall sty > > if use doc ; then > # latex-package_src_doinstall doc can't handle .gz nor dodoc > insinto "/usr/share/doc/${P}" > doins manual.{tex,pdf,ps.gz} > fi >} > >pkg_postinst() { > latex-package_pkg_postinst > if use doc ; then > einfo > einfo "Please view /usr/share/doc/${P}/manual.ps.gz" > einfo "for the very author's docs on commutative diagrams package." > 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