diff options
Diffstat (limited to 'dev-tex/xmltex')
-rw-r--r-- | dev-tex/xmltex/ChangeLog | 10 | ||||
-rw-r--r-- | dev-tex/xmltex/files/format.xmltex.cnf | 2 | ||||
-rw-r--r-- | dev-tex/xmltex/xmltex-1.9-r2.ebuild | 50 |
3 files changed, 61 insertions, 1 deletions
diff --git a/dev-tex/xmltex/ChangeLog b/dev-tex/xmltex/ChangeLog index 7765f3052b8e..03dcb3631550 100644 --- a/dev-tex/xmltex/ChangeLog +++ b/dev-tex/xmltex/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-tex/xmltex # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/xmltex/ChangeLog,v 1.16 2008/08/22 15:05:15 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tex/xmltex/ChangeLog,v 1.17 2008/08/22 19:12:04 aballier Exp $ + +*xmltex-1.9-r2 (22 Aug 2008) + + 22 Aug 2008; Alexis Ballier <aballier@gentoo.org> + +files/format.xmltex.cnf, +xmltex-1.9-r2.ebuild: + Cleanup of the ebuild: require at least tetex 3, install formats to + var/lib/texmf, install files to texmf-site, install a fmtutil.d file, + block tl-htmlxml-2007 since they collide now. 22 Aug 2008; Alexis Ballier <aballier@gentoo.org> -xmltex-0.14-r1.ebuild, -xmltex-1.9.ebuild: diff --git a/dev-tex/xmltex/files/format.xmltex.cnf b/dev-tex/xmltex/files/format.xmltex.cnf new file mode 100644 index 000000000000..f7d0235f29db --- /dev/null +++ b/dev-tex/xmltex/files/format.xmltex.cnf @@ -0,0 +1,2 @@ +xmltex pdftex language.dat &latex xmltex.ini +pdfxmltex pdftex language.dat &pdflatex pdfxmltex.ini diff --git a/dev-tex/xmltex/xmltex-1.9-r2.ebuild b/dev-tex/xmltex/xmltex-1.9-r2.ebuild new file mode 100644 index 000000000000..6e1036dcf633 --- /dev/null +++ b/dev-tex/xmltex/xmltex-1.9-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/xmltex/xmltex-1.9-r2.ebuild,v 1.1 2008/08/22 19:12:04 aballier Exp $ + +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 ~ppc ~sparc ~x86" + +S=${WORKDIR}/${PN}/base + +TEXMF=/usr/share/texmf-site + +DEPEND="|| ( + >=app-text/texlive-core-2007 + >=app-text/tetex-2.96 + >=app-text/ptex-3.1.4.20041026 + )" +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/* || die "failed to install ${PN} formats" + + 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 +} |