# Created by: Maxim Sobolev # $FreeBSD$ # $MCom: ports/trunk/devel/gtranslator/Makefile 18610 2013-06-30 16:33:05Z marcus $ PORTNAME= gtranslator PORTVERSION= 2.91.5 CATEGORIES= devel gnome MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= A GNOME application for creating GNU gettext translation files LICENSE= GPLv3 BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \ ${LOCALBASE}/libdata/pkgconfig/gsettings-desktop-schemas.pc:${PORTSDIR}/devel/gsettings-desktop-schemas LIB_DEPENDS= peas-1.0:${PORTSDIR}/devel/libpeas \ gdl-3:${PORTSDIR}/x11-toolkits/gdl3 \ json-glib-1.0:${PORTSDIR}/devel/json-glib RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \ ${LOCALBASE}/libdata/pkgconfig/gsettings-desktop-schemas.pc:${PORTSDIR}/devel/gsettings-desktop-schemas USE_XZ= yes USE_GNOME= intlhack gnomeprefix gtk30 libgda4 gtksourceview3 libxml2 \ introspection:build USES= gettext gmake pathfix pkgconfig USE_PYTHON= yes INSTALLS_OMF= yes GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALLS_ICONS= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --disable-debug \ --with-gda=4.0 \ --enable-compile-warnings=no GLIB_SCHEMAS= org.gnome.gtranslator.gschema.xml \ org.gnome.gtranslator.plugins.codeview.gschema.xml \ org.gnome.gtranslator.plugins.open-tran.gschema.xml \ org.gnome.gtranslator.plugins.translation-memory.gschema.xml MAN1= gtranslator.1 MANCOMPRESSED= yes OPTIONS_DEFINE= DICT OPTIONS_DEFAULT=DICT DICT_DESC= Build dictionary plugin .include .if ${PORT_OPTIONS:MDICT} BUILD_DEPENDS+= gnome-dictionary>=3.4.0:${PORTSDIR}/deskutils/gnome-dictionary LIB_DEPENDS+= gdict-1.0:${PORTSDIR}/deskutils/gnome-dictionary RUN_DEPENDS+= gnome-dictionary>=3.4.0:${PORTSDIR}/deskutils/gnome-dictionary GLIB_SCHEMAS+= org.gnome.gtranslator.plugins.dictionary.gschema.xml CONFIGURE_ARGS+=--with-dictionary PLIST_SUB+= DICT="" .else CONFIGURE_ARGS+=--without-dictionary PLIST_SUB+= DICT="@comment " .endif .include