# $Id: Portfile,v 1.9 2004/07/17 09:53:28 jkh Exp $

PortSystem 1.0
name		jive
version		1.1
revision	1
categories	textproc
maintainers	mij@opendarwin.org
description	Convert English text to Jive
platforms	darwin

master_sites	ftp://nuxi.ucdavis.edu/pub/misc/ \
		freebsd \
		http://soupnazi.org/OSX/dports/distfiles/

checksums	md5 6d1132f08857d67b94e45339f5dbed29

worksrcdir	jive

configure	{ cd ${worksrcpath}
		  reinplace "s|prefix	= /usr/local|prefix = ${destroot}${prefix}|g" Makefile }

post-configure	{ system "install -o root -m 755 -d ${destroot}${prefix}/bin"
		  system "install -o root -m 755 -d \
		    ${destroot}${prefix}/share/man/man1" }

destroot.args	prefix=${destroot}${prefix} MANDIR=${destroot}${prefix}/share/man/man1
