# $Id: Portfile 93094 2012-05-15 07:47:25Z ryandesign@macports.org $

PortSystem 1.0

name			lesspipe
version			1.72
categories  	textproc
license			GPL-2
maintainers 	gmail.com:ingmarstein
supported_archs	noarch
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	rmd160  bbe7a1c246bd1897db8c29bc276727a54919528c \
			sha256  d62b25fe73928f9454de373296325dfb2fa02e0718d33ad87c3b083e6e5ce5d4

configure.args		--yes --shell=/bin/bash
build				{}
destroot.destdir	PREFIX=${destroot}${prefix}
notes "
    To use $name, set this in your .bash_profile:
    export LESSOPEN='| ${prefix}/bin/lesspipe.sh %s'
"
