1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/devel/gtranslator/Makefile
Koop Mast d129587b5d The FreeBSD GNOME team proudly presents GNOME 3.16 for FreeBSD.
The offical GNOME 3.16 release notes can be found at https://help.gnome.org/misc/release-notes/3.16/

Upgrade instructions for port users:

Delete the old tracker package with:
# pkg delete -f tracker
And user port upgrade tool of choice to upgrade.

Thanks to Antoine Brodin for running the exp-runs.

This release was made possible by the following people:
  Gustau Perez
  Ting-Wei_Lan

PR:		201980
2015-08-05 19:13:24 +00:00

61 lines
1.9 KiB
Makefile

# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
PORTNAME= gtranslator
PORTVERSION= 2.91.7
CATEGORIES= devel gnome
MASTER_SITES= GNOME
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME application for creating GNU gettext translation files
LICENSE= GPLv3
BUILD_DEPENDS= iso-codes>=0:${PORTSDIR}/misc/iso-codes \
itstool:${PORTSDIR}/textproc/itstool \
gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas
LIB_DEPENDS= libpeas-1.0.so:${PORTSDIR}/devel/libpeas \
libgdl-3.so:${PORTSDIR}/x11-toolkits/gdl \
libjson-glib-1.0.so:${PORTSDIR}/devel/json-glib
RUN_DEPENDS= iso-codes>=0:${PORTSDIR}/misc/iso-codes \
gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas
USE_GNOME= intlhack gnomeprefix gtk30 libgda5 gtksourceview3 libxml2 \
introspection:build
USES= desktop-file-utils gettext gmake libtool pathfix \
pkgconfig python tar:xz
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --disable-debug \
--with-gda=5.0 \
--enable-compile-warnings=no
INSTALL_TARGET= install-strip
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
OPTIONS_DEFINE= DICT
OPTIONS_DEFAULT=DICT
DICT_DESC= Build dictionary plugin
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDICT}
BUILD_DEPENDS+= gnome-dictionary>=3.4.0:${PORTSDIR}/deskutils/gnome-dictionary
LIB_DEPENDS+= libgdict-1.0.so:${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 <bsd.port.mk>