aboutsummaryrefslogtreecommitdiffstats
path: root/math/galculator/Makefile
blob: b4115fcf87b6efa45483f147887280b3477a4a07 (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
33
34
# $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 pkgconfig tar:bzip2
USE_GNOME=  cairo intltool
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LIBS+=      -L${LOCALBASE}/lib
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>