summaryrefslogtreecommitdiff
path: root/devel/gtranslator/Makefile
blob: ba4c51c56d103d6b75030b6a504e7149aae29426 (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
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>

PORTNAME=	gtranslator
PORTVERSION=	40.0
CATEGORIES=	devel gnome
MASTER_SITES=	GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	GNOME application for creating GNU gettext translation files

LICENSE=	GPLv3

BUILD_DEPENDS=	gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \
		iso-codes>=0:misc/iso-codes \
		itstool:textproc/itstool
LIB_DEPENDS=	libdazzle-1.0.so:x11-toolkits/libdazzle \
		libgdl-3.so:x11-toolkits/gdl \
		libgspell-1.so:textproc/gspell \
		libhandy-1.so:x11-toolkits/libhandy \
		libjson-glib-1.0.so:devel/json-glib \
		libpeas-1.0.so:devel/libpeas
RUN_DEPENDS=	gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \
		iso-codes>=0:misc/iso-codes

USE_GNOME=	gtk30 gtksourceview4 libgda5 libxml2 introspection:build
USES=		desktop-file-utils gettext gnome localbase:ldflags meson \
		pkgconfig python tar:xz
USE_PYTHON=	py3kplist
USE_LDCONFIG=	yes
INSTALLS_ICONS=	yes
MESON_ARGS=	-Dgtk_doc=false
INSTALL_TARGET=	install-strip

GLIB_SCHEMAS=	org.gnome.Gtranslator.gschema.xml \
		org.gnome.gtranslator.plugins.translation-memory.gschema.xml

.include <bsd.port.mk>