summaryrefslogtreecommitdiff
path: root/x11/pantheon-terminal/Makefile
blob: 7578ea52193c4b4e5736eb962f8b478aa5d518b9 (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
36
37
38
39
40
41
42
43
44
45
46
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$

PORTNAME=	pantheon-terminal
PORTVERSION=	0.4.3
PORTREVISION=	2
CATEGORIES=	x11

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Lightweight, beautiful, and simple terminal from Elementary OS

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

BROKEN=		Doesn't build with vala 0.40+

LIB_DEPENDS=	libgee-0.8.so:devel/libgee \
		libgnutls.so:security/gnutls \
		libgranite.so:x11-toolkits/granite \
		libpcre2-8.so:devel/pcre2
BUILD_DEPENDS=	valac:lang/vala
RUN_DEPENDS=	dbus-send:devel/dbus

USES=		cmake desktop-file-utils gettext pkgconfig
USE_GITHUB=	yes
GH_ACCOUNT=	elementary
GH_PROJECT=	terminal
CMAKE_ARGS=	-DGSETTINGS_COMPILE:BOOL=NO
USE_GNOME=	cairo gdkpixbuf2 glib20 gtk30 intltool vte3
GLIB_SCHEMAS=	org.pantheon.terminal.gschema.xml

PORTDOCS=	AUTHORS README.md

OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} -e 's|/proc|/compat/linux/proc|' \
		${WRKSRC}/src/TerminalWidget.vala

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor

.include <bsd.port.mk>