blob: eefddd846db2d8f829618cac85b5a4e0f35c269e (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# New ports collection makefile for: gtranslator
# Date created: 16 September 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
# $MCom: ports/devel/gtranslator/Makefile,v 1.14 2011/04/12 09:02:56 kwm Exp $
#
PORTNAME= gtranslator
PORTVERSION= 2.90.2
CATEGORIES= devel gnome
MASTER_SITES= GNOME
MAINTAINER= gnome@FreeBSD.org
COMMENT= A GNOME application for creating GNU gettext translation files
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \
g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
${LOCALBASE}/libdata/pkgconfig/gsettings-desktop-schemas.pc:${PORTSDIR}/devel/gsettings-desktop-schemas
LIB_DEPENDS= peas-1.0.0:${PORTSDIR}/devel/libpeas \
gdl-3.1:${PORTSDIR}/x11-toolkits/gdl3 \
json-glib-1.0.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_BZIP2= yes
USE_GNOME= gnomehack intlhack gnomeprefix gnometarget gtk30 libgda4 \
gtksourceview3 libxml2 gnomedocutils
USE_GMAKE= yes
USE_GETTEXT= yes
USE_PYTHON= yes
INSTALLS_OMF= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
CPPFLAGS= -I${LOCALBASE}/include
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-debug \
--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
MAN1= gtranslator.1
MANCOMPRESSED= yes
OPTIONS= DICT "Build dictionary plugin" on
.include <bsd.port.options.mk>
.if defined(WITH_DICT)
BUILD_DEPENDS+= gnome-utils>=3.0.0:${PORTSDIR}/deskutils/gnome-utils3
LIB_DEPENDS+= gdict-1.0.6:${PORTSDIR}/deskutils/gnome-utils3
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>
|