# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD: tags/RELEASE_10_2_0/math/mate-calc/Makefile 375144 2014-12-21 00:32:19Z bapt $

PORTNAME=	mate-calc
PORTVERSION=	1.8.0
PORTREVISION=	1
CATEGORIES=	math mate
MASTER_SITES=	MATE
DIST_SUBDIR=	mate

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	MATE calculator tool based on the old calctool for OpenWindows

BUILD_DEPENDS=	itstool:${PORTSDIR}/textproc/itstool

PORTSCOUT=	limitw:1,even

USES=		gettext gmake pkgconfig tar:xz
USE_GNOME=	glib20 gtk20 intlhack libxml2
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-gtk=2.0
CPPFLAGS+=	-I${LOCALBASE}/include
LIBS+=		-L${LOCALBASE}/lib

GLIB_SCHEMAS=	org.mate.calc.gschema.xml

.include <bsd.port.mk>
