summaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/gedit-plugins/Makefile6
-rw-r--r--editors/gedit/Makefile3
2 files changed, 3 insertions, 6 deletions
diff --git a/editors/gedit-plugins/Makefile b/editors/gedit-plugins/Makefile
index 35e0494b8..d2a415a1f 100644
--- a/editors/gedit-plugins/Makefile
+++ b/editors/gedit-plugins/Makefile
@@ -23,6 +23,7 @@ USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+INSTALL_TARGET= install-strip
GLIB_SCHEMAS= org.gnome.gedit.plugins.drawspaces.gschema.xml \
org.gnome.gedit.plugins.wordcompletion.gschema.xml
@@ -34,7 +35,7 @@ PYTHON_DESC= Build plugins that depend on python
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPYTHON}
-USE_PYTHON= yes
+USES+= python
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
@@ -49,8 +50,5 @@ 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>
diff --git a/editors/gedit/Makefile b/editors/gedit/Makefile
index 396fadb8c..4a6a919f0 100644
--- a/editors/gedit/Makefile
+++ b/editors/gedit/Makefile
@@ -21,12 +21,11 @@ RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-co
${LOCALBASE}/libdata/pkgconfig/gsettings-desktop-schemas.pc:${PORTSDIR}/devel/gsettings-desktop-schemas
USES= desktop-file-utils gettext gmake libtool:keepla \
- pathfix pkgconfig tar:xz
+ pathfix pkgconfig python:3 tar:xz
USE_GNOME= gnomeprefix gtksourceview3 intlhack introspection:build \
libxml2 py3gobject3
USE_XORG= sm
GNU_CONFIGURE= yes
-USE_PYTHON= 3
CONFIGURE_ARGS= --disable-updater
CONFIGURE_ARGS+=--disable-zeitgeist \
--enable-python