summaryrefslogtreecommitdiffstats
path: root/editors/gedit-plugins3/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-02-17 00:59:18 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-02-17 00:59:18 +0800
commit918069833115ba87befa439f6b7acf429a1c140f (patch)
treea33749bf099ed6752a1c252874d345de54cf114c /editors/gedit-plugins3/Makefile
parent96bfe79ca5677e8a7ae090626a9c6eab05fbbaab (diff)
downloadmarcuscom-ports-918069833115ba87befa439f6b7acf429a1c140f.tar
marcuscom-ports-918069833115ba87befa439f6b7acf429a1c140f.tar.gz
marcuscom-ports-918069833115ba87befa439f6b7acf429a1c140f.tar.bz2
marcuscom-ports-918069833115ba87befa439f6b7acf429a1c140f.tar.lz
marcuscom-ports-918069833115ba87befa439f6b7acf429a1c140f.tar.xz
marcuscom-ports-918069833115ba87befa439f6b7acf429a1c140f.tar.zst
marcuscom-ports-918069833115ba87befa439f6b7acf429a1c140f.zip
Update to 2.90.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15231 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'editors/gedit-plugins3/Makefile')
-rw-r--r--editors/gedit-plugins3/Makefile62
1 files changed, 62 insertions, 0 deletions
diff --git a/editors/gedit-plugins3/Makefile b/editors/gedit-plugins3/Makefile
new file mode 100644
index 000000000..5c0adf23a
--- /dev/null
+++ b/editors/gedit-plugins3/Makefile
@@ -0,0 +1,62 @@
+# New ports collection makefile for: gedit-plugins
+# Date created: 19 September 2003
+# Whom: Adam Weinberger <adamw@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/editors/gedit-plugins/Makefile,v 1.48 2010/10/29 14:47:24 kwm Exp $
+#
+
+PORTNAME= gedit-plugins
+PORTVERSION= 2.91.0
+CATEGORIES= editors gnome
+MASTER_SITES= GNOME
+DIST_SUBDIR= gnome3
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Plugins for GEdit 3
+
+BUILD_DEPENDS= gedit>=2.91.6:${PORTSDIR}/editors/gedit3
+LIB_DEPENDS= peas-1.0.0:${PORTSDIR}/devel/libpeas
+RUN_DEPENDS= gedit>=2.91.6:${PORTSDIR}/editors/gedit3
+
+USE_LDCONFIG= yes
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GETTEXT= yes
+USE_AUTOTOOLS= libtool
+USE_GNOME= gnomehack gnomeprefix intlhack gtk30 gtksourceview3
+WANT_GNOME= yes
+CONFIGURE_ENV= 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
+
+.if defined(PACKAGE_BUILDING)
+.undef WITHOUT_GNOME
+WITH_GNOME= yes
+.endif
+
+.include <bsd.port.options.mk>
+
+#.if ${HAVE_GNOME:Mpygtksourceview}!="" && ${ARCH}!="sparc64" || defined(WITH_PYTHON)
+.if defined(WITH_PYTHON)
+USE_PYTHON= yes
+BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/dbus/bus.py:${PORTSDIR}/devel/py-dbus \
+ gucharmap>=2.33.2:${PORTSDIR}/deskutils/gucharmap3
+RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/dbus/bus.py:${PORTSDIR}/devel/py-dbus \
+ gucharmap>=2.33.2:${PORTSDIR}/deskutils/gucharmap3
+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 <bsd.port.mk>