# $OpenBSD: Makefile,v 1.11 2004/12/27 07:16:44 alek Exp $

COMMENT=	"GTK2-based scientific calculator"

DISTNAME=	galculator-1.2.4
CATEGORIES=	math
HOMEPAGE=	http://galculator.sourceforge.net/

MAINTAINER=	Christian Weisgerber <naddy@openbsd.org>

# GPL
PERMIT_PACKAGE_CDROM=	Yes
PERMIT_PACKAGE_FTP=	Yes
PERMIT_DISTFILES_CDROM=	Yes
PERMIT_DISTFILES_FTP=	Yes
WANTLIB=	X11 Xcursor Xext Xft Xinerama Xrender atk-1.0.0.0 c fontconfig \
		freetype gdk-x11-2.0.0.0 gdk_pixbuf-2.0.0.0 glib-2.0.0.0 \
		gmodule-2.0.0.0 gobject-2.0.0.0 gtk-x11-2.0.0.0 iconv intl m \
		pango-1.0.0.0 pangox-1.0.0.0 pangoxft-1.0.0.0 xml2 z

MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=galculator/}

LIB_DEPENDS=	glade-2.0.0.0::devel/libglade2
BUILD_DEPENDS=	:pkgconfig-*:devel/pkgconfig

SEPARATE_BUILD=	simple
USE_GMAKE=	Yes
AUTOCONF_VERSION=2.59
CONFIGURE_STYLE=autoconf
CONFIGURE_ARGS=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

.include <bsd.port.mk>
