Update editors/gedit to version 3.22.0
[dports.git] / editors / gedit / Makefile
1 # Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       gedit
5 PORTVERSION=    3.22.0
6 CATEGORIES=     editors gnome
7 MASTER_SITES=   GNOME
8 DIST_SUBDIR=    gnome3
9
10 MAINTAINER=     gnome@FreeBSD.org
11 COMMENT=        Small but powerful text editor for GNOME 3 Desktop Environment
12
13 LICENSE=        GPLv2
14 LICENSE_FILE=   ${WRKSRC}/COPYING
15
16 BUILD_DEPENDS=  iso-codes>=0:misc/iso-codes \
17                 vala:lang/vala \
18                 gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \
19                 itstool:textproc/itstool
20 LIB_DEPENDS=    libenchant.so:textproc/enchant \
21                 libpeas-gtk-1.0.so:devel/libpeas \
22                 libgspell-1.so:textproc/gspell \
23                 libsoup-2.4.so:devel/libsoup
24 RUN_DEPENDS=    iso-codes>=0:misc/iso-codes \
25                 gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \
26                 ${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py3-libpeas
27
28 PORTSCOUT=      limitw:1,even
29
30 USES=           desktop-file-utils gettext gmake gnome libtool localbase \
31                 pathfix pkgconfig python:3.2+ tar:xz
32 USE_GNOME=      cairo gdkpixbuf2 gtksourceview3 intlhack introspection \
33                 libxml2 py3gobject3
34 USE_XORG=       sm x11
35 GNU_CONFIGURE=  yes
36 CONFIGURE_ARGS= --disable-updater \
37                 --enable-python \
38                 --enable-spell
39 CPPFLAGS+=      -Wno-error=format-nonliteral
40 CFLAGS+=        -Wno-error=format-nonliteral
41 LDFLAGS+=       -L${LOCALBASE}/lib
42 USE_LDCONFIG=   yes
43 PLIST_SUB=      VERSION="3.14"
44 INSTALL_TARGET= install-strip
45
46 GLIB_SCHEMAS=   org.gnome.gedit.enums.xml \
47                 org.gnome.gedit.plugins.externaltools.gschema.xml \
48                 org.gnome.gedit.gschema.xml \
49                 org.gnome.gedit.plugins.filebrowser.enums.xml \
50                 org.gnome.gedit.plugins.filebrowser.gschema.xml \
51                 org.gnome.gedit.plugins.pythonconsole.gschema.xml \
52                 org.gnome.gedit.plugins.time.enums.xml \
53                 org.gnome.gedit.plugins.time.gschema.xml
54
55 post-patch:
56         @${REINPLACE_CMD} -e 's|=python|=${PYTHON_CMD}|g' \
57                 ${WRKSRC}/py-compile
58
59 .include <bsd.port.mk>