aboutsummaryrefslogtreecommitdiff
path: root/math/qalculate-gtk/Makefile
blob: 1ca26f052046922ec2c0c2e129422730a52fce71 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: Sergey Akifyev <asa@gascom.ru>

PORTNAME=	qalculate-gtk
PORTVERSION=	4.1.0
PORTREVISION=	1
CATEGORIES=	math
MASTER_SITES=	https://github.com/Qalculate/${PORTNAME}/releases/download/v${PORTVERSION}/

MAINTAINER=	jhale@FreeBSD.org
COMMENT=	Multi-purpose desktop calculator (GTK+3 frontend)

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libqalculate.so:math/libqalculate \
		libharfbuzz.so:print/harfbuzz
RUN_DEPENDS=	gnuplot:math/gnuplot

USES=		compiler:c++11-lang gettext gmake gnome \
		libtool:build localbase pkgconfig
USE_GNOME=	cairo gdkpixbuf2 gtk30 intltool libxml2

GNU_CONFIGURE=	yes

OPTIONS_DEFINE=	NLS
OPTIONS_SUB=	yes

post-patch-NLS-off:
	@${REINPLACE_CMD} -e '/^SUBDIRS =/s|po ||g' ${WRKSRC}/Makefile.in

.include <bsd.port.mk>