aboutsummaryrefslogtreecommitdiffstats
path: root/math/galculator/Makefile
blob: 4f95776e3d4ac32f522895f80577365d664308fa (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
32
# $FreeBSD$

PORTNAME=   galculator
PORTVERSION=    2.1.4
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 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>