summaryrefslogtreecommitdiff
path: root/textproc/sp
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>1999-03-13 13:57:40 +0000
committerrh <rh@pkgsrc.org>1999-03-13 13:57:40 +0000
commitedefd85474afaa0cf1d20049e5a4d6811a0160ba (patch)
tree7db49e3a79ad35ad7a9c71d5d9599ed645092884 /textproc/sp
parent41e25a0c4855b336b44bd35078f699379fe64199 (diff)
downloadpkgsrc-edefd85474afaa0cf1d20049e5a4d6811a0160ba.tar.gz
Initial import of sp-1.3, an SGML system conforming to ISO-8879 as
provided by Martin Laubach (with a few modifications to work under NetBSD-1.3.3 as well as -current) -- thanks!
Diffstat (limited to 'textproc/sp')
-rw-r--r--textproc/sp/Makefile35
-rw-r--r--textproc/sp/files/md53
-rw-r--r--textproc/sp/patches/egcs-patch-ab11
-rw-r--r--textproc/sp/patches/patch-aa39
-rw-r--r--textproc/sp/pkg/COMMENT1
-rw-r--r--textproc/sp/pkg/DESCR22
-rw-r--r--textproc/sp/pkg/PLIST49
7 files changed, 160 insertions, 0 deletions
diff --git a/textproc/sp/Makefile b/textproc/sp/Makefile
new file mode 100644
index 00000000000..5e24c8e5b0c
--- /dev/null
+++ b/textproc/sp/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/03/13 13:57:40 rh Exp $
+#
+
+DISTNAME= sp-1.3
+CATEGORIES= textproc
+MASTER_SITES= ftp://ftp.jclark.com/pub/sp/ \
+ ftp://ftp.funet.fi/pub/mirrors/ftp.jclark.com/pub/sp/ \
+ ftp://ftp.tu-darmstadt.de/pub/text/sgml/sp/ \
+ ftp://ftp.mch.sni.de/pub/infosystems/www/misc/SP/ \
+ ftp://ftp.mc.hik.se/pub/unix/webtools/sgml/ \
+ ftp://ftp.u-aizu.ac.jp/pub/lang/sgml/sp/ \
+ ftp://ftp.oce.nl/pub/Internet/sgml/sp/
+
+MAINTAINER= mjl@emsi.priv.at
+HOMEPAGE= http://www.jclark.com/sp/
+
+MAKE_ENV+= INSTALL="${INSTALL}"
+
+post-install:
+ ${MKDIR} ${PREFIX}/share/doc/sp ${PREFIX}/share/sp/dtd
+ cd ${WRKSRC}/doc; for n in *.htm ; do ${INSTALL_DATA} $$n ${PREFIX}/share/doc/sp/$n ; done
+ cd ${WRKSRC}/pubtext; for n in * ; do ${INSTALL_DATA} $$n ${PREFIX}/share/sp/dtd/$n ; done
+ ${ECHO} "CATALOG ${PREFIX}/share/sp/dtd/html.soc" > ${PREFIX}/share/sp/catalog
+
+GCC_VERSION!= ${CC} --version
+
+post-patch:
+.if (${GCC_VERSION:C/-.*$$//} == egcs)
+ @cd ${WRKSRC};
+ for FILE in ${PATCHDIR}/egcs-patch-*; do \
+ ${PATCH} ${PATCH_ARGS} <$$FILE; \
+ done
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/sp/files/md5 b/textproc/sp/files/md5
new file mode 100644
index 00000000000..a37080e446d
--- /dev/null
+++ b/textproc/sp/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/03/13 13:57:40 rh Exp $
+
+MD5 (sp-1.3.tar.gz) = 011bff022a23b2d23b797571fef827cf
diff --git a/textproc/sp/patches/egcs-patch-ab b/textproc/sp/patches/egcs-patch-ab
new file mode 100644
index 00000000000..5a605ac5cb2
--- /dev/null
+++ b/textproc/sp/patches/egcs-patch-ab
@@ -0,0 +1,11 @@
+--- include/config.h.orig Fri Mar 12 23:16:03 1999
++++ include/config.h Fri Mar 12 23:17:09 1999
+@@ -11,7 +11,7 @@
+ // It's not missing, but it pulls in libg++
+ #define SP_NEW_H_MISSING
+ // set_new_handler() has to be declared extern "C"
+-#define SP_SET_NEW_HANDLER_EXTERN_C
++// #define SP_SET_NEW_HANDLER_EXTERN_C
+ #ifndef SP_MANUAL_INST
+ #define SP_MANUAL_INST
+ #endif
diff --git a/textproc/sp/patches/patch-aa b/textproc/sp/patches/patch-aa
new file mode 100644
index 00000000000..e9630fc583d
--- /dev/null
+++ b/textproc/sp/patches/patch-aa
@@ -0,0 +1,39 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/03/13 13:57:40 rh Exp $
+
+--- Makefile.orig Sun Dec 28 12:24:20 1997
++++ Makefile Sat Mar 13 08:22:53 1999
+@@ -1,11 +1,10 @@
+ # Copyright (c) 1994, 1995 James Clark
+ # See the file COPYING for copying permission.
+
+-prefix=/opt/local
++prefix=${PREFIX}
+ exec_prefix=$(prefix)
+ # Where to install the binaries
+ bindir=$(exec_prefix)/bin
+-INSTALL=cp
+ # You might want to change this to uncomment this on BSD systems
+ #INSTALL=install
+
+@@ -32,7 +31,8 @@
+ # Add -Dsig_atomic_t=int on SunOS 4.1.x with g++ (or any other platform
+ # which doesn't appropriately define sig_atomic_t).
+ XDEFINES=
+-DEFINES=-DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE $(XDEFINES)
++DEFINES=-DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE -DSP_HAVE_LOCALE \
++ -DSGML_CATALOG_FILES_DEFAULT=\"${PREFIX}/share/sp/catalog\" $(XDEFINES)
+ CXXFLAGS=-ansi $(DEBUG) $(WARN)
+ # Flag to pass to CXX to make it output list of dependencies as a Makefile.
+ CXXDEPGENFLAGS=-MM
+@@ -53,10 +53,9 @@
+ # to the build directory, and set srcdir to point to the source directory.
+ srcdir=.
+ AR=ar
+-RANLIB=:
+ # Uncomment this for SunOS 4.1.3 or FreeBSD
+ # (and probably other BSD flavor systems as well)
+-#RANLIB=ranlib
++RANLIB=ranlib
+ M4=m4
+ # perl is needed if you change or add messages
+ PERL=perl
diff --git a/textproc/sp/pkg/COMMENT b/textproc/sp/pkg/COMMENT
new file mode 100644
index 00000000000..aeb73e02209
--- /dev/null
+++ b/textproc/sp/pkg/COMMENT
@@ -0,0 +1 @@
+An SGML System Conforming to International Standard ISO 8879
diff --git a/textproc/sp/pkg/DESCR b/textproc/sp/pkg/DESCR
new file mode 100644
index 00000000000..7d4d1521a6d
--- /dev/null
+++ b/textproc/sp/pkg/DESCR
@@ -0,0 +1,22 @@
+ A free, object-oriented toolkit for SGML parsing and entity management
+
+ * Provides access to all information about SGML document
+ + Access to DTD and SGML declaration as well as document instance
+ + Access to markup as well as abstract document
+ + Sufficient to recreate character-for-character identical copy
+ of any SGML document
+ * Supports almost all optional SGML features
+ + Arbitrary concrete syntaxes
+ + SHORTTAG, OMITTAG, RANK, SUBDOC
+ + LINK (SIMPLE, IMPLICIT and EXPLICIT)
+ + Only DATATAG and CONCUR not supported
+ * Sophisticated entity manager
+ + Supports ISO/IEC 10744 Formal System Identifiers
+ + Supports SGML Open catalogs
+ + Supports WWW
+ + Can be used independently of parser
+ * Supports multi-byte character sets
+ + Parser can use 16-bit characters internally
+ + 16-bit characters can be used in tag names and other markup
+ + Supports ISO/IEC 10646 (Unicode) using both UCS-2 and UTF-8
+ + Supports Japanese character sets (Shift-JIS, EUC)
diff --git a/textproc/sp/pkg/PLIST b/textproc/sp/pkg/PLIST
new file mode 100644
index 00000000000..eb01a29d091
--- /dev/null
+++ b/textproc/sp/pkg/PLIST
@@ -0,0 +1,49 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/03/13 13:57:40 rh Exp $
+bin/nsgmls
+bin/sx
+bin/spam
+bin/sgmlnorm
+bin/spent
+share/doc/sp/archform.htm
+share/doc/sp/build.htm
+share/doc/sp/catalog.htm
+share/doc/sp/charset.htm
+share/doc/sp/features.htm
+share/doc/sp/generic.htm
+share/doc/sp/ideas.htm
+share/doc/sp/index.htm
+share/doc/sp/new.htm
+share/doc/sp/nsgmls.htm
+share/doc/sp/sgmldecl.htm
+share/doc/sp/sgmlnorm.htm
+share/doc/sp/sgmlsout.htm
+share/doc/sp/spam.htm
+share/doc/sp/spent.htm
+share/doc/sp/sx.htm
+share/doc/sp/sysdecl.htm
+share/doc/sp/sysid.htm
+share/doc/sp/xml.htm
+share/sp/dtd/HTML32.dcl
+share/sp/dtd/HTML32.dtd
+share/sp/dtd/HTML32.soc
+share/sp/dtd/HTML4-f.dtd
+share/sp/dtd/HTML4-s.dtd
+share/sp/dtd/HTML4.dcl
+share/sp/dtd/HTML4.dtd
+share/sp/dtd/HTMLlat1.ent
+share/sp/dtd/HTMLspec.ent
+share/sp/dtd/HTMLsym.ent
+share/sp/dtd/ISOlat1.ent
+share/sp/dtd/ISOlat1.sgm
+share/sp/dtd/html-1.dtd
+share/sp/dtd/html-1s.dtd
+share/sp/dtd/html-s.dtd
+share/sp/dtd/html.dcl
+share/sp/dtd/html.dtd
+share/sp/dtd/html.soc
+share/sp/dtd/xml.dcl
+share/sp/dtd/xml.soc
+share/sp/catalog
+@dirrm share/sp/dtd
+@dirrm share/doc/sp
+@dirrm share/sp