summaryrefslogtreecommitdiff
path: root/www/chrome-gnome-shell/Makefile
blob: 5fa151b5eaefa4982d110fc9059e8d02879e1083 (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
33
34
35

PORTNAME=	chrome-gnome-shell
DISTVERSION=	10.1
CATEGORIES=	www gnome
MASTER_SITES=	GNOME

MAINTAINER=	daniel@shafer.cc
COMMENT=	GNOME Shell integration for Chrome

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	base64:converters/base64 \
		gnome-shell>=3.28:x11/gnome-shell \
		jq:textproc/jq

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
		gnome-shell>=3.28:x11/gnome-shell \
		unzip>=6.0:archivers/unzip

USES=		cmake gnome python tar:xz
USE_GNOME=	pygobject3

CMAKE_OFF=	BUILD_EXTENSION
CMAKE_ARGS=	-DCMAKE_INSTALL_LIBDIR=lib

INSTALL_TARGET=	install

NO_ARCH=	yes
INSTALLS_ICONS=	yes

post-patch:
	@${REINPLACE_CMD} -e '/find_program_ex/s|gsha256sum|gsha256sum sha256|g' ${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>