summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>1999-03-15 08:43:27 +0000
committerrh <rh@pkgsrc.org>1999-03-15 08:43:27 +0000
commit4f4f8db188872e85d276215f686a044d298dac47 (patch)
treead07332208b05b38b127ef8dac44f31db21bd0dc /textproc
parentf2f4690647c3070d0c8cd96f9d3a6fed5846b06f (diff)
downloadpkgsrc-4f4f8db188872e85d276215f686a044d298dac47.tar.gz
Initial import of FreeBSD port for jade.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/jade/Makefile30
-rw-r--r--textproc/jade/files/md51
-rw-r--r--textproc/jade/patches/patch-ac19
-rw-r--r--textproc/jade/patches/patch-ad53
-rw-r--r--textproc/jade/pkg/COMMENT1
-rw-r--r--textproc/jade/pkg/DESCR22
-rw-r--r--textproc/jade/pkg/PLIST189
7 files changed, 315 insertions, 0 deletions
diff --git a/textproc/jade/Makefile b/textproc/jade/Makefile
new file mode 100644
index 00000000000..a6d5393438d
--- /dev/null
+++ b/textproc/jade/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: jade
+# Version required: 1.2
+# Date created: June 19, 1997
+# Whom: jfieber
+#
+# $Id: Makefile,v 1.1.1.1 1999/03/15 08:43:27 rh Exp $
+#
+
+DISTNAME= jade-1.2.1
+CATEGORIES= textproc
+MASTER_SITES= ftp://ftp.jclark.com/pub/jade/
+
+MAINTAINER= jfieber@FreeBSD.ORG
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CXXFLAGS="${CFLAGS}"
+
+post-install:
+.for i in jade nsgmls sgmlnorm spam spent sx
+ strip ${PREFIX}/bin/$i
+.endfor
+ ${MKDIR} ${PREFIX}/include/sp
+ ${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/include/sp
+ ${MKDIR} ${PREFIX}/share/doc/jade
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.htm ${PREFIX}/share/doc/jade
+ ${MKDIR} ${PREFIX}/share/sgml/jade
+ ${INSTALL_DATA} ${WRKSRC}/dsssl/* ${PREFIX}/share/sgml/jade
+ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m $(PREFIX)/lib
+
+.include <bsd.port.mk>
diff --git a/textproc/jade/files/md5 b/textproc/jade/files/md5
new file mode 100644
index 00000000000..a9447b5f79b
--- /dev/null
+++ b/textproc/jade/files/md5
@@ -0,0 +1 @@
+MD5 (jade-1.2.1.tar.gz) = 4239670ca6b578bff68b8c2e7cd1225f
diff --git a/textproc/jade/patches/patch-ac b/textproc/jade/patches/patch-ac
new file mode 100644
index 00000000000..98730d62feb
--- /dev/null
+++ b/textproc/jade/patches/patch-ac
@@ -0,0 +1,19 @@
+*** lib/instmac.m4.orig Sun Jul 6 20:20:04 1997
+--- lib/instmac.m4 Sun Jul 6 20:20:54 1997
+***************
+*** 75,81 ****
+ __undefine(`undefine')__dnl
+ __undefine(`undivert')__dnl
+ __undefine(`unix')__dnl
+! __dnl __changequote(,)__dnl disable quoting
+
+ #ifdef SP_NAMESPACE
+ }
+--- 75,81 ----
+ __undefine(`undefine')__dnl
+ __undefine(`undivert')__dnl
+ __undefine(`unix')__dnl
+! __dnl __changequote(,)__dnl
+
+ #ifdef SP_NAMESPACE
+ }
diff --git a/textproc/jade/patches/patch-ad b/textproc/jade/patches/patch-ad
new file mode 100644
index 00000000000..67e689a2ae6
--- /dev/null
+++ b/textproc/jade/patches/patch-ad
@@ -0,0 +1,53 @@
+--- config/ltmain.sh.orig Wed Oct 7 13:16:34 1998
++++ config/ltmain.sh Tue Feb 2 20:38:44 1999
+@@ -967,6 +967,16 @@
+ versuffix="$current.$revision"
+ ;;
+
++ freebsd)
++ version_vars="$version_vars major versuffix"
++ major="$current"
++ if [ $PORTOBJFORMAT = elf ]; then
++ versuffix="$current";
++ else
++ versuffix="$current.$revision";
++ fi
++ ;;
++
+ *)
+ $echo "$modename: unknown library version type \`$version_type'" 1>&2
+ echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
+--- config/ltconfig.orig Wed Oct 7 13:16:34 1998
++++ config/ltconfig Tue Feb 2 20:41:55 1999
+@@ -777,7 +777,7 @@
+ ;;
+
+ # FreeBSD 3, at last, uses gcc -shared to do shared libraries.
+- freebsd3*)
++ freebsd*)
+ archive_cmds='$CC -shared -o $lib$libobjs'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+@@ -1123,10 +1123,21 @@
+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
+ ;;
+
+-freebsd2* | freebsd3*)
++freebsd2*)
+ version_type=sunos
+ library_names_spec='${libname}${release}.so.$versuffix $libname.so'
+ finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir'
++ shlibpath_var=LD_LIBRARY_PATH
++ ;;
++
++freebsd*)
++ version_type=freebsd
++ library_names_spec='${libname}${release}.so.$versuffix $libname.so'
++ if [ $PORTOBJFORMAT = elf ]; then
++ finish_cmds='PATH="$PATH:/sbin" OBJFORMAT="$PORTOBJFORMAT" ldconfig -m $libdir'
++ else
++ finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir'
++ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
diff --git a/textproc/jade/pkg/COMMENT b/textproc/jade/pkg/COMMENT
new file mode 100644
index 00000000000..15a484b8223
--- /dev/null
+++ b/textproc/jade/pkg/COMMENT
@@ -0,0 +1 @@
+An object-oriented SGML/XML parser toolkit and DSSSL engine
diff --git a/textproc/jade/pkg/DESCR b/textproc/jade/pkg/DESCR
new file mode 100644
index 00000000000..8df1ccea80a
--- /dev/null
+++ b/textproc/jade/pkg/DESCR
@@ -0,0 +1,22 @@
+An object-oriented SGML/XML parser toolkit and DSSSL engine.
+
+Features summary:
+
+ * Includes nsgmls
+ * Provides access to all information about SGML document
+ * Supports almost all optional SGML features
+ * Sophisticated entity manager
+ * Supports multi-byte character sets
+ * Object-oriented
+ * Written in C++ from scratch
+ * Fast
+ * Portable
+ * Production quality
+ * Free
+
+Note: This port is a superset of the sp port. If you have sp
+installed, it is recommended that you remove it before installing
+jade.
+
+John Fieber
+jfieber@FreeBSD.org
diff --git a/textproc/jade/pkg/PLIST b/textproc/jade/pkg/PLIST
new file mode 100644
index 00000000000..a3bdb33c658
--- /dev/null
+++ b/textproc/jade/pkg/PLIST
@@ -0,0 +1,189 @@
+bin/jade
+bin/nsgmls
+bin/sgmlnorm
+bin/spam
+bin/spent
+bin/sx
+include/sp/Allocator.h
+include/sp/ArcEngine.h
+include/sp/Attribute.h
+include/sp/Attributed.h
+include/sp/Big5CodingSystem.h
+include/sp/Boolean.h
+include/sp/CharMap.cxx
+include/sp/CharMap.h
+include/sp/CharsetDecl.h
+include/sp/CharsetInfo.h
+include/sp/CharsetRegistry.h
+include/sp/CmdLineApp.h
+include/sp/CodingSystem.h
+include/sp/CodingSystemKit.h
+include/sp/ConsoleOutput.h
+include/sp/ContentState.h
+include/sp/ContentToken.h
+include/sp/CopyOwner.cxx
+include/sp/CopyOwner.h
+include/sp/DescriptorManager.h
+include/sp/Dtd.h
+include/sp/EUCJPCodingSystem.h
+include/sp/ElementType.h
+include/sp/Entity.h
+include/sp/EntityApp.h
+include/sp/EntityCatalog.h
+include/sp/EntityDecl.h
+include/sp/EntityManager.h
+include/sp/ErrnoMessageArg.h
+include/sp/ErrorCountEventHandler.h
+include/sp/Event.h
+include/sp/EventsWanted.h
+include/sp/ExtendEntityManager.h
+include/sp/ExternalId.h
+include/sp/Fixed2CodingSystem.h
+include/sp/GenericEventHandler.h
+include/sp/Hash.h
+include/sp/HashTable.cxx
+include/sp/HashTable.h
+include/sp/HashTableItemBase.cxx
+include/sp/HashTableItemBase.h
+include/sp/IList.h
+include/sp/IListBase.h
+include/sp/IListIter.h
+include/sp/IListIterBase.h
+include/sp/IQueue.cxx
+include/sp/IQueue.h
+include/sp/ISet.cxx
+include/sp/ISet.h
+include/sp/ISetIter.h
+include/sp/IdentityCodingSystem.h
+include/sp/InputSource.h
+include/sp/InternalInputSource.h
+include/sp/Link.h
+include/sp/LinkProcess.h
+include/sp/List.cxx
+include/sp/List.h
+include/sp/ListIter.h
+include/sp/LiteralStorage.h
+include/sp/Location.h
+include/sp/Lpd.h
+include/sp/Markup.h
+include/sp/Message.h
+include/sp/MessageArg.h
+include/sp/MessageBuilder.h
+include/sp/MessageEventHandler.h
+include/sp/MessageFormatter.h
+include/sp/MessageReporter.h
+include/sp/MessageTable.h
+include/sp/Mode.h
+include/sp/NCVector.h
+include/sp/NCVector.sed
+include/sp/Named.h
+include/sp/NamedResource.h
+include/sp/NamedResourceTable.h
+include/sp/NamedTable.h
+include/sp/Notation.h
+include/sp/NotationStorage.h
+include/sp/OpenElement.h
+include/sp/Options.cxx
+include/sp/Options.h
+include/sp/OutputByteStream.h
+include/sp/OutputCharStream.h
+include/sp/Owner.cxx
+include/sp/Owner.h
+include/sp/OwnerTable.cxx
+include/sp/OwnerTable.h
+include/sp/ParserApp.h
+include/sp/ParserOptions.h
+include/sp/PointerTable.cxx
+include/sp/PointerTable.h
+include/sp/PosixStorage.h
+include/sp/Ptr.cxx
+include/sp/Ptr.h
+include/sp/RangeMap.cxx
+include/sp/RangeMap.h
+include/sp/Resource.h
+include/sp/RewindStorageObject.h
+include/sp/SJISCodingSystem.h
+include/sp/SOEntityCatalog.h
+include/sp/Sd.h
+include/sp/SdText.h
+include/sp/SearchResultMessageArg.h
+include/sp/SgmlParser.h
+include/sp/ShortReferenceMap.h
+include/sp/StdioStorage.h
+include/sp/StorageManager.h
+include/sp/StringC.h
+include/sp/StringOf.cxx
+include/sp/StringOf.h
+include/sp/StringResource.h
+include/sp/SubstTable.cxx
+include/sp/SubstTable.h
+include/sp/Syntax.h
+include/sp/Text.h
+include/sp/TranslateCodingSystem.h
+include/sp/TypeId.h
+include/sp/URLStorage.h
+include/sp/UTF8CodingSystem.h
+include/sp/UnicodeCodingSystem.h
+include/sp/UnivCharsetDesc.h
+include/sp/Vector.cxx
+include/sp/Vector.h
+include/sp/Win32CodingSystem.h
+include/sp/WinApp.h
+include/sp/WinInetStorage.h
+include/sp/XMLCodingSystem.h
+include/sp/XcharMap.cxx
+include/sp/XcharMap.h
+include/sp/config.h
+include/sp/constant.h
+include/sp/macros.h
+include/sp/rtti.h
+include/sp/sptchar.h
+include/sp/types.h
+include/sp/xnew.h
+lib/libgrove.la
+lib/libgrove.so
+lib/libgrove.so.1.3
+lib/libsp.la
+lib/libsp.so
+lib/libsp.so.1.3
+lib/libspgrove.la
+lib/libspgrove.so
+lib/libspgrove.so.1.3
+lib/libstyle.la
+lib/libstyle.so
+lib/libstyle.so.1.3
+share/doc/jade/archform.htm
+share/doc/jade/build.htm
+share/doc/jade/catalog.htm
+share/doc/jade/charset.htm
+share/doc/jade/features.htm
+share/doc/jade/generic.htm
+share/doc/jade/ideas.htm
+share/doc/jade/index.htm
+share/doc/jade/new.htm
+share/doc/jade/nsgmls.htm
+share/doc/jade/sgmldecl.htm
+share/doc/jade/sgmlnorm.htm
+share/doc/jade/sgmlsout.htm
+share/doc/jade/spam.htm
+share/doc/jade/spent.htm
+share/doc/jade/sx.htm
+share/doc/jade/sysdecl.htm
+share/doc/jade/sysid.htm
+share/doc/jade/xml.htm
+share/sgml/jade/Makefile.jadetex
+share/sgml/jade/catalog
+share/sgml/jade/demo.dsl
+share/sgml/jade/demo.sgm
+share/sgml/jade/dsssl.dtd
+share/sgml/jade/fot.dtd
+share/sgml/jade/jadetex.dtx
+share/sgml/jade/jadetex.ini
+share/sgml/jade/jadetex.ins
+share/sgml/jade/pdfjadetex.ini
+share/sgml/jade/style-sheet.dtd
+@dirrm include/sp
+@dirrm share/doc/jade
+@dirrm share/sgml/jade
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R