summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2001-01-21 22:44:16 +0000
committerrh <rh@pkgsrc.org>2001-01-21 22:44:16 +0000
commitca72896535c1e333179f411a9661e090dd39e170 (patch)
treed99be58cb826f5051cef29e8e21ecb3bfb97e722 /textproc
parentaaa83f34156c503a86de8ba59b6e97db1ccc7f56 (diff)
downloadpkgsrc-ca72896535c1e333179f411a9661e090dd39e170.tar.gz
Initial import of makeztxt-1.10, an ASCII text to Palm zTXT converter.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/makeztxt/Makefile26
-rw-r--r--textproc/makeztxt/files/md53
-rw-r--r--textproc/makeztxt/pkg/COMMENT1
-rw-r--r--textproc/makeztxt/pkg/DESCR14
-rw-r--r--textproc/makeztxt/pkg/PLIST6
5 files changed, 50 insertions, 0 deletions
diff --git a/textproc/makeztxt/Makefile b/textproc/makeztxt/Makefile
new file mode 100644
index 00000000000..641d2de1649
--- /dev/null
+++ b/textproc/makeztxt/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/01/21 22:44:16 rh Exp $
+#
+
+DISTNAME= ${PKGNAME}-src
+PKGNAME= ${PRG}-1.10
+WRKSRC= ${WRKDIR}/${PKGNAME}
+CATEGORIES= textproc converters
+MASTER_SITES= http://download.sourceforge.net/gutenpalm/
+
+MAINTAINER= rh@netbsd.org
+HOMEPAGE= http://gutenpalm.sourceforge.net/makeztxt.php
+
+PRG= makeztxt
+
+do-build:
+ cd ${WRKSRC} && \
+ ${CC} ${CFLAGS} -I. -o ${PRG} ${PRG}.c ${LDFLAGS} -lz
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PRG} ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PRG}
+.for doc in COPYING ChangeLog README
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${PREFIX}/share/doc/${PRG}
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/makeztxt/files/md5 b/textproc/makeztxt/files/md5
new file mode 100644
index 00000000000..e908d1a5e80
--- /dev/null
+++ b/textproc/makeztxt/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/01/21 22:44:16 rh Exp $
+
+MD5 (makeztxt-1.10-src.tar.gz) = 6309743860f5f2f6abd867497dfaeb7e
diff --git a/textproc/makeztxt/pkg/COMMENT b/textproc/makeztxt/pkg/COMMENT
new file mode 100644
index 00000000000..1ad1573cdba
--- /dev/null
+++ b/textproc/makeztxt/pkg/COMMENT
@@ -0,0 +1 @@
+ASCII text to Palm zTXT database converter
diff --git a/textproc/makeztxt/pkg/DESCR b/textproc/makeztxt/pkg/DESCR
new file mode 100644
index 00000000000..fbd9cd8e84d
--- /dev/null
+++ b/textproc/makeztxt/pkg/DESCR
@@ -0,0 +1,14 @@
+ makeztxt is a simple commandline program that takes a plain ASCII text
+file and compresses it into a zTXT Palm database. It doesn't like the DOS
+style CR/LF line breaks, so the input file should be first run through a
+conversion program such as dos2unix if it contains such characters.
+makeztxt will remove newline characters at the end of lines that contain
+text so that the paragraphs flow better on the Palm screen.
+
+ The best feature of makeztxt, however, is its ability to use regular
+expressions to search the input text for bookmark spots. This is done
+with the command line options -l and -r:
+
+ -l will list all the bookmarks that are generated.
+ -r takes a regex as an argument to generate one or more
+ bookmarks. You can have as many -r options as you want.
diff --git a/textproc/makeztxt/pkg/PLIST b/textproc/makeztxt/pkg/PLIST
new file mode 100644
index 00000000000..ebbcee7ee22
--- /dev/null
+++ b/textproc/makeztxt/pkg/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/01/21 22:44:16 rh Exp $
+bin/makeztxt
+share/doc/makeztxt/COPYING
+share/doc/makeztxt/ChangeLog
+share/doc/makeztxt/README
+@dirrm share/doc/makeztxt