# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 91387 2012-03-31 13:32:58Z yeled@macports.org $

PortSystem              1.0

name                    dvtm
version                 0.7
categories              sysutils
platforms               darwin
maintainers             leboulanger.org:harold

description             Dynamic Virtual Terminal Manager

long_description        dvtm brings the concept of tiling window management, \
                        popularized by X11-window managers like dwm to the \
                        console. As a console window manager it tries to make \
                        it easy to work with multiple console based programs \
                        like vim, mutt, cmus or irssi.

homepage                http://brain-dump.org/projects/dvtm/
master_sites            ${homepage}

checksums               md5     d8ef63bad5b48324ad040630c51a1c26 \
                        sha1    f37c57d5395de3fc47b8c05479c7c3c47c637948 \
                        rmd160  64a3a0213731b5694ddd5dfe0fac02c19160e5a0

depends_lib             port:ncurses

patchfiles              patch-src-config.mk.diff

platform darwin {
    patchfiles-append   patch-src-Makefile.diff
}

use_configure           no

build.args              PREFIX=${prefix} \
                        CC=${configure.cc}

destroot.args           PREFIX=${prefix}
