# New ports collection makefile for:	xalf
# Date created:				27 March 2001
# Whom:					Yukihiro Nakai <nakai@FreeBSD.org>
#
# $FreeBSD: ports/x11/xalf/Makefile,v 1.14 2003/03/07 06:36:16 ade Exp $
#

PORTNAME=	xalf
PORTVERSION=	0.12
PORTREVISION=	1
CATEGORIES=	x11 gnome
MASTER_SITES=	http://www.lysator.liu.se/~astrand/projects/xalf/
MASTER_SITE_SUBDIR=	sources/xalf/0.12
EXTRACT_SUFX=	.tgz

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	X11 Application Launch Feedback

USE_X_PREFIX=	yes
USE_GMAKE=	yes
USE_GNOMENG=	yes
USE_GNOME=	gnomeprefix gnomehack libcapplet
USE_LIBTOOL=	yes
INSTALLS_SHLIB=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
		LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"

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

.include <bsd.port.mk>
