pkgsrc/math/gcalctool/Makefile

41 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.44 2005/09/23 20:08:05 wiz Exp $
#
DISTNAME= gcalctool-5.5.42
CATEGORIES= math gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gcalctool/5.5/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= tech-pkg@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 <malloc.h> exists. Create a fake one for platforms
# that don't have it.
post-wrapper:
if ${TEST} ! -f /usr/include/malloc.h; then \
${ECHO} "#include <stdlib.h>" \
> ${BUILDLINK_DIR}/include/malloc.h; \
fi
.include "../../devel/GConf2/schemas.mk"
.include "../../devel/atk/buildlink3.mk"
.include "../../devel/gettext-lib/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"