# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $

PortSystem 1.0

name			lesspipe
version			1.53
categories  	textproc
maintainers 	gmail.com:ingmarstein
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 8317458e4955e43fe39728a0928dfce6 \
			sha1 94fb298292e122639b0bd167e7b3c9bccbc90837\
			rmd160 f0d13dcc2efc47ade174b9655db480696a85d7a4
configure.args		--yes --shell=/bin/bash
build				{}
destroot.destdir	PREFIX=${destroot}${prefix}
post-install {
    ui_msg  "Set this in your .bash_profile:"
    ui_msg  "export LESSOPEN='| ${prefix}/bin/lesspipe.sh %s'"
}
