summaryrefslogtreecommitdiffstats
path: root/editors/gedit-plugins/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/gedit-plugins/Makefile')
-rw-r--r--editors/gedit-plugins/Makefile47
1 files changed, 19 insertions, 28 deletions
diff --git a/editors/gedit-plugins/Makefile b/editors/gedit-plugins/Makefile
index 399feb419..23317ade9 100644
--- a/editors/gedit-plugins/Makefile
+++ b/editors/gedit-plugins/Makefile
@@ -1,55 +1,42 @@
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
-# $MCom: ports/trunk/editors/gedit-plugins/Makefile 18610 2013-06-30 16:33:05Z marcus $
+# $MCom: ports/trunk/editors/gedit-plugins3/Makefile 18610 2013-06-30 16:33:05Z marcus $
PORTNAME= gedit-plugins
-PORTVERSION= 2.32.0
-PORTREVISION= 3
+PORTVERSION= 3.6.1
CATEGORIES= editors gnome
MASTER_SITES= GNOME
-DIST_SUBDIR= gnome2
+DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
-COMMENT= Plugins for GEdit 2
+COMMENT= Plugins for GEdit 3
-BUILD_DEPENDS= gedit:${PORTSDIR}/editors/gedit \
- gucharmap:${PORTSDIR}/deskutils/gucharmap
-RUN_DEPENDS= gedit:${PORTSDIR}/editors/gedit \
- gucharmap:${PORTSDIR}/deskutils/gucharmap
+BUILD_DEPENDS= gedit>=${GEDITVER}:${PORTSDIR}/editors/gedit
+LIB_DEPENDS= libpeas-1.0.so:${PORTSDIR}/devel/libpeas
+RUN_DEPENDS= gedit>=${GEDITVER}:${PORTSDIR}/editors/gedit
-CONFLICTS= gedit-plugins-3.[0-9]*
-
-NO_STAGE= yes
+GEDITVER= 3.6.0
USE_LDCONFIG= yes
-USE_BZIP2= yes
+USE_XZ= yes
USES= gettext gmake pathfix pkgconfig
USE_AUTOTOOLS= libtool
-USE_GNOME= gnomeprefix intlhack gnomevfs2
-WANT_GNOME= yes
+USE_GNOME= gnomeprefix intlhack gtk30 gtksourceview3
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-GCONF_SCHEMAS= gedit-show-tabbar-plugin.schemas \
- gedit-drawspaces.schemas
+GLIB_SCHEMAS= org.gnome.gedit.plugins.drawspaces.gschema.xml
OPTIONS_DEFINE= PYTHON
-PYTHON_DESC= Build python plugins
-
-.if defined(PACKAGE_BUILDING)
OPTIONS_DEFAULT=PYTHON
-.endif
+PYTHON_DESC= Build plugins that depend on python
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPYTHON}
USE_PYTHON= yes
-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
+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
PLIST_SUB+= PYTHON=""
.else
@@ -61,4 +48,8 @@ post-patch:
@${REINPLACE_CMD} -e 's| \\t\\r\\n\\f|[:space:]|g' \
${WRKSRC}/configure
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gedit/plugins/lib*.so
+
.include <bsd.port.mk>
+