aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-06-09 10:51:56 +0800
committerwill <will@FreeBSD.org>2000-06-09 10:51:56 +0800
commit20ce90640deee64bd49e3a177493cc4a925f7ec2 (patch)
tree58d376a4be967ff27b5fa82dcb3e1e4de3507d12
parent909c34543d4c37743baaa5b4dadd18fd54359a0e (diff)
downloadfreebsd-ports-gnome-20ce90640deee64bd49e3a177493cc4a925f7ec2.tar.gz
freebsd-ports-gnome-20ce90640deee64bd49e3a177493cc4a925f7ec2.tar.zst
freebsd-ports-gnome-20ce90640deee64bd49e3a177493cc4a925f7ec2.zip
Add sgmls, another SGML parser.
PR: 18973 Submitted by: justas <justas@mbank.lv>
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/sgmls/Makefile40
-rw-r--r--textproc/sgmls/distinfo1
-rw-r--r--textproc/sgmls/files/patch-aa11
-rw-r--r--textproc/sgmls/pkg-comment1
-rw-r--r--textproc/sgmls/pkg-descr7
-rw-r--r--textproc/sgmls/pkg-plist10
7 files changed, 71 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index f12fad55338c..5beff99f896a 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -70,6 +70,7 @@
SUBDIR += sarep
SUBDIR += se-ispell
SUBDIR += sgmlformat
+ SUBDIR += sgmls
SUBDIR += sgmltools
SUBDIR += sgrep
SUBDIR += sp
diff --git a/textproc/sgmls/Makefile b/textproc/sgmls/Makefile
new file mode 100644
index 000000000000..62494d190db2
--- /dev/null
+++ b/textproc/sgmls/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: sgmls
+# Date created: Jun 2, 2000
+# Whom: Eugene Furs <justas@mbank.lv>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sgmls
+PORTVERSION= 1.1.91
+CATEGORIES= textproc
+MASTER_SITES= ftp://ftp.jclark.com/pub/sgmls/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= justas@mbank.lv
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+HAS_CONFIGURE= yes
+INSTALL_TARGET= install install.man
+
+MAN1= sgmls.1 sgmlsasp.1 rast.1
+
+PROGS= sgmls sgmlsasp rast
+DOCS= ChangeLog INSTALL LICENSE NEWS README TODO
+
+post-build:
+.for file in ${PROGS}
+ @strip ${WRKSRC}/${file}
+.endfor
+ @cd ${WRKSRC} && ${MAKE} test
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
+ @-${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
+.for file in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/${PORTNAME}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/sgmls/distinfo b/textproc/sgmls/distinfo
new file mode 100644
index 000000000000..85a173d4f649
--- /dev/null
+++ b/textproc/sgmls/distinfo
@@ -0,0 +1 @@
+MD5 (sgmls-1.1.91.tar.Z) = b41d9603f904d60274f46c55d8076c2d
diff --git a/textproc/sgmls/files/patch-aa b/textproc/sgmls/files/patch-aa
new file mode 100644
index 000000000000..59ef8d6bfdf5
--- /dev/null
+++ b/textproc/sgmls/files/patch-aa
@@ -0,0 +1,11 @@
+--- configure.orig Fri Jun 2 19:18:37 2000
++++ configure Fri Jun 2 19:18:50 2000
+@@ -605,7 +605,7 @@
+ edit="$edit -e 's/^typedef .*VOID;/typedef $void_ret VOID;/'"
+ edit="$edit -e 's/^typedef .*UNIV;/typedef ${void_star}UNIV;/'"
+
+-if test "X$(PREFIX)" != "X/usr/local"
++if test "X$PREFIX" != "X/usr/local"
+ then
+ edit="$edit -e '/DEFAULT_PATH/s;/usr/local;$PREFIX;g'"
+ fi
diff --git a/textproc/sgmls/pkg-comment b/textproc/sgmls/pkg-comment
new file mode 100644
index 000000000000..cf4fc9b5b12d
--- /dev/null
+++ b/textproc/sgmls/pkg-comment
@@ -0,0 +1 @@
+SGML parser
diff --git a/textproc/sgmls/pkg-descr b/textproc/sgmls/pkg-descr
new file mode 100644
index 000000000000..2791995803bf
--- /dev/null
+++ b/textproc/sgmls/pkg-descr
@@ -0,0 +1,7 @@
+An SGML System conforming to International Standard ISO 8879:
+ sgmls - a validating SGML parser
+ sgmlsasp - translate output of sgmls using ASP replacement files
+ rast - translate output of sgmls to RAST format
+
+- Eugene Furs
+justas@mbank.lv
diff --git a/textproc/sgmls/pkg-plist b/textproc/sgmls/pkg-plist
new file mode 100644
index 000000000000..c87020a0d018
--- /dev/null
+++ b/textproc/sgmls/pkg-plist
@@ -0,0 +1,10 @@
+bin/rast
+bin/sgmls
+bin/sgmlsasp
+share/doc/sgmls/ChangeLog
+share/doc/sgmls/INSTALL
+share/doc/sgmls/LICENSE
+share/doc/sgmls/NEWS
+share/doc/sgmls/README
+share/doc/sgmls/TODO
+@dirrm share/doc/sgmls