# -*- 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 50572 2009-05-04 19:19:09Z jeremyhu@macports.org $

PortSystem 1.0

name            libguichan
version         0.8.0
categories      graphics devel
platforms       darwin
maintainers     jmr openmaintainer
description     portable C++ GUI library designed for games using SDL
long_description    Guichan is a portable C++ GUI library designed for \
                games using SDL and/or OpenGL.

homepage        http://guichan.sourceforge.net/
master_sites    googlecode:guichan
distname        guichan-${version}
checksums       md5 29a03f05645b669fdc98ec2db5de13f5 \
                sha1 5993e0a5e948b0f3e614025ff02f818bfe9c2198 \
                rmd160 a8ab10d9c49542e018d688b9ee90ef2879f94a28

depends_lib     port:libsdl port:libsdl_image port:allegro port:mesa

use_parallel_build yes

configure.args --x-include=${prefix}/include --x-lib=${prefix}/lib

livecheck.regex <a href=\"http://guichan.googlecode.com/files/guichan\\-(.*)${extract.suffix}\"
