From 37510cc12624ae05000496d801c5d70266d8a037 Mon Sep 17 00:00:00 2001 From: rh Date: Sun, 21 Jan 2001 22:44:16 +0000 Subject: Initial import of makeztxt-1.10, an ASCII text to Palm zTXT converter. --- textproc/makeztxt/Makefile | 26 ++++++++++++++++++++++++++ textproc/makeztxt/files/md5 | 3 +++ textproc/makeztxt/pkg/COMMENT | 1 + textproc/makeztxt/pkg/DESCR | 14 ++++++++++++++ textproc/makeztxt/pkg/PLIST | 6 ++++++ 5 files changed, 50 insertions(+) create mode 100644 textproc/makeztxt/Makefile create mode 100644 textproc/makeztxt/files/md5 create mode 100644 textproc/makeztxt/pkg/COMMENT create mode 100644 textproc/makeztxt/pkg/DESCR create mode 100644 textproc/makeztxt/pkg/PLIST (limited to 'textproc/makeztxt') 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 -- cgit v1.2.3