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

PortSystem 1.0
name		urlview
version		0.9
categories	www
maintainers	mij@opendarwin.org
description	URL extractor/launcher
homepage	ftp://ftp.mutt.org/contrib/
platforms	darwin

long_description Urlview is a screen-oriented program for extracting \
		 URLs from text files.  It displays a menu from which \
		 you can launch a command to view a specific item.

master_sites	ftp://ftp.mutt.org/mutt/contrib/ 

checksums	md5 67731f73e69297ffd106b65c8aebb2ab

patchfiles	patch-url_handler.sh

post-patch	{ reinplace "s|!!PREFIX!!|${destroot}${prefix}|g" \
		  ${worksrcpath}/url_handler.sh }

post-destroot	{ system "install -o root -m 755 ${worksrcpath}/url_handler.sh \
		    ${destroot}${prefix}/bin" }
