# $Id$ PNAME="xmlto" PVER="0.0.28" PBUILD="r2" PCAT="app-text" DESCRIPTION="A bash script for converting XML and DocBook formatted documents to a variety of output formats." HOMEPAGE="https://fedorahosted.org/xmlto" DEPEND=">= dev-libs/libxslt-dev-1.1.26 >= app-text/docbook-xsl-stylesheets-1.75 >= app-text/docbook-xml-dtd45-4.5 >= app-shells/bash-4 >= sys-apps/coreutils-8" SRCFILE="${PNAME}-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild mtools SRC_URI=( #https://fedorahosted.org/releases/x/m/xmlto/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd https://fedorahosted.org/releases/x/m/xmlto/ | lasttarball" src_install() { cd ${SRCDIR} mmake DESTDIR=${BINDIR} prefix=/usr install || die minstalldocs AUTHORS ChangeLog FAQ NEWS README || die # xml doc minstalldir /usr/share/doc/${PNAME}-${PVER}/xml || die minstallfile doc/\*.xml /usr/share/doc/${PNAME}-${PVER}/xml || die }