# New ports collection makefile for: gedit-plugins # Date created: 19 September 2003 # Whom: Adam Weinberger # # $FreeBSD$ # $MCom: ports/editors/gedit-plugins3/Makefile,v 1.15 2011/10/08 08:27:14 kwm Exp $ # PORTNAME= gedit-plugins PORTVERSION= 3.2.1 CATEGORIES= editors gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Plugins for GEdit 3 BUILD_DEPENDS= gedit>=${GEDITVER}:${PORTSDIR}/editors/gedit3 LIB_DEPENDS= peas-1.0.0:${PORTSDIR}/devel/libpeas RUN_DEPENDS= gedit>=${GEDITVER}:${PORTSDIR}/editors/gedit3 CONFLICTS= gedit-plugins-2.[0-9]* GEDITVER= 3.2.1 LATEST_LINK= gedit-plugins3 USE_LDCONFIG= yes USE_XZ= yes USE_GMAKE= yes USE_GETTEXT= yes USE_AUTOTOOLS= libtool USE_GNOME= gnomehack gnomeprefix intlhack gtk30 gtksourceview3 CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib GLIB_SCHEMAS= org.gnome.gedit.plugins.drawspaces.gschema.xml OPTIONS= PYTHON "Build plugins that depend on python" off .include .if defined(WITH_PYTHON) USE_PYTHON= yes BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/dbus/bus.py:${PORTSDIR}/devel/py-dbus RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/dbus/bus.py:${PORTSDIR}/devel/py-dbus # the charmap plugin doesn't work, missing py-gucharmap stuff CONFIGURE_ARGS+=--enable-python GLIB_SCHEMAS+= org.gnome.gedit.plugins.terminal.gschema.xml PLIST_SUB+= PYTHON="" .else CONFIGURE_ARGS+=--disable-python PLIST_SUB+= PYTHON="@comment " .endif post-patch: @${REINPLACE_CMD} -e 's| \\t\\r\\n\\f|[:space:]|g' \ ${WRKSRC}/configure .include