# $Id: Portfile,v 1.5 2004/07/04 02:39:55 lomion Exp $

PortSystem 1.0
name             tkman
version          2.2
description      TK-based GUI for manpage viewing.
long_description \
    A TK Based Manpage viewer.  TkMan offers indexing, \
    searching and browsing of man pages, info pages and TeX pages.
platforms        darwin macosx
categories       textproc
maintainers      lomion@mac.com
homepage         http://tkman.sourceforge.net/
master_sites     sourceforge
patchfiles       patch-Makefile
checksums        md5 0e81735c93ab2500d6105ff33095c3e8
depends_lib      bin:rman:rman bin:agrep:glimpse \
                 lib:libX11.6:XFree86 lib:libtk8.4:tk

configure {
    cd ${worksrcpath}
    reinplace "s|__PREFIX|${prefix}|g" Makefile
    reinplace "s|__DSTROOT|${destroot}${prefix}|g" Makefile
}
