summaryrefslogtreecommitdiff
path: root/textproc/xmltoman/Makefile
diff options
context:
space:
mode:
authorbjs <bjs@pkgsrc.org>2008-01-16 03:04:16 +0000
committerbjs <bjs@pkgsrc.org>2008-01-16 03:04:16 +0000
commit231dfd6620ebf97569f48361f5bfe79eb1045a1e (patch)
treec7f5e761e487c17e3b622d002697706220e968f7 /textproc/xmltoman/Makefile
parent813288f5111e3db9813d1e72f38cd7777afeeef2 (diff)
downloadpkgsrc-231dfd6620ebf97569f48361f5bfe79eb1045a1e.tar.gz
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 (limited to 'textproc/xmltoman/Makefile')
-rw-r--r--textproc/xmltoman/Makefile28
1 files changed, 28 insertions, 0 deletions
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"