# ex:ts=8
# Ports collection makefile for:	gtkmathview
# Date created:			Oct 15, 2002
# Whom:				ijliao
#
# $FreeBSD: ports/x11-toolkits/gtkmathview/Makefile,v 1.39 2011/09/23 22:26:25 amdmi3 Exp $
#

PORTNAME=	gtkmathview
PORTVERSION=	0.8.0
PORTREVISION=	3
CATEGORIES=	x11-toolkits
MASTER_SITES=	http://helm.cs.unibo.it/mml-widget/sources/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A GTK Widget to Render MathML Documents

BUILD_DEPENDS=	xsltproc:${PORTSDIR}/textproc/libxslt
LIB_DEPENDS=	popt.0:${PORTSDIR}/devel/popt \
		t1:${PORTSDIR}/devel/t1lib \
		gmetadom_gdome_cpp_smart:${PORTSDIR}/textproc/gmetadom

USE_GNOME=	gnomehack gtk20 libxml2
USE_GMAKE=	yes
USE_AUTOTOOLS=	libtool
USE_LDCONFIG=	yes

MAN1=		mathmlviewer.1

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

.include <bsd.port.mk>
