pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/xmltoman Import xmltoman-0.3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4b71d47bc50f
branches:  trunk
changeset: 537793:4b71d47bc50f
user:      bjs <bjs%pkgsrc.org@localhost>
date:      Wed Jan 16 03:04:16 2008 +0000

description:
Import xmltoman-0.3.

xmltoman and xmlmantohtml are two very simple perl scripts for converting
xml to groff or html.  PulseAudio (which I am working on) wants this for
making its manpages, but I'm fairly certain that there are plenty of
other packages out there than know of it (it's a debian tool insofar
as I can tell, but I could be wrong about this).

diffstat:

 textproc/xmltoman/DESCR          |   2 ++
 textproc/xmltoman/Makefile       |  28 ++++++++++++++++++++++++++++
 textproc/xmltoman/PLIST          |   9 +++++++++
 textproc/xmltoman/distinfo       |   5 +++++
 textproc/xmltoman/files/Makefile |  19 +++++++++++++++++++
 5 files changed, 63 insertions(+), 0 deletions(-)

diffs (83 lines):

diff -r 0d1c0bd7c425 -r 4b71d47bc50f textproc/xmltoman/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xmltoman/DESCR   Wed Jan 16 03:04:16 2008 +0000
@@ -0,0 +1,2 @@
+xmltoman and xmlmantohtml are two very simple scripts for converting xml
+to groff or html.
diff -r 0d1c0bd7c425 -r 4b71d47bc50f textproc/xmltoman/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xmltoman/Makefile        Wed Jan 16 03:04:16 2008 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/01/16 03:04:16 bjs Exp $
+#
+
+DISTNAME=      xmltoman_0.3.orig
+PKGNAME=       ${DISTNAME:S/_/-/:R}
+CATEGORIES=    textproc
+MASTER_SITES=  ${MASTER_SITE_DEBIAN:=pool/main/x/xmltoman/}
+
+MAINTAINER=    bjs%NetBSD.org@localhost
+HOMEPAGE=      # none
+COMMENT=       XML to manual page converter
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
+USE_TOOLS+=    perl:run
+USE_LANGUAGES= # none
+
+#INSTALLATION_DIRS=    bin share/${PKGBASE} ${PKGMANDIR}/man1
+AUTO_MKDIRS=           yes
+MAKE_ENV+=             PKGBASE=${PKGBASE:Q}
+REPLACE_PERL=          xmltoman xmlmantohtml
+USE_BSD_MAKEFILE=      yes
+
+post-extract:
+       cp ${FILESDIR}/Makefile ${WRKSRC}
+
+.include "../../mk/bsd.pkg.mk"
diff -r 0d1c0bd7c425 -r 4b71d47bc50f textproc/xmltoman/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xmltoman/PLIST   Wed Jan 16 03:04:16 2008 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/01/16 03:04:16 bjs Exp $
+bin/xmlmantohtml
+bin/xmltoman
+man/man1/xmlmantohtml.1
+man/man1/xmltoman.1
+share/xmltoman/xmltoman.css
+share/xmltoman/xmltoman.dtd
+share/xmltoman/xmltoman.xsl
+@dirrm share/xmltoman
diff -r 0d1c0bd7c425 -r 4b71d47bc50f textproc/xmltoman/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xmltoman/distinfo        Wed Jan 16 03:04:16 2008 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/01/16 03:04:16 bjs Exp $
+
+SHA1 (xmltoman_0.3.orig.tar.gz) = dcda61c3fe1deae57bf0377547fead58cc40eac0
+RMD160 (xmltoman_0.3.orig.tar.gz) = be720be467e6cb6805a831a326fa5c30521cd923
+Size (xmltoman_0.3.orig.tar.gz) = 14780 bytes
diff -r 0d1c0bd7c425 -r 4b71d47bc50f textproc/xmltoman/files/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xmltoman/files/Makefile  Wed Jan 16 03:04:16 2008 +0000
@@ -0,0 +1,19 @@
+
+SCRIPTS=       xmltoman xmlmantohtml
+MAN=           xmltoman.1 xmlmantohtml.1
+
+.PATH: ${.CURDIR}/xml
+FILES=         xmltoman.dtd xmltoman.css xmltoman.xsl
+FILESDIR=      ${PREFIX}/share/xmltoman
+
+MKCATPAGES=    no
+CLEANFILES=    *.1
+
+.include <bsd.prog.mk>
+
+xmltoman.1: xml/xmltoman.1.xml
+       ./xmltoman ${.OODATE} > ${.TARGET}
+
+xmlmantohtml.1: xml/xmlmantohtml.1.xml
+       ./xmltoman ${.OODATE} > ${.TARGET}
+



Home | Main Index | Thread Index | Old Index