aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2016-02-08 03:43:56 +0800
committerkwm <kwm@FreeBSD.org>2016-02-08 03:43:56 +0800
commitbd0d08974c0ee8a31b090ec738e138401f2368ec (patch)
tree9e818b5d09f2e948238e96c1a5ae1e8212983272 /audio
parent3423370b10a03a2b6f1f05678e1e18ec354e04ec (diff)
downloadfreebsd-ports-graphics-bd0d08974c0ee8a31b090ec738e138401f2368ec.tar.gz
freebsd-ports-graphics-bd0d08974c0ee8a31b090ec738e138401f2368ec.tar.zst
freebsd-ports-graphics-bd0d08974c0ee8a31b090ec738e138401f2368ec.zip
Move Mk/bsd.gnome.mk and Mk/bsd.mate.mk to Mk/Uses/.
To use the GNOME or MATE components activate it by adding gnome or mate to USES. The usage of USE_GNOME/INSTALL_ICONS and for example GLIB_SCHEMAS has stayed the same. Like with USES, the use of USE_GNOME and so after bsd.port.pre.mk is now forbidden. And adapt ports that where still doing that. Exp-runs done by: antoine@ PR: 205432 Reviewed by: antoine@, mat@ Approved by: portmgr (antoine@) Differential Revision: https://reviews.freebsd.org/D3653
Diffstat (limited to 'audio')
-rw-r--r--audio/jokosher/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/jokosher/Makefile b/audio/jokosher/Makefile
index 913d82dfc3e..f9243a44f32 100644
--- a/audio/jokosher/Makefile
+++ b/audio/jokosher/Makefile
@@ -26,14 +26,14 @@ PIDGIN_DESC= Pidgin status extension
PROFILES_DESC= Gnome Audio Profiels extension
PULSE_DESC= ${PULSEAUDIO_DESC}
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDBUS}
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus
.endif
.if ${PORT_OPTIONS:MGNOME} || ${PORT_OPTIONS:MPROFILES} \
- || ${HAVE_GNOME:Mpygnome2}!=""
+ || exists(${LOCALBASE}/libdata/pkgconfig/gnome-python-2.0.pc)
USE_GNOME+= pygnome2
.endif
@@ -64,4 +64,4 @@ post-patch: .SILENT
's|"update-desktop-database"|&, "${PREFIX}/share/applications"|' \
${WRKSRC}/bin/${PORTNAME} ${WRKSRC}/${PYSETUP}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>