aboutsummaryrefslogtreecommitdiff
path: root/math/galculator/Makefile
blob: 828eb03a86df49ecd6ad6ccd2ea58859b983d187 (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
PORTNAME=	galculator
PORTVERSION=	2.1.4
PORTREVISION=	3
DISTVERSIONPREFIX=v
CATEGORIES=	math

MAINTAINER=	naddy@FreeBSD.org
COMMENT=	GTK-based scientific calculator
WWW=		http://galculator.mnim.org/

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

USE_GITHUB=	yes

USES=		autoreconf gettext gmake gnome libtool localbase pkgconfig
USE_GNOME=	cairo intltool
GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share

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>