summaryrefslogtreecommitdiffstats
path: root/textproc/sgmlformat
diff options
context:
space:
mode:
authorjfieber <jfieber@FreeBSD.org>1997-07-18 15:46:19 +0000
committerjfieber <jfieber@FreeBSD.org>1997-07-18 15:46:19 +0000
commite83fcf04f5ca27ab949b230c24132b20c089cb02 (patch)
tree6f5dd6d99eca28375dcd74ef6aba33f286242801 /textproc/sgmlformat
parent00f28cd575dafc4bc9ddc3a3b86d09bd6ea1b5d1 (diff)
downloadFreeBSD-ports-e83fcf04f5ca27ab949b230c24132b20c089cb02.zip
FreeBSD-ports-e83fcf04f5ca27ab949b230c24132b20c089cb02.tar.gz
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. :)
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 0000000..a9e6063
--- /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 0000000..9c86e1e
--- /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 0000000..6eb65e8
--- /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 0000000..8f62de5
--- /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 0000000..4664334
--- /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 0000000..ab93687
--- /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
OpenPOWER on IntegriCloud