# ports collection makefile for:	libast
# Date created:				7 September 2001
# Whom:					Jeremy Norris <ishmael27@home.com>
#
# $FreeBSD: ports/devel/libast/Makefile,v 1.8 2003/02/20 17:06:48 knu Exp $
#

PORTNAME=	libast
PORTVERSION=	0.5
CATEGORIES=	devel
MASTER_SITES=	http://www.eterm.org/download/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A library of assorted spiffy things

LIB_DEPENDS=	pcre.0:${PORTSDIR}/devel/pcre \
		Imlib2.1:${PORTSDIR}/graphics/imlib2

USE_X_PREFIX=	yes
USE_FREETYPE=	yes
USE_LIBTOOL=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB=	yes

.include <bsd.port.pre.mk>

.if defined(WITH_MMX) && (${ARCH} == "i386")
CONFIGURE_ARGS=	--enable-mmx
.endif

.include <bsd.port.post.mk>
