aboutsummaryrefslogtreecommitdiff
path: root/deskutils/cherrytree/Makefile
blob: 431eb5194d73548389489733a5d693fa611e6514 (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
35
36
37
38
39
PORTNAME=	cherrytree
PORTVERSION=	1.0.1
CATEGORIES=	deskutils
MASTER_SITES=	https://www.giuspen.com/software/
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	Advanced hierarchical note-taking application
WWW=		https://www.giuspen.com/cherrytree/

LICENSE=	GPLv3+

LIB_DEPENDS=	libcurl.so:ftp/curl \
		libenchant-2.so:textproc/enchant2 \
		libfmt.so:devel/libfmt \
		libfribidi.so:converters/fribidi \
		libharfbuzz.so:print/harfbuzz \
		libgspell-1.so:textproc/gspell \
		libspdlog.so:devel/spdlog \
		libuchardet.so:textproc/uchardet

USES=		cmake compiler:c++17-lang desktop-file-utils gnome \
		pkgconfig python:build sqlite tar:xz
USE_GNOME=	gdkpixbuf2 gtkmm30 gtksourceviewmm3

CMAKE_ARGS=	-DPYTHON_EXEC:FILEPATH=${PYTHON_CMD} \
		-DBUILD_TESTING:BOOL=OFF

OPTIONS_DEFINE=	NLS VTE
OPTIONS_SUB=	yes

NLS_USES=	gettext-tools
NLS_CMAKE_OFF=	-DUSE_NLS:BOOL=OFF

VTE_DESC=	Virtual terminal support
VTE_USE=	GNOME=vte3
VTE_CMAKE_OFF=	-DUSE_VTE:BOOL=OFF

.include <bsd.port.mk>