# $Id: Portfile,v 1.2 2006/03/21 08:57:12 mww Exp $

PortSystem 1.0
name			lesspipe
version			1.52
categories  	textproc
maintainers 	ingmarstein@gmail.com
description		lesspipe is an input filter for the pager less.
long_description lesspipe.sh is an input filter for the pager less as \
			described in its man page. The script runs under a ksh compliant \
			shell (ksh, bash, zsh) and allows to view files with binary content, \
			compressed files, archives and files contained in archives. A large \
			and growing number of formats are supported both as plain and \
			compressed files using compress, gzip, bzip2 or zip.
homepage	http://www-zeuthen.desy.de/~friebel/unix/lesspipe.html
platforms	darwin
master_sites	ftp://ftp.ifh.de/pub/unix/utility/ \
				http://www-zeuthen.desy.de/~friebel/unix/less/
checksums	md5 95cea0dc8b6b8788dc7003b6c3b4a80f \
            sha1 6c7bcfe81a640b4559568df69112e415d4731ee7
configure.args		--yes
destroot.destdir	PREFIX=${destroot}${prefix}
post-install {
    ui_msg  "Set this in your .bash_profile:"
    ui_msg  "export LESSOPEN='| ${prefix}/bin/lesspipe.sh %s'"
}

