# $Id: Portfile 83134 2011-08-26 07:57:59Z jmr@macports.org $

PortSystem 1.0

name             netwalker-ircc
version          0.5.0
categories       irc
maintainers      nomaintainer
description      A simple, fast IRC client with an ncurses UI.
long_description \
	netwalker-ircc is an IRC client which uses the ncurses library to \
	print the screen. The code was written completely from scratch.
homepage         http://lancelot2k.dyndns.org/projects/netwalker/
platforms        darwin

master_sites     ${homepage}netwalker-src/ freebsd
extract.suffix   .tgz
checksums        md5 1f5a7cc0fb54142c6306651105aedd68

depends_lib      port:ncurses

patchfiles       Makefile.patch

use_configure    no

use_parallel_build no
# yes, it uses $CC to compile C++
build.args       CC="${configure.cxx}" \
                 CFLAGS="${configure.cflags} -Wall ${configure.cc_archflags}" \
                 LDFLAGS="-lncurses ${configure.ld_archflags}"

destroot.destdir DESTDIR=${destroot}${prefix}
