41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.55 2020/03/08 16:47:54 wiz Exp $
|
|
|
|
DISTNAME= libqalculate-3.5.0a
|
|
PKGNAME= qalculate-3.5.0
|
|
PKGREVISION= 3
|
|
CATEGORIES= math
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=Qalculate/}
|
|
GITHUB_PROJECT= libqalculate
|
|
GITHUB_RELEASE= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://qalculate.github.io/
|
|
COMMENT= Modern multi-purpose desktop calculator (console version)
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
WRKSRC= ${WRKDIR}/libqalculate-${PKGVERSION_NOREV}
|
|
|
|
USE_LANGUAGES= c c++11
|
|
USE_LIBTOOL= yes
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_TOOLS+= autoconf automake
|
|
USE_TOOLS+= gmake intltool msgfmt msgmerge xgettext pkg-config
|
|
GNU_CONFIGURE= yes
|
|
PKGCONFIG_OVERRIDE= ${WRKSRC}/libqalculate.pc.in
|
|
|
|
UNLIMIT_RESOURCES= datasize
|
|
|
|
CFLAGS.SunOS+= -D_LCONV_C99
|
|
|
|
pre-configure:
|
|
set -e; cd ${WRKSRC}; \
|
|
autoheader; automake -a --foreign -i; autoconf
|
|
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
.include "../../math/mpfr/buildlink3.mk"
|
|
.include "../../textproc/icu/buildlink3.mk"
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
.include "../../www/curl/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|