aboutsummaryrefslogtreecommitdiff
path: root/textproc/sgmlformat
diff options
context:
space:
mode:
authorJohn Fieber <jfieber@FreeBSD.org>1997-07-18 15:46:19 +0000
committerJohn Fieber <jfieber@FreeBSD.org>1997-07-18 15:46:19 +0000
commit633ea2c31aaf1dca7804ebb3cc63586e8bd811cc (patch)
tree5af2d8a1ed4ad197c734c5bc4b9b2014aaa2f055 /textproc/sgmlformat
parent60420d036a2253c03afb5d9a75b49c0058a8cc11 (diff)
This completes the portification of the sgml formatting tools. This
port contains sgmlfmt(1), instant(1) and the translation files for linuxdoc and docbook. Barring any complaints, all remaing SGML stuff in 2.2 and current will be removed. As far as I know, sgmlfmt was the largest perl program in the source tree, so for people wanting to get perl4 out of the base distribution, start sharpening your knives. :)
Notes
Notes: svn path=/head/; revision=7369
Diffstat (limited to 'textproc/sgmlformat')
-rw-r--r--textproc/sgmlformat/Makefile32
-rw-r--r--textproc/sgmlformat/distinfo1
-rw-r--r--textproc/sgmlformat/pkg-comment1
-rw-r--r--textproc/sgmlformat/pkg-descr11
-rw-r--r--textproc/sgmlformat/pkg-message10
-rw-r--r--textproc/sgmlformat/pkg-plist16
6 files changed, 71 insertions, 0 deletions
diff --git a/textproc/sgmlformat/Makefile b/textproc/sgmlformat/Makefile
new file mode 100644
index 000000000000..a9e6063739be
--- /dev/null
+++ b/textproc/sgmlformat/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: sgmlformat
+# Version required: 1.0
+# Date created: July 16, 1997
+# Whom: jfieber
+#
+# $Id$
+#
+
+DISTNAME= sgmlformat-1.0
+CATEGORIES= textproc print
+MASTER_SITES= ftp://fallout.campusview.indiana.edu/pub/sgml/
+
+MAINTAINER= jfieber@FreeBSD.ORG
+
+# There are two ports that satisfy the nsgmls requirement.
+# Jade is preferred, but it currently doesn't compile on 2.1.x
+# system, so use sp in that case.
+OSVERSION!= sysctl -n kern.osreldate
+.if ${OSVERSION} < 220000
+RUN_DEPENDS= nsgmls:${PORTSDIR}/textproc/sp
+.else
+RUN_DEPENDS= nsgmls:${PORTSDIR}/textproc/jade
+.endif
+
+RUN_DEPENDS+= ${PREFIX}/share/sgml/linuxdoc:${PORTSDIR}/textproc/linuxdoc \
+ ${PREFIX}/share/sgml/docbook:${PORTSDIR}/textproc/docbook \
+ perl:${PORTSDIR}/lang/perl5
+
+post-install:
+ @${CAT} ${PKGDIR}/MESSAGE
+
+.include <bsd.port.mk>
diff --git a/textproc/sgmlformat/distinfo b/textproc/sgmlformat/distinfo
new file mode 100644
index 000000000000..9c86e1ec4b00
--- /dev/null
+++ b/textproc/sgmlformat/distinfo
@@ -0,0 +1 @@
+MD5 (sgmlformat-1.0.tar.gz) = d18c47df919e0f83943ae09b9199b7bf
diff --git a/textproc/sgmlformat/pkg-comment b/textproc/sgmlformat/pkg-comment
new file mode 100644
index 000000000000..6eb65e8de5d5
--- /dev/null
+++ b/textproc/sgmlformat/pkg-comment
@@ -0,0 +1 @@
+Generates groff and HTML from linuxdoc and docbook SGML documents
diff --git a/textproc/sgmlformat/pkg-descr b/textproc/sgmlformat/pkg-descr
new file mode 100644
index 000000000000..8f62de55403c
--- /dev/null
+++ b/textproc/sgmlformat/pkg-descr
@@ -0,0 +1,11 @@
+This package contains SGML formatting tools that were once a part
+of the base FreeBSD distribution. This port should be regarded
+as a temporary solution to formatting SGML files until the
+wrinkles in jade, a DSSSL processor, get ironed out.
+
+If you are running FreeBSD 2.1.x, you should fetch the groff mm
+macros from FreeBSD 2.2 or later because the macros in 2.1.x are
+seriously broken.
+
+July 16, 1997
+jfieber@FreeBSD.org
diff --git a/textproc/sgmlformat/pkg-message b/textproc/sgmlformat/pkg-message
new file mode 100644
index 000000000000..4664334dd7d1
--- /dev/null
+++ b/textproc/sgmlformat/pkg-message
@@ -0,0 +1,10 @@
+*****************************************************************
+To avoid any confusion with the versions of these tools that
+might already be installed in your system, after installing this
+package you may wish move or remove:
+
+/usr/bin/sgmlfmt
+/usr/bin/sgmls
+/usr/bin/instant
+/usr/share/sgml/* (all subdirectories)
+*****************************************************************
diff --git a/textproc/sgmlformat/pkg-plist b/textproc/sgmlformat/pkg-plist
new file mode 100644
index 000000000000..ab936871cc1e
--- /dev/null
+++ b/textproc/sgmlformat/pkg-plist
@@ -0,0 +1,16 @@
+bin/sgmlfmt
+bin/instant
+man/man1/sgmlfmt.1.gz
+man/man1/instant.1.gz
+man/man5/transpec.5.gz
+share/sgml/transpec/roff.cmap
+share/sgml/transpec/roff.sdata
+share/sgml/transpec/linuxdoc-roff.ts
+share/sgml/transpec/docbook-roff.ts
+share/sgml/transpec/html.cmap
+share/sgml/transpec/html.sdata
+share/sgml/transpec/linuxdoc-html.ts
+share/sgml/transpec/docbook-html.ts
+share/sgml/transpec/transpec.dtd
+share/sgml/transpec/catalog
+@dirrm share/sgml/transpec