# $Id: Portfile,v 1.3 2005/12/23 13:14:52 mww Exp $

PortSystem    	1.0
name      	ManOpen
version       	2.5
revision	1
categories    	textproc aqua
maintainers   	waqar@opendarwin.org
description   	GUI application for viewing Unix manual pages, 
long_description   \
	It can open files directly or be given titles, in which case 	\
	it will display the output from the `man' command-line program. \
	An apropos interface is also provided, which is basically a 	\
	quick-and-dirty search of the man page databases. Services are 	\
	provided to other applications to open selected files/titles 	\
	or do apropos searches using the selected text.
homepage	http://www.clindberg.org/projects/ManOpen.html
platforms	macosx
master_sites	http://www.clindberg.org/projects
distname	${name}-${version}.s
worksrcdir	${name}-${version}
checksums	md5 8b68160df42fea50eed1a632d0661ceb			\
		sha1 db73e131022f2ca507350a594d802b017a38e058
use_configure   no
destroot 	{ 
	xinstall -d -m 755 ${destroot}/Applications/DarwinPorts
	file copy ${build.dir}/${name}.app 				\
		${destroot}/Applications/DarwinPorts/${name}.app
	file copy ${build.dir}/openman ${destroot}${prefix}/bin
	file copy ${build.dir}/openman.tproj/openman.1			\
		${destroot}${prefix}/share/man/man1
}
