diff --git a/textproc/xmlto/Makefile b/textproc/xmlto/Makefile new file mode 100644 index 00000000000..c861420d019 --- /dev/null +++ b/textproc/xmlto/Makefile @@ -0,0 +1,34 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2006/11/03 14:00:21 msf Exp $ + +COMMENT= "front-end to an XSL toolchain" + +DISTNAME= xmlto-0.0.18 +EXTRACT_SUFX= .tar.bz2 +CATEGORIES= textproc + +MAINTAINER= Mathieu Sauve-Frankel + +# GPL +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes +WANTLIB+= c + +MASTER_SITES= http://cyberelk.net/tim/data/xmlto/stable/ + +BUILD_DEPENDS= ::shells/bash \ + ::misc/gnugetopt \ + ::textproc/libxml \ + ::textproc/libxslt \ + ::textproc/docbook-xsl +RUN_DEPENDS= ${BUILD_DEPENDS} + + +CONFIGURE_STYLE= gnu + +CONFIGURE_ARGS= --with-bash=${LOCALBASE}/bin/bash \ + --with-getopt=${LOCALBASE}/bin/gnugetopt + +.include + diff --git a/textproc/xmlto/distinfo b/textproc/xmlto/distinfo new file mode 100644 index 00000000000..a7e43fc1276 --- /dev/null +++ b/textproc/xmlto/distinfo @@ -0,0 +1,4 @@ +MD5 (xmlto-0.0.18.tar.bz2) = 1a06471b70eb27a6aca5d1b3a144f9b0 +RMD160 (xmlto-0.0.18.tar.bz2) = 4b7232ad673c6b3a0ad015d0061cf5b77165478c +SHA1 (xmlto-0.0.18.tar.bz2) = abee8925a80bfefcdf1543956a804b1facff7bec +SIZE (xmlto-0.0.18.tar.bz2) = 91275 diff --git a/textproc/xmlto/patches/patch-xmlto_in b/textproc/xmlto/patches/patch-xmlto_in new file mode 100644 index 00000000000..f663e307c3d --- /dev/null +++ b/textproc/xmlto/patches/patch-xmlto_in @@ -0,0 +1,9 @@ +$OpenBSD: patch-xmlto_in,v 1.1.1.1 2006/11/03 14:00:21 msf Exp $ +--- xmlto.in.orig Fri Nov 3 00:00:13 2006 ++++ xmlto.in Fri Nov 3 00:00:30 2006 +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!@BASH@ + # + # @PACKAGE@ - apply an XSL stylesheet to an XML document + # Copyright (C) 2001, 2002, 2003 Tim Waugh diff --git a/textproc/xmlto/pkg/DESCR b/textproc/xmlto/pkg/DESCR new file mode 100644 index 00000000000..ebcb63167f2 --- /dev/null +++ b/textproc/xmlto/pkg/DESCR @@ -0,0 +1,3 @@ +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. diff --git a/textproc/xmlto/pkg/PLIST b/textproc/xmlto/pkg/PLIST new file mode 100644 index 00000000000..14c806b708d --- /dev/null +++ b/textproc/xmlto/pkg/PLIST @@ -0,0 +1,25 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/03 14:00:21 msf Exp $ +bin/xmlif +bin/xmlto +@man man/man1/xmlif.1 +@man man/man1/xmlto.1 +share/xmlto/ +share/xmlto/format/ +share/xmlto/format/docbook/ +share/xmlto/format/docbook/dvi +share/xmlto/format/docbook/fo +share/xmlto/format/docbook/html +share/xmlto/format/docbook/html-nochunks +share/xmlto/format/docbook/htmlhelp +share/xmlto/format/docbook/javahelp +share/xmlto/format/docbook/man +share/xmlto/format/docbook/pdf +share/xmlto/format/docbook/ps +share/xmlto/format/docbook/txt +share/xmlto/format/docbook/xhtml +share/xmlto/format/docbook/xhtml-nochunks +share/xmlto/format/fo/ +share/xmlto/format/fo/dvi +share/xmlto/format/fo/pdf +share/xmlto/format/fo/ps +share/xmlto/xmlto.mak