summaryrefslogtreecommitdiff
path: root/textproc/GutenMark
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-12-05 15:02:24 +0000
committerwiz <wiz@pkgsrc.org>2002-12-05 15:02:24 +0000
commit51b27415794c7710adc1f021484179dca3328884 (patch)
treea2f06d82dc5dc86c67f4c1551d74c34baafcb08c /textproc/GutenMark
parent9727843b67231a528dcd291c3ed9d6c224c5acf1 (diff)
downloadpkgsrc-51b27415794c7710adc1f021484179dca3328884.tar.gz
Initial import of packages for GutenMark:
GutenMark is a tool for automatically creating high-quality HTML or LaTeX markup from Project Gutenberg etexts. In combination with other freely-available conversion tools, GutenMark can convert Project Gutenberg etexts into publication-quality Postscript or PDF, for print-on-demand applications. The goal is for this conversion is completely automatic, without manual markup or editing.
Diffstat (limited to 'textproc/GutenMark')
-rw-r--r--textproc/GutenMark/DESCR6
-rw-r--r--textproc/GutenMark/MESSAGE10
-rw-r--r--textproc/GutenMark/Makefile25
-rw-r--r--textproc/GutenMark/PLIST2
-rw-r--r--textproc/GutenMark/distinfo5
-rw-r--r--textproc/GutenMark/patches/patch-aa16
6 files changed, 64 insertions, 0 deletions
diff --git a/textproc/GutenMark/DESCR b/textproc/GutenMark/DESCR
new file mode 100644
index 00000000000..e478b6bc6ed
--- /dev/null
+++ b/textproc/GutenMark/DESCR
@@ -0,0 +1,6 @@
+GutenMark is a tool for automatically creating high-quality HTML
+or LaTeX markup from Project Gutenberg etexts. In combination with
+other freely-available conversion tools, GutenMark can convert
+Project Gutenberg etexts into publication-quality Postscript or
+PDF, for print-on-demand applications. The goal is for this
+conversion is completely automatic, without manual markup or editing.
diff --git a/textproc/GutenMark/MESSAGE b/textproc/GutenMark/MESSAGE
new file mode 100644
index 00000000000..7d961ae3123
--- /dev/null
+++ b/textproc/GutenMark/MESSAGE
@@ -0,0 +1,10 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2002/12/05 15:02:24 wiz Exp $
+
+Quickstart instructions:
+ GutenMark --config=${PREFIX}/share/examples/GutenMark/GutenMark.cfg in > out.html
+
+For details, look at the --help output, the example config, or
+visit the website.
+
+===========================================================================
diff --git a/textproc/GutenMark/Makefile b/textproc/GutenMark/Makefile
new file mode 100644
index 00000000000..7f5e09fd8cb
--- /dev/null
+++ b/textproc/GutenMark/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/12/05 15:02:24 wiz Exp $
+#
+
+DISTNAME= GutenMark_source_${GVER}
+PKGNAME= GutenMark-${GVER}
+CATEGORIES= textproc
+MASTER_SITES= ftp://ftp.sandroid.org/GutenMark/SoftwareSnapshots/
+
+MAINTAINER= wiz@netbsd.org
+HOMEPAGE= http://www.sandroid.org/GutenMark/
+COMMENT= automatic, high-quality Gutenberg text formatter to LaTeX or HTML
+
+DEPENDS+= GutenMark-words-[0-9]*:../../textproc/GutenMark-words
+
+GVER= 20020714
+WRKSRC= ${WRKDIR}/GutenMark-source
+USE_BUILDLINK2= YES
+USE_GMAKE= YES
+ALL_TARGET= GutenMark
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/GutenMark ${PREFIX}/bin
+
+.include "../../devel/zlib/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/GutenMark/PLIST b/textproc/GutenMark/PLIST
new file mode 100644
index 00000000000..bd7cc622da4
--- /dev/null
+++ b/textproc/GutenMark/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/12/05 15:02:24 wiz Exp $
+bin/GutenMark
diff --git a/textproc/GutenMark/distinfo b/textproc/GutenMark/distinfo
new file mode 100644
index 00000000000..a168eecd803
--- /dev/null
+++ b/textproc/GutenMark/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/12/05 15:02:24 wiz Exp $
+
+SHA1 (GutenMark_source_20020714.tar.gz) = 6b65f69f687dfba12a60aa6099c806ca50ca276d
+Size (GutenMark_source_20020714.tar.gz) = 192099 bytes
+SHA1 (patch-aa) = 111bd0e2ae18d84f2c8af88dc0ba45195472687c
diff --git a/textproc/GutenMark/patches/patch-aa b/textproc/GutenMark/patches/patch-aa
new file mode 100644
index 00000000000..8c69fa8be67
--- /dev/null
+++ b/textproc/GutenMark/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/12/05 15:02:24 wiz Exp $
+
+--- libGutenSpell/MatchWordlists.c.orig Sun Jul 14 18:30:50 2002
++++ libGutenSpell/MatchWordlists.c
+@@ -430,11 +430,6 @@ GlobErrorMessage (int ReturnValue, FILE
+ if (LogFile != NULL)
+ fprintf (LogFile, "MatchWordlists: GLOB_NOSPACE for \"%s\"\n", ss);
+ break;
+- case GLOB_ABEND:
+- fprintf (stderr, "Possible disk-read error.\n");
+- if (LogFile != NULL)
+- fprintf (LogFile, "MatchWordlists: GLOB_ABEND for \"%s\"\n", ss);
+- break;
+ default:
+ fprintf (stderr, "Unknown globbing error.\n");
+ if (LogFile != NULL)