aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/granite/Makefile
blob: 369f3bba06d92426515fcf6df0e387eb7c1a2f7e (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
PORTNAME=	granite
DISTVERSION=	6.2.0
PORTREVISION=	1
CATEGORIES=	x11-toolkits

MAINTAINER=	desktop@FreeBSD.org
COMMENT=	Extensions of GTK 3 toolkit
WWW=		https://github.com/elementary/granite

LICENSE=	LGPL3
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libgee-0.8.so:devel/libgee
RUN_DEPENDS=	contractor:sysutils/contractor \
		gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas

USES=		gettext gnome meson pkgconfig python:build tar:xz vala:build
USE_GITHUB=	yes
GH_ACCOUNT=	elementary
USE_GNOME=	cairo glib20 gtk30 gdkpixbuf2 introspection:build
USE_LDCONFIG=	yes

BINARY_ALIAS=	python3=${PYTHON_CMD}
PORTSCOUT=	limit:^6
PLIST_SUB=	DISTVERSION=${DISTVERSION}

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CFLAGS+=	-Wno-error=incompatible-function-pointer-types
.endif

.include <bsd.port.mk>