# $Id: Portfile,v 1.1 2005/10/15 00:01:44 yeled Exp $

PortSystem 1.0

name		makeztxt
version		1.60
categories	palm textproc
platforms	darwin
maintainers	cssdev@mac.com

description	converts text files into Palm zTXT databases

long_description	makeztxt is a simple commandline program  \
	that takes a plain ASCII text file and compresses it into \
	a zTXT database.  makeztxt will remove newline characters \
	at the end of lines that contain text so that the         \
	paragraphs flow better on the Palm screen.  makeztxt      \
	supports the use of regular expressions to automatically  \
	generate a list of bookmarks for you.  Lastly, makeztxt   \
	can also break an existing zTXT file into it's components \
	(text, bookmarks, annotations) and store them into        \
	separate files for you.

homepage	http://gutenpalm.sourceforge.net/makeztxt.php
distname	${name}-${version}-src
master_sites	sourceforge
master_sites.mirror_subdir	gutenpalm
checksums	md5 d2f4166191b8ddd1033252de2d4680b5

worksrcdir	${name}-${version}
use_configure	no
build.args	USEPOSIX=1

destroot {
	xinstall -m 755 -d ${destroot}${prefix}/bin
	xinstall -m 755 -s ${worksrcpath}/makeztxt ${destroot}${prefix}/bin
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} COPYING README \
		${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 ${worksrcpath}/.makeztxtrc \
		${destroot}${prefix}/share/doc/${name}/makeztxtrc
}
