Date: 10 Jun 2003 22:06:40 -0000 From: Sergei Kolobov <sergei@kolobov.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/53173: [NEW PORT] textproc/xmlto: Front-end to an XSL toolchain Message-ID: <20030610220640.16841.qmail@kolobov.com> Resent-Message-ID: <200306110010.h5B0A954056576@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 53173 >Category: ports >Synopsis: [NEW PORT] textproc/xmlto: Front-end to an XSL toolchain >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jun 10 17:10:09 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Sergei Kolobov >Release: FreeBSD 5.1-CURRENT i386 >Organization: >Environment: System: FreeBSD elf.chetwood.ru 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Thu Jun 5 02:19:41 MSD >Description: xmlto is a front-end to an XSL toolchain. It chooses an appropriate stylesheet for the conversion you want and applies it using an external XSL-T processor. It also performs any necessary post-processing. Supported conversions from DocBook XML: dvi, fo, html, html-nochunks, htmlhelp, javahelp, man, pdf, ps, txt, xhtml, xhtml-nochunks. Currently the only XSL-T processor supported is xsltproc (textproc/libxslt). For DVI, PDF and PostScript output, PassiveTeX (print/passivetex) is required. Author: Tim Waugh <tim@cyberelk.net> WWW: http://cyberelk.net/tim/xmlto/ This port requires misc/getopt (submitted separately) and is required for update of devel/makeplus port. Tested on 4.8-STABLE and 5.1-CURRENT (i386). >How-To-Repeat: >Fix: --- xmlto.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # xmlto # xmlto/pkg-descr # xmlto/distinfo # xmlto/Makefile # xmlto/pkg-plist # echo c - xmlto mkdir -p xmlto > /dev/null 2>&1 echo x - xmlto/pkg-descr sed 's/^X//' >xmlto/pkg-descr << 'END-of-xmlto/pkg-descr' Xxmlto is a front-end to an XSL toolchain. It chooses an appropriate Xstylesheet for the conversion you want and applies it using an external XXSL-T processor. It also performs any necessary post-processing. X XSupported conversions from DocBook XML: dvi, fo, html, html-nochunks, Xhtmlhelp, javahelp, man, pdf, ps, txt, xhtml, xhtml-nochunks. X XCurrently the only XSL-T processor supported is xsltproc (textproc/libxslt). XFor DVI, PDF and PostScript output, PassiveTeX (print/passivetex) is required. X XAuthor: Tim Waugh <tim@cyberelk.net> XWWW: http://cyberelk.net/tim/xmlto/ END-of-xmlto/pkg-descr echo x - xmlto/distinfo sed 's/^X//' >xmlto/distinfo << 'END-of-xmlto/distinfo' XMD5 (xmlto-0.0.14.tar.bz2) = 834c7cce7210dd45c8a2c6a964b87bb4 END-of-xmlto/distinfo echo x - xmlto/Makefile sed 's/^X//' >xmlto/Makefile << 'END-of-xmlto/Makefile' X# New ports collection makefile for: xmlto X# Date created: 2003-06-05 X# Whom: Sergei Kolobov <sergei@kolobov.com> X# X# $FreeBSD$ X# X X# The following compile-time options are available: X# WITH_PASSIVETEX Enable PassiveTex support for DVI/PDF/PS output X XPORTNAME= xmlto XPORTVERSION= 0.0.14 XCATEGORIES= textproc XMASTER_SITES= http://cyberelk.net/tim/data/xmlto/stable/ X XMAINTAINER= sergei@kolobov.com XCOMMENT= Front-end to an XSL toolchain X XBUILD_DEPENDS= ${BASH_CMD}:${PORTSDIR}/shells/bash2 \ X ${GETOPT_CMD}:${PORTSDIR}/misc/getopt \ X xmllint:${PORTSDIR}/textproc/libxml2 \ X xsltproc:${PORTSDIR}/textproc/libxslt XRUN_DEPENDS= ${BUILD_DEPENDS} X X.if defined(WITH_PASSIVETEX) || exists(${PASSIVETEX}) XBUILD_DEPENDS+= ${PASSIVETEX}:${PORTSDIR}/print/passivetex XPLIST_SUB= PASSIVETEX="" X.else XPLIST_SUB= PASSIVETEX="@comment " X.endif X XUSE_BZIP2= yes XUSE_REINPLACE= yes XGNU_CONFIGURE= yes XCONFIGURE_ARGS= --with-bash=${BASH_CMD} --with-getopt=${GETOPT_CMD} XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} X XBASH_CMD= ${LOCALBASE}/bin/bash XGETOPT_CMD= ${LOCALBASE}/bin/getopt XPASSIVETEX= ${LOCALBASE}/share/texmf/tex/passivetex X XMAN1= xmlif.1 xmlto.1 XDOCS= AUTHORS NEWS X Xdo-patch: X ${REINPLACE_CMD} -e 's,/bin/bash,${BASH_CMD},' -e '/--nonet/d' \ X ${WRKSRC}/xmlto.in X.if !defined(WITH_PASSIVETEX) X ${REINPLACE_CMD} -e '/format\/fo\//d' ${WRKSRC}/Makefile.in X.endif X X.if !defined(NOPORTDOCS) Xpost-install: X @${MKDIR} ${DOCSDIR} X cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} X.endif X X.include <bsd.port.mk> END-of-xmlto/Makefile echo x - xmlto/pkg-plist sed 's/^X//' >xmlto/pkg-plist << 'END-of-xmlto/pkg-plist' Xbin/xmlif Xbin/xmlto X%%PORTDOCS%%%%DOCSDIR%%/AUTHORS X%%PORTDOCS%%%%DOCSDIR%%/NEWS X%%PORTDOCS%%@dirrm %%DOCSDIR%% X%%DATADIR%%/format/docbook/dvi X%%DATADIR%%/format/docbook/fo X%%DATADIR%%/format/docbook/html X%%DATADIR%%/format/docbook/html-nochunks X%%DATADIR%%/format/docbook/xhtml X%%DATADIR%%/format/docbook/xhtml-nochunks X%%DATADIR%%/format/docbook/man X%%DATADIR%%/format/docbook/pdf X%%DATADIR%%/format/docbook/ps X%%DATADIR%%/format/docbook/txt X%%DATADIR%%/format/docbook/htmlhelp X%%DATADIR%%/format/docbook/javahelp X@dirrm %%DATADIR%%/format/docbook X%%PASSIVETEX%%%%DATADIR%%/format/fo/dvi X%%PASSIVETEX%%%%DATADIR%%/format/fo/pdf X%%PASSIVETEX%%%%DATADIR%%/format/fo/ps X%%PASSIVETEX%%@dirrm %%DATADIR%%/format/fo X@dirrm %%DATADIR%%/format X%%DATADIR%%/xmlto.mak X@dirrm %%DATADIR%% END-of-xmlto/pkg-plist exit --- xmlto.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030610220640.16841.qmail>