# $Id: Portfile 54979 2009-08-05 06:43:25Z blb@macports.org $

PortSystem          1.0
name                irssi-devel
version             5084
categories          irc
maintainers         blb openmaintainer
description         modular IRC client
long_description \
   Irssi is a modular IRC client that currently has only text mode user \
   interface, but 80-90% of the code is not text mode specific, so other \
   UIs could be created pretty easily. Also, Irssi is not really even IRC \
   specific anymore, there's already a working SILC module available. \
   Support for other protocols like ICQ could be created some day too.

platforms           darwin

homepage            http://irssi.org/
fetch.type          svn
svn.url             http://svn.irssi.org/repos/irssi/trunk
# When 1.8 is released, svn.revision can be set without the if{}
if {[info exists svn.revision]} {
   svn.revision        ${version}
} else {
   svn.tag             ${version}
}
# Use checkout as irssi's version calculation makes certain assumptions
# When 1.8 is released, svn.method can be set without the if{}
if {[info exists svn.method]} {
   svn.method          checkout
}
worksrcdir          trunk

depends_build       port:autoconf port:automake port:libtool port:pkgconfig

depends_lib         port:gettext path:lib/pkgconfig/glib-2.0.pc:glib2 \
                    port:libiconv port:ncurses port:openssl port:zlib \
                    path:bin/perl:perl5

configure.cppflags-append   -I${prefix}/include/ncurses
configure.cmd       ./autogen.sh
configure.args      --with-proxy --with-modules --with-ncurses \
                    --enable-ipv6 --enable-ssl \
                    --without-socks --without-bot \
                    --with-perl --with-perl-lib=${prefix}/lib/perl5/darwin
configure.env-append   ARCHFLAGS=''

universal_variant   no

livecheck.check     none

