diff options
-rw-r--r-- | textproc/xmltoman/DESCR | 2 | ||||
-rw-r--r-- | textproc/xmltoman/Makefile | 28 | ||||
-rw-r--r-- | textproc/xmltoman/PLIST | 9 | ||||
-rw-r--r-- | textproc/xmltoman/distinfo | 5 | ||||
-rw-r--r-- | textproc/xmltoman/files/Makefile | 19 |
5 files changed, 63 insertions, 0 deletions
diff --git a/textproc/xmltoman/DESCR b/textproc/xmltoman/DESCR new file mode 100644 index 00000000000..b7ef026a625 --- /dev/null +++ b/textproc/xmltoman/DESCR @@ -0,0 +1,2 @@ +xmltoman and xmlmantohtml are two very simple scripts for converting xml +to groff or html. diff --git a/textproc/xmltoman/Makefile b/textproc/xmltoman/Makefile new file mode 100644 index 00000000000..46c628799cd --- /dev/null +++ b/textproc/xmltoman/Makefile @@ -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 +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 --git a/textproc/xmltoman/PLIST b/textproc/xmltoman/PLIST new file mode 100644 index 00000000000..b6160b9830a --- /dev/null +++ b/textproc/xmltoman/PLIST @@ -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 --git a/textproc/xmltoman/distinfo b/textproc/xmltoman/distinfo new file mode 100644 index 00000000000..29465ecb5a2 --- /dev/null +++ b/textproc/xmltoman/distinfo @@ -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 --git a/textproc/xmltoman/files/Makefile b/textproc/xmltoman/files/Makefile new file mode 100644 index 00000000000..c2b0e8b9138 --- /dev/null +++ b/textproc/xmltoman/files/Makefile @@ -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} + |