aboutsummaryrefslogtreecommitdiff
path: root/math/gnome-calculator/Makefile
blob: c3f4864cb8a0fd67eadfcfc3c94bd7eaadcc1cf4 (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
PORTNAME=	gnome-calculator
PORTVERSION=	42.2
CATEGORIES=	math gnome
MASTER_SITES=	GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
DIST_SUBDIR=	gnome

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	GNOME calculator tool
WWW=		https://live.gnome.org/Gcalctool

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

BUILD_DEPENDS=	itstool:textproc/itstool
LIB_DEPENDS=	libadwaita-1.so:x11-toolkits/libadwaita \
		libgee-0.8.so:devel/libgee \
		libhandy-1.so:x11-toolkits/libhandy \
		libmpc.so:math/mpc \
		libmpfr.so:math/mpfr \
		libsoup-2.4.so:devel/libsoup

PORTSCOUT=	limitw:1,even

USES=		compiler:c11 gettext gnome localbase:ldflags meson pkgconfig \
		python:3.6+,build tar:xz vala:build
USE_GNOME=	gtk40 gtksourceview5 introspection libxml2
BINARY_ALIAS=	python3=${PYTHON_VERSION}

GLIB_SCHEMAS=	org.gnome.calculator.gschema.xml

.include <bsd.port.mk>