# $NetBSD: Makefile,v 1.25 2006/07/05 05:37:43 jlam Exp $ DISTNAME= libqalculate-0.9.4 PKGNAME= qalculate-0.9.4 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qalculate/} MAINTAINER= adam@NetBSD.org HOMEPAGE= http://qalculate.sourceforge.net/ COMMENT= Qalculate is a modern multi-purpose desktop calculator USE_GNU_READLINE= yes USE_LANGUAGES= c c++ USE_LIBTOOL= yes USE_PKGLOCALEDIR= yes USE_TOOLS+= gmake intltool msgfmt pkg-config GNU_CONFIGURE= yes PKGCONFIG_OVERRIDE= ${WRKSRC}/libqalculate.pc.in UNLIMIT_RESOURCES= datasize SUBST_CLASSES+= pthread SUBST_FILES.pthread= libqalculate.pc.in SUBST_SED.pthread+= -e 's,@PTHREAD_LIBS@,${PTHREAD_LDFLAGS} ${PTHREAD_LIBS},g' SUBST_STAGE.pthread= post-patch .include "../../devel/glib2/buildlink3.mk" .include "../../devel/readline/buildlink3.mk" .include "../../math/cln/buildlink3.mk" .include "../../textproc/libxml2/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk"