Portfile

# $Id: Portfile 20478 2006-11-03 15:31:57Z blair@macports.org $

PortSystem 1.0
name lesspipe
version 1.52
revision 1
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 --shell=/bin/bash
build.target install
destroot.destdir PREFIX=${destroot}${prefix}
post-install {
ui_msg "Set this in your .bash_profile:"
ui_msg "export LESSOPEN='| ${prefix}/bin/lesspipe.sh %s'"
}