summaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2014-08-13 22:55:11 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2014-08-13 22:55:11 +0800
commitb68067e5da780c0e2a0862e928c907b8f8660b73 (patch)
tree56e1c21007cf4d60df18b84ba6e0dba593611189 /editors
parentfcb35eefd4dfbdb779f8666ef8ed813f2931cf16 (diff)
downloadmarcuscom-ports-b68067e5da780c0e2a0862e928c907b8f8660b73.tar
marcuscom-ports-b68067e5da780c0e2a0862e928c907b8f8660b73.tar.gz
marcuscom-ports-b68067e5da780c0e2a0862e928c907b8f8660b73.tar.bz2
marcuscom-ports-b68067e5da780c0e2a0862e928c907b8f8660b73.tar.lz
marcuscom-ports-b68067e5da780c0e2a0862e928c907b8f8660b73.tar.xz
marcuscom-ports-b68067e5da780c0e2a0862e928c907b8f8660b73.tar.zst
marcuscom-ports-b68067e5da780c0e2a0862e928c907b8f8660b73.zip
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
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