# $Id: Portfile 53927 2009-07-16 18:09:22Z jmr@macports.org $

PortSystem 1.0
name             tkman
version          2.2
revision         1
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      mac.com:lomion
homepage         http://tkman.sourceforge.net/
master_sites     sourceforge
patchfiles       patch-Makefile
checksums        md5 0e81735c93ab2500d6105ff33095c3e8
depends_lib      bin:rman:rman bin:agrep:glimpse \
                 port:xorg-libs lib:libtk8.4:tk

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