summaryrefslogtreecommitdiffstats
path: root/editors/gedit-plugins/Makefile
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2011-04-26 11:09:53 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2011-04-26 11:09:53 +0800
commitaf05c822f6006883ad1a304a3013b106ef532d7c (patch)
tree80031a6f5046a29a3a9155425bb6f4bf90a8a883 /editors/gedit-plugins/Makefile
parentcc509c2bdbd821fae5a29b94d682640b05977073 (diff)
downloadmarcuscom-ports-af05c822f6006883ad1a304a3013b106ef532d7c.tar
marcuscom-ports-af05c822f6006883ad1a304a3013b106ef532d7c.tar.gz
marcuscom-ports-af05c822f6006883ad1a304a3013b106ef532d7c.tar.bz2
marcuscom-ports-af05c822f6006883ad1a304a3013b106ef532d7c.tar.lz
marcuscom-ports-af05c822f6006883ad1a304a3013b106ef532d7c.tar.xz
marcuscom-ports-af05c822f6006883ad1a304a3013b106ef532d7c.tar.zst
marcuscom-ports-af05c822f6006883ad1a304a3013b106ef532d7c.zip
Add CONFLICTS with the each others.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15881 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'editors/gedit-plugins/Makefile')
-rw-r--r--editors/gedit-plugins/Makefile69
1 files changed, 69 insertions, 0 deletions
diff --git a/editors/gedit-plugins/Makefile b/editors/gedit-plugins/Makefile
new file mode 100644
index 000000000..e494a077e
--- /dev/null
+++ b/editors/gedit-plugins/Makefile
@@ -0,0 +1,69 @@
+# New ports collection makefile for: gedit-plugins
+# Date created: 19 September 2003
+# Whom: Adam Weinberger <adamw@FreeBSD.org>
+#
+# $FreeBSD: ports/editors/gedit-plugins/Makefile,v 1.40 2010/12/04 07:31:33 ade Exp $
+# $MCom: ports/editors/gedit-plugins/Makefile,v 1.48 2010/10/29 14:47:24 kwm Exp $
+#
+
+PORTNAME= gedit-plugins
+PORTVERSION= 2.32.0
+PORTREVISION= 1
+CATEGORIES= editors gnome
+MASTER_SITES= GNOME
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Plugins for GEdit 2
+
+BUILD_DEPENDS= gedit:${PORTSDIR}/editors/gedit \
+ gucharmap:${PORTSDIR}/deskutils/gucharmap
+RUN_DEPENDS= gedit:${PORTSDIR}/editors/gedit \
+ gucharmap:${PORTSDIR}/deskutils/gucharmap
+
+CONFLICTS= gedit-plugins-3.[0-9]*
+
+USE_LDCONFIG= yes
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GETTEXT= yes
+USE_AUTOTOOLS= libtool
+USE_GNOME= gnomehack gnomeprefix intlhack gnomevfs2
+WANT_GNOME= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+GCONF_SCHEMAS= gedit-show-tabbar-plugin.schemas \
+ gedit-drawspaces.schemas
+
+OPTIONS= PYTHON "Build plugins that depend on python" off
+
+.if defined(PACKAGE_BUILDING)
+.undef WITHOUT_GNOME
+WITH_GNOME= yes
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if ${HAVE_GNOME:Mpygtksourceview}!="" && ${ARCH}!="sparc64" || defined(WITH_PYTHON)
+USE_PYTHON= yes
+.include "${PORTSDIR}/Mk/bsd.python.mk"
+USE_GNOME+= pygtksourceview
+BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/gtk-2.0/vtemodule.so:${PORTSDIR}/x11-toolkits/py-vte \
+ ${PYTHON_SITELIBDIR}/dbus/bus.py:${PORTSDIR}/devel/py-dbus \
+ ${PYTHON_SITELIBDIR}/gtksourceview2.so:${PORTSDIR}/x11-toolkits/py-gtksourceview
+RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/gtk-2.0/vtemodule.so:${PORTSDIR}/x11-toolkits/py-vte \
+ ${PYTHON_SITELIBDIR}/dbus/bus.py:${PORTSDIR}/devel/py-dbus \
+ ${PYTHON_SITELIBDIR}/gtksourceview2.so:${PORTSDIR}/x11-toolkits/py-gtksourceview
+CONFIGURE_ARGS+=--enable-python
+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.post.mk>