# $Id: Portfile,v 1.5 2003/08/05 09:29:39 jkh Exp $

PortSystem 1.0
name		rtfreader
version		1.0
categories	textproc
maintainers	mij@opendarwin.org
description	Utility to read Microsoft RTF files
homepage	http://www.fiction.net/blong/programs/#rtf
platforms	darwin

long_description RTF is the Microsoft Rich Text Format, a more portable, \
		 mostly ASCII formatting language that is exported by \
		 word processors like MS Word.  The files generally have \
		 the extension .rtf, but occasionally have .doc \
		 extensions as well.  This parser is from the Microsoft \
		 spec, ported to Unix systems.

master_sites	http://www.fiction.net/blong/programs/

distname	ms-rtf
worksrcdir	${distname}

checksums	md5 fa203d863ec479b36bcbed3abdd4e77e

patchfiles	patch-Makefile
configure	{}

build.target	rtfreader

destroot	{ system "install -o root -m 755 -d ${destroot}${prefix}/bin"
		  system "install -o root -m 755 ${worksrcpath}/${portname} \
		    ${destroot}${prefix}/bin" }
