# $Id$

PortSystem 1.0
name             bsflite
version          0.85
categories       net
maintainers      toby
description      The Minimalist AIM Client
long_description \
	BSFlite is a rather small and "minimalistic" client for AOL's \
	Instant Messenger service. Instead of having a full screen \
	console interface, BSFlite employs a command line interface \
	that allows your fingers to do all of the work without \
	needlessly sifting through windows.
homepage         http://bsflite.sourceforge.net/
platforms        darwin
master_sites     sourceforge
checksums        md5 3d4bd3b438c60dad325e67d94d219faf \
                 sha1 5c98cac1db0fedd17a15cffb10c664965ae8bef6 \
                 rmd160 ad40aa7bc3cd4415984ca43284ae46a353d7f51e

patchfiles       patch-Makefile \
                 patch-imcomm__Makefile

configure {
	reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/Makefile
	reinplace "s|__CC__|${configure.cc}|" ${worksrcpath}/Makefile
	reinplace "s|__CFLAGS__|${configure.cflags}|" ${worksrcpath}/Makefile
	reinplace "s|__LDFLAGS__|${configure.ldflags}|" ${worksrcpath}/Makefile

	reinplace "s|__CC__|${configure.cc}|" ${worksrcpath}/imcomm/Makefile
	reinplace "s|__CFLAGS__|${configure.cflags}|" ${worksrcpath}/imcomm/Makefile
}

livecheck.type   regex
livecheck.regex  current release is (\[^ \]+)