1 # Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
6 CATEGORIES= editors gnome
10 MAINTAINER= gnome@FreeBSD.org
11 COMMENT= Small but powerful text editor for GNOME 3 Desktop Environment
14 LICENSE_FILE= ${WRKSRC}/COPYING
16 BUILD_DEPENDS= iso-codes>=0:misc/iso-codes \
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
28 PORTSCOUT= limitw:1,even
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 \
36 CONFIGURE_ARGS= --disable-updater \
39 CPPFLAGS+= -Wno-error=format-nonliteral
40 CFLAGS+= -Wno-error=format-nonliteral
41 LDFLAGS+= -L${LOCALBASE}/lib
43 PLIST_SUB= VERSION="3.14"
44 INSTALL_TARGET= install-strip
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
56 @${REINPLACE_CMD} -e 's|=python|=${PYTHON_CMD}|g' \
59 .include <bsd.port.mk>