# $NetBSD: Makefile,v 1.49 2006/03/04 21:30:03 jlam Exp $ # DISTNAME= gcalctool-5.6.31 PKGREVISION= 3 CATEGORIES= math gnome MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gcalctool/5.6/} EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://calctool.sourceforge.net/ COMMENT= Desktop calculator for GNOME BUILD_USES_MSGFMT= YES GNU_CONFIGURE= YES CONFIGURE_ENV+= HAVE_YACC=yes USE_DIRS+= gnome2-1.5 USE_LIBTOOL= yes USE_TOOLS+= bison gmake pkg-config USE_PKGLOCALEDIR= yes GCONF2_SCHEMAS= gcalctool.schemas # The sources assume exists. Create a fake one for platforms # that don't have it. post-wrapper: if ${TEST} ! -f /usr/include/malloc.h; then \ ${ECHO} "#include " \ > ${BUILDLINK_DIR}/include/malloc.h; \ fi .include "../../devel/GConf2/schemas.mk" .include "../../devel/atk/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" .include "../../devel/glib2/buildlink3.mk" .include "../../devel/libgnome/buildlink3.mk" .include "../../devel/libgnomeui/buildlink3.mk" .include "../../textproc/intltool/buildlink3.mk" .include "../../textproc/scrollkeeper/omf.mk" .include "../../x11/gtk2/buildlink3.mk" .include "../../mk/bsd.pkg.mk"