From a0b1fbfe29453b50f7027f1f989c0ff033a700ef Mon Sep 17 00:00:00 2001 From: bentley Date: Thu, 3 Apr 2014 06:12:04 +0000 Subject: [PATCH] Import docbook2mdoc-0.0.7. An older version of both this and pod2mdoc were ok benno@ schwarze@ --- textproc/docbook2mdoc/Makefile | 32 ++++++++++++++++++++++++++++++++ textproc/docbook2mdoc/distinfo | 2 ++ textproc/docbook2mdoc/pkg/DESCR | 4 ++++ textproc/docbook2mdoc/pkg/PLIST | 3 +++ 4 files changed, 41 insertions(+) create mode 100644 textproc/docbook2mdoc/Makefile create mode 100644 textproc/docbook2mdoc/distinfo create mode 100644 textproc/docbook2mdoc/pkg/DESCR create mode 100644 textproc/docbook2mdoc/pkg/PLIST diff --git a/textproc/docbook2mdoc/Makefile b/textproc/docbook2mdoc/Makefile new file mode 100644 index 00000000000..2a76fc15b44 --- /dev/null +++ b/textproc/docbook2mdoc/Makefile @@ -0,0 +1,32 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2014/04/03 06:12:04 bentley Exp $ + +COMMENT = convert DocBook refentry to mdoc + +DISTNAME = docbook2mdoc-0.0.7 + +CATEGORIES = textproc + +HOMEPAGE = http://mdocml.bsd.lv/docbook2mdoc/ + +MAINTAINER = Anthony J. Bentley + +# ISC +PERMIT_PACKAGE_CDROM = Yes + +WANTLIB += c expat + +MASTER_SITES = http://mdocml.bsd.lv/docbook2mdoc/snapshots/ +EXTRACT_SUFX = .tgz + +MAKE_FLAGS = CC="${CC}" \ + CFLAGS="${CFLAGS}" + +NO_TEST = Yes + +ALL_TARGET = docbook2mdoc + +do-install: + ${INSTALL} ${WRKDIST}/docbook2mdoc ${PREFIX}/bin + ${INSTALL} ${WRKDIST}/docbook2mdoc.1 ${PREFIX}/man/man1 + +.include diff --git a/textproc/docbook2mdoc/distinfo b/textproc/docbook2mdoc/distinfo new file mode 100644 index 00000000000..ae8d03d0a5f --- /dev/null +++ b/textproc/docbook2mdoc/distinfo @@ -0,0 +1,2 @@ +SHA256 (docbook2mdoc-0.0.7.tgz) = XML8BJ3JE+Ku/2F//vPnZjZVzfeouEFRJsWQjEf01r0= +SIZE (docbook2mdoc-0.0.7.tgz) = 11931 diff --git a/textproc/docbook2mdoc/pkg/DESCR b/textproc/docbook2mdoc/pkg/DESCR new file mode 100644 index 00000000000..32252c6e047 --- /dev/null +++ b/textproc/docbook2mdoc/pkg/DESCR @@ -0,0 +1,4 @@ +The docbook2mdoc utility is a converter from DocBook into mdoc. + +docbook2mdoc is very experimental: it probably won't work with your +manual without improvement. diff --git a/textproc/docbook2mdoc/pkg/PLIST b/textproc/docbook2mdoc/pkg/PLIST new file mode 100644 index 00000000000..a4a5c09edf7 --- /dev/null +++ b/textproc/docbook2mdoc/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2014/04/03 06:12:04 bentley Exp $ +@bin bin/docbook2mdoc +@man man/man1/docbook2mdoc.1