# $Id$

PortSystem 1.0

name		libast
version		0.7
revision	5
description	LibAST is the Library of Assorted Spiffy Things.
long_description	LibAST is the Library of Assorted Spiffy Things. \
			It contains manyspiffy things, and it is a library. \
			Thus, the ever-so-creative name.LibAST has been previously \
			known as libmej, the Eterm helper librarywhich nobody really \
			understood and certainly never used.

maintainers    nomaintainer
categories	devel x11
license		X11
platforms	darwin
homepage	http://www.eterm.org/
master_sites    ${homepage}download/
checksums	md5 a9ec3b2da317f35869316e6d9571d296 \
			rmd160 82dedafc23668f0bbecbf09433676d4b31e9e154

depends_build \
	port:pkgconfig

depends_lib \
	port:xorg-libXt \
	port:imlib2 \
	port:pcre \
	port:freetype

post-extract {
    move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac
}

patchfiles          patch-configure.ac.diff

use_autoreconf yes
autoreconf.args -fvi
autoreconf.env ACLOCAL="aclocal -I ${prefix}/share/aclocal -I ."