Makefile 1.36 KB
Newer Older
Olivier Duchateau's avatar
Olivier Duchateau committed
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
47
48
49
50
51
52
53
# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD: head/sysutils/tracker/Makefile 532707 2020-04-23 20:14:49Z jbeich $

PORTNAME=	tracker
PORTVERSION=	2.3.6
CATEGORIES=	sysutils gnome
MASTER_SITES=	GNOME
DIST_SUBDIR=	gnome

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Search engine and triplestore for desktop (API 2.0)

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/COPYING.LGPL

BUILD_DEPENDS=	valac:lang/vala \
		dbus>0:devel/dbus
LIB_DEPENDS=	libuuid.so:misc/e2fsprogs-libuuid \
		libsoup-2.4.so:devel/libsoup \
		libjson-glib-1.0.so:devel/json-glib \
		libicutu.so:devel/icu

PORTSCOUT=	limitw:1,even

USES=		compiler:c++11-lib gettext gnome localbase meson \
		pkgconfig python:3.6+,build sqlite tar:xz
USE_GNOME=	glib20 introspection:build libxml2 
USE_LDCONFIG=	yes
INSTALLS_ICONS=	yes
MESON_ARGS=	-Ddocs=false \
		-Djournal=false \
		-Dman=false \
		-Dnetwork_manager=disabled \
		-Dstemmer=disabled \
		-Dunicode_support=icu \
		-Dbash_completion=no \
		-Dsystemd_user_services=no

BINARY_ALIAS=	python3=${PYTHON_CMD}

GLIB_SCHEMAS=	org.freedesktop.Tracker.DB.gschema.xml \
		org.freedesktop.Tracker.FTS.gschema.xml \
		org.freedesktop.Tracker.Store.gschema.xml \
		org.freedesktop.Tracker.enums.xml \
		org.freedesktop.Tracker.gschema.xml

PLIST_SUB=	LIBVER=0.306.0

post-patch:
	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
		${WRKSRC}/meson.build

.include <bsd.port.mk>