initial import of htmldoc-1.8.11

--
HTMLDOC was developed in response to a need to generate high quality
documentation in printed and electronic forms.  It converts source
HTML documentation into PDF and Postscript form, and has a GUI and
CLI front-end to accomplish this.
This commit is contained in:
avsm 2001-02-21 23:31:31 +00:00
parent 600ac700c9
commit c3686a4064
8 changed files with 117 additions and 0 deletions

30
print/htmldoc/Makefile Normal file
View File

@ -0,0 +1,30 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/02/21 23:31:31 avsm Exp $
DISTNAME= htmldoc-1.8.11
CATEGORIES= print www
NEED_VERSION= 1.354
HOMEPAGE= http://www.easysw.com/htmldoc
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
DISTFILES= ${DISTNAME}-source${EXTRACT_SUFX}
EXTRACT_SUFX= .zip
MASTER_SITES= ftp://ftp.easysw.com/pub/htmldoc/1.8.11/
BUILD_DEPENDS= ${LOCALBASE}/bin/fluid::x11/fltk
LIB_DEPENDS= png.1::graphics/png \
jpeg.62::graphics/jpeg
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu dest
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CXXFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include"
.include <bsd.port.mk>

3
print/htmldoc/files/md5 Normal file
View File

@ -0,0 +1,3 @@
MD5 (htmldoc-1.8.11-source.zip) = 8c0dde4541604599693c39a1ea0ef200
RMD160 (htmldoc-1.8.11-source.zip) = e2210d255eca2e774e6f04eed0923a8fe4a2b925
SHA1 (htmldoc-1.8.11-source.zip) = da8a095fb96537337b865301d045b4587a4bc4b0

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2001/02/21 23:31:31 avsm Exp $
--- Makefile.in.orig Wed Feb 21 20:39:13 2001
+++ Makefile.in Wed Feb 21 20:39:24 2001
@@ -67,7 +67,7 @@ install:
$(MAKE) all
for dir in $(INSTALLDIRS); do\
echo Installing in $$dir...;\
- (cd $$dir; $(MAKE) -$(MAKEFLAGS) clean) || break;\
+ (cd $$dir; $(MAKE) -$(MAKEFLAGS) install) || break;\
done

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-htmldoc_file_c,v 1.1.1.1 2001/02/21 23:31:31 avsm Exp $
--- htmldoc/file.c.orig Tue Feb 13 10:31:16 2001
+++ htmldoc/file.c Wed Feb 21 21:53:19 2001
@@ -410,11 +410,11 @@ file_find(const char *path, /* I - Path
GetCurrentProcessId(), web_files);
#else
if ((tmpdir = getenv("TMPDIR")) == NULL)
- tmpdir = "/var/tmp";
+ tmpdir = "/tmp";
snprintf(filename, sizeof(filename), "%s/%06d.%06d", tmpdir, web_files,
getpid());
- if ((fd = open(filename, O_CREAT | O_EXCL | O_TRUNC, 0600)) >= 0)
+ if ((fd = open(filename, O_CREAT | O_EXCL , 0600)) != -1)
close(fd);
else
{

View File

@ -0,0 +1 @@
convert HTML pages to PDF/PS format

9
print/htmldoc/pkg/DESCR Normal file
View File

@ -0,0 +1,9 @@
HTMLDOC was developed in response to a need to generate high quality
documentation in printed and electronic forms. It converts source
HTML documentation into PDF and Postscript form, and has a GUI and
CLI front-end to accomplish this.
Commercial support is available from Easy Software Products, and
more informaation regarding this can be found at the homepage.
WWW: ${HOMEPAGE}

10
print/htmldoc/pkg/MESSAGE Normal file
View File

@ -0,0 +1,10 @@
+------
| You will have to specify the datadir manually
| every time you use htmldoc. Try:
|
| htmldoc --datadir ${PREFIX}/share/htmldoc
|
| The full set of documentation is available online:
|
| http://www.easysw.com/htmldoc/htmldoc.html
+------

35
print/htmldoc/pkg/PLIST Normal file
View File

@ -0,0 +1,35 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/02/21 23:31:31 avsm 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/iso-8859-1
share/htmldoc/data/iso-8859-14
share/htmldoc/data/iso-8859-15
share/htmldoc/data/iso-8859-2
share/htmldoc/data/iso-8859-3
share/htmldoc/data/iso-8859-4
share/htmldoc/data/iso-8859-5
share/htmldoc/data/iso-8859-6
share/htmldoc/data/iso-8859-7
share/htmldoc/data/iso-8859-8
share/htmldoc/data/iso-8859-9
share/htmldoc/data/koi8-r
share/htmldoc/data/psglyphs
@dirrm share/htmldoc/data
@dirrm share/htmldoc/afm
@dirrm share/htmldoc
@dirrm share/doc/htmldoc