# New ports collection makefile for:	frontline
# Date created:				12 September 2002
# Whom:					Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD: ports/graphics/frontline/Makefile,v 1.8 2003/03/07 06:04:00 ade Exp $
#

PORTNAME=	frontline
PORTVERSION=	0.5.4
CATEGORIES=	graphics gnome
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	autotrace

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	An autotrace GUI FRONTend like streamLINE(TM)

LIB_DEPENDS=	autotrace.3:${PORTSDIR}/graphics/autotrace \
		art_lgpl_2.5:${PORTSDIR}/graphics/libart_lgpl2 \
		popt.0:${PORTSDIR}/devel/popt

USE_GMAKE=	yes
USE_X_PREFIX=	yes
USE_GNOMENG=	yes
USE_GNOME=	gnomeprefix gnomehack gnomelibs imlib
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LIBS="-L${LOCALBASE}/lib"

post-patch:
	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
		 s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure

.include <bsd.port.mk>
