freebsd-ports/editors/gedit/Makefile
Gerald Pfeifer 09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00

63 lines
1.9 KiB
Makefile

# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
PORTNAME= gedit
PORTVERSION= 3.22.0
PORTREVISION= 2
CATEGORIES= editors gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= Small but powerful text editor for GNOME 3 Desktop Environment
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= iso-codes>=0:misc/iso-codes \
vala:lang/vala \
gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \
itstool:textproc/itstool
LIB_DEPENDS= libenchant.so:textproc/enchant \
libpeas-gtk-1.0.so:devel/libpeas \
libgspell-1.so:textproc/gspell \
libsoup-2.4.so:devel/libsoup
RUN_DEPENDS= iso-codes>=0:misc/iso-codes \
gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \
${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py-libpeas@${PY_FLAVOR}
PORTSCOUT= limitw:1,even
USES= compiler:c11 desktop-file-utils gettext gmake gnome libtool \
localbase pathfix pkgconfig python:3.2+ shebangfix tar:xz
USE_CSTD= c11
USE_GNOME= cairo gdkpixbuf2 gtksourceview3 intlhack introspection \
libxml2 pygobject3
SHEBANG_FILES= plugins/externaltools/data/send-to-fpaste.tool.in
USE_XORG= sm x11
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-updater \
--enable-python \
--enable-spell
CPPFLAGS+= -Wno-error=format-nonliteral
CFLAGS+= -Wno-error=format-nonliteral
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
PLIST_SUB= VERSION="3.14"
INSTALL_TARGET= install-strip
GLIB_SCHEMAS= org.gnome.gedit.enums.xml \
org.gnome.gedit.plugins.externaltools.gschema.xml \
org.gnome.gedit.gschema.xml \
org.gnome.gedit.plugins.filebrowser.enums.xml \
org.gnome.gedit.plugins.filebrowser.gschema.xml \
org.gnome.gedit.plugins.pythonconsole.gschema.xml \
org.gnome.gedit.plugins.time.enums.xml \
org.gnome.gedit.plugins.time.gschema.xml
post-patch:
@${REINPLACE_CMD} -e 's|=python|=${PYTHON_CMD}|g' \
${WRKSRC}/py-compile
.include <bsd.port.mk>