summaryrefslogtreecommitdiff
path: root/math/galculator/Makefile
blob: d5f0ace33e85eeef7e289bec96cbd704a59ab64a (plain)
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
32

PORTNAME=	galculator
PORTVERSION=	2.1.4
PORTREVISION=	1
DISTVERSIONPREFIX=v
CATEGORIES=	math

MAINTAINER=	naddy@FreeBSD.org
COMMENT=	GTK-based scientific calculator

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

USE_GITHUB=	yes

USES=		autoreconf gettext gmake gnome libtool localbase pkgconfig
USE_GNOME=	cairo intltool
GNU_CONFIGURE=	yes
INSTALLS_ICONS=	yes

OPTIONS_SINGLE=		GTK
OPTIONS_SINGLE_GTK=	GTK2 GTK3
OPTIONS_DEFAULT=	GTK3

GTK2_USE=		gnome=gtk20
GTK2_LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
			libfreetype.so:print/freetype2

GTK3_CONFIGURE_ENABLE=	gtk3
GTK3_USE=		gnome=gtk30

.include <bsd.port.mk>