From b68067e5da780c0e2a0862e928c907b8f8660b73 Mon Sep 17 00:00:00 2001 From: kwm Date: Wed, 13 Aug 2014 14:55:11 +0000 Subject: Convert: USE_PYTHON* -> USES=python* USE_XZ|USE_BZIP2 -> USES=tar: replace some post-install ${STRIP_CMD} with INSTALL_TARGET=install-strip git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@19804 df743ca5-7f9a-e211-a948-0013205c9059 --- editors/gedit-plugins/Makefile | 6 ++---- editors/gedit/Makefile | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'editors') 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 .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 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 -- cgit v1.2.3