summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/htmldoc/Makefile.common6
-rw-r--r--www/htmldoc/PLIST53
-rw-r--r--www/htmldoc/distinfo7
-rw-r--r--www/htmldoc/patches/patch-aa40
4 files changed, 85 insertions, 21 deletions
diff --git a/www/htmldoc/Makefile.common b/www/htmldoc/Makefile.common
index fa8d0c6ff00..2400dc924f3 100644
--- a/www/htmldoc/Makefile.common
+++ b/www/htmldoc/Makefile.common
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile.common,v 1.2 2002/09/23 23:34:59 jlam Exp $
+# $NetBSD: Makefile.common,v 1.3 2002/09/29 14:20:04 wiz Exp $
#
-HTMLDOC_VERSION= 1.8.19
+HTMLDOC_VERSION= 1.8.22
DISTNAME= htmldoc-${HTMLDOC_VERSION}-source
WRKSRC= ${WRKDIR}/htmldoc-${HTMLDOC_VERSION}
CATEGORIES= www
-MASTER_SITES= ftp://ftp.easysw.com/pub/htmldoc/1.8.19/
+MASTER_SITES= ftp://ftp.easysw.com/pub/htmldoc/${HTMLDOC_VERSION}/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= packages@netbsd.org
diff --git a/www/htmldoc/PLIST b/www/htmldoc/PLIST
index 8003adfe3a2..0c3f2e19024 100644
--- a/www/htmldoc/PLIST
+++ b/www/htmldoc/PLIST
@@ -1,21 +1,18 @@
-@comment $NetBSD: PLIST,v 1.2 2002/05/06 21:42:37 seb Exp $
+@comment $NetBSD: PLIST,v 1.3 2002/09/29 14:20:04 wiz Exp $
bin/htmldoc
man/man1/htmldoc.1
share/doc/htmldoc/help.html
share/doc/htmldoc/htmldoc.pdf
-share/htmldoc/afm/Courier
-share/htmldoc/afm/Courier-Bold
-share/htmldoc/afm/Courier-BoldOblique
-share/htmldoc/afm/Courier-Oblique
-share/htmldoc/afm/Helvetica
-share/htmldoc/afm/Helvetica-Bold
-share/htmldoc/afm/Helvetica-BoldOblique
-share/htmldoc/afm/Helvetica-Oblique
-share/htmldoc/afm/Symbol
-share/htmldoc/afm/Times-Bold
-share/htmldoc/afm/Times-BoldItalic
-share/htmldoc/afm/Times-Italic
-share/htmldoc/afm/Times-Roman
+share/htmldoc/data/cp-1250
+share/htmldoc/data/cp-1251
+share/htmldoc/data/cp-1252
+share/htmldoc/data/cp-1253
+share/htmldoc/data/cp-1254
+share/htmldoc/data/cp-1255
+share/htmldoc/data/cp-1256
+share/htmldoc/data/cp-1257
+share/htmldoc/data/cp-1258
+share/htmldoc/data/cp-874
share/htmldoc/data/iso-8859-1
share/htmldoc/data/iso-8859-14
share/htmldoc/data/iso-8859-15
@@ -30,7 +27,33 @@ share/htmldoc/data/iso-8859-9
share/htmldoc/data/koi8-r
share/htmldoc/data/prolog.ps
share/htmldoc/data/psglyphs
+share/htmldoc/fonts/Courier-Bold.afm
+share/htmldoc/fonts/Courier-Bold.pfa
+share/htmldoc/fonts/Courier-BoldOblique.afm
+share/htmldoc/fonts/Courier-BoldOblique.pfa
+share/htmldoc/fonts/Courier-Oblique.afm
+share/htmldoc/fonts/Courier-Oblique.pfa
+share/htmldoc/fonts/Courier.afm
+share/htmldoc/fonts/Courier.pfa
+share/htmldoc/fonts/Helvetica-Bold.afm
+share/htmldoc/fonts/Helvetica-Bold.pfa
+share/htmldoc/fonts/Helvetica-BoldOblique.afm
+share/htmldoc/fonts/Helvetica-BoldOblique.pfa
+share/htmldoc/fonts/Helvetica-Oblique.afm
+share/htmldoc/fonts/Helvetica-Oblique.pfa
+share/htmldoc/fonts/Helvetica.afm
+share/htmldoc/fonts/Helvetica.pfa
+share/htmldoc/fonts/Symbol.afm
+share/htmldoc/fonts/Symbol.pfa
+share/htmldoc/fonts/Times-Bold.afm
+share/htmldoc/fonts/Times-Bold.pfa
+share/htmldoc/fonts/Times-BoldItalic.afm
+share/htmldoc/fonts/Times-BoldItalic.pfa
+share/htmldoc/fonts/Times-Italic.afm
+share/htmldoc/fonts/Times-Italic.pfa
+share/htmldoc/fonts/Times-Roman.afm
+share/htmldoc/fonts/Times-Roman.pfa
+@dirrm share/htmldoc/fonts
@dirrm share/htmldoc/data
-@dirrm share/htmldoc/afm
@dirrm share/htmldoc
@dirrm share/doc/htmldoc
diff --git a/www/htmldoc/distinfo b/www/htmldoc/distinfo
index 0c721d450cc..2c6695d682b 100644
--- a/www/htmldoc/distinfo
+++ b/www/htmldoc/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.4 2002/05/06 21:42:37 seb Exp $
+$NetBSD: distinfo,v 1.5 2002/09/29 14:20:04 wiz Exp $
-SHA1 (htmldoc-1.8.19-source.tar.bz2) = 98e3710f9d46346ae4043db37fa81d670df67eab
-Size (htmldoc-1.8.19-source.tar.bz2) = 1740140 bytes
+SHA1 (htmldoc-1.8.22-source.tar.bz2) = 73493e3d921ab8419593b7a85d342d7f08e5ae38
+Size (htmldoc-1.8.22-source.tar.bz2) = 2335516 bytes
+SHA1 (patch-aa) = 8b42b0e3bfa16dc816284895d8d24a5401732202
diff --git a/www/htmldoc/patches/patch-aa b/www/htmldoc/patches/patch-aa
new file mode 100644
index 00000000000..9304078fc9e
--- /dev/null
+++ b/www/htmldoc/patches/patch-aa
@@ -0,0 +1,40 @@
+$NetBSD: patch-aa,v 1.5 2002/09/29 14:20:04 wiz Exp $
+
+--- htmldoc/html.cxx.orig Thu Jun 13 20:44:09 2002
++++ htmldoc/html.cxx
+@@ -154,6 +154,8 @@ html_export(tree_t *document, /* I - Doc
+ {
+ write_header(&out, (uchar *)"index.html", title, author, copyright,
+ docnumber, NULL);
++ if (out == NULL)
++ return -1;
+ write_title(out, title, author, copyright, docnumber);
+
+ write_footer(&out, NULL);
+@@ -164,6 +166,9 @@ html_export(tree_t *document, /* I - Doc
+ write_header(&out, (uchar *)"index.html", title, author, copyright,
+ docnumber, NULL);
+
++ if (out == NULL)
++ return -1;
++
+ write_all(out, toc, 0);
+ write_footer(&out, NULL);
+
+@@ -175,11 +180,16 @@ html_export(tree_t *document, /* I - Doc
+ {
+ write_header(&out, htmlGetVariable(document, (uchar *)"FILENAME"),
+ title, author, copyright, docnumber, document);
++ if (out == NULL)
++ return -1;
+ write_all(out, document->child, 0);
+ write_footer(&out, document);
+
+ document = document->next;
+ }
++
++ if (out == NULL)
++ return -1;
+
+ if (!OutputFiles && out != stdout)
+ {