You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# Copyright 1999-2013 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
|
|
|
|
inherit latex-package texlive-common
|
|
|
|
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DESCRIPTION="A non validating namespace aware XML parser implemented in TeX"
|
|
|
|
HOMEPAGE="http://www.dcarlisle.demon.co.uk/xmltex/manual.html"
|
|
|
|
# Taken from: ftp://www.ctan.org/tex-archive/macros/xmltex.tar.gz
|
|
|
|
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="LPPL-1.2"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x86-solaris"
|
|
|
|
|
|
|
|
S=${WORKDIR}/${PN}/base
|
|
|
|
|
|
|
|
TEXMF=/usr/share/texmf-site
|
|
|
|
|
|
|
|
DEPEND="virtual/latex-base"
|
|
|
|
|
|
|
|
RDEPEND="${DEPEND}
|
|
|
|
!=dev-texlive/texlive-htmlxml-2007*"
|
|
|
|
|
|
|
|
src_compile() {
|
|
|
|
TEXMFHOME="${S}" fmtutil --cnffile "${FILESDIR}/format.${PN}.cnf" --fmtdir "${S}/texmf-var/web2c" --all\
|
|
|
|
|| die "failed to build format ${PN}"
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
insinto /var/lib/texmf
|
|
|
|
doins -r texmf-var/*
|
|
|
|
|
|
|
|
insinto ${TEXMF}/tex/xmltex/base
|
|
|
|
doins *.{xmt,cfg,xml,tex}
|
|
|
|
insinto ${TEXMF}/tex/xmltex/config
|
|
|
|
doins *.ini
|
|
|
|
|
|
|
|
etexlinks "${FILESDIR}/format.${PN}.cnf"
|
|
|
|
insinto /etc/texmf/fmtutil.d
|
|
|
|
doins "${FILESDIR}/format.${PN}.cnf"
|
|
|
|
|
|
|
|
dohtml *.html
|
|
|
|
dodoc readme.txt
|
|
|
|
}
|