aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/deskbar-applet
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2011-09-13 02:40:01 +0800
committerkwm <kwm@FreeBSD.org>2011-09-13 02:40:01 +0800
commit00e04c06ce524f27b7b96080213b54b0c45e4571 (patch)
treecb0bb07ad25102e2c51288019caa099154c6d160 /deskutils/deskbar-applet
parent021f94c69690fa58ab15ae7f903f7f6f51c9eb0c (diff)
downloadfreebsd-ports-gnome-00e04c06ce524f27b7b96080213b54b0c45e4571.tar.gz
freebsd-ports-gnome-00e04c06ce524f27b7b96080213b54b0c45e4571.tar.zst
freebsd-ports-gnome-00e04c06ce524f27b7b96080213b54b0c45e4571.zip
Make py-simplejson a depend if python is below 2.6.
PR: ports/160388 Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Diffstat (limited to 'deskutils/deskbar-applet')
-rw-r--r--deskutils/deskbar-applet/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/deskutils/deskbar-applet/Makefile b/deskutils/deskbar-applet/Makefile
index 95d34eb34aa4..f1fcee1fcc82 100644
--- a/deskutils/deskbar-applet/Makefile
+++ b/deskutils/deskbar-applet/Makefile
@@ -8,7 +8,7 @@
PORTNAME= deskbar-applet
PORTVERSION= 2.32.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= deskutils gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@@ -17,8 +17,7 @@ MAINTAINER= gnome@FreeBSD.org
COMMENT= Omnipresent versatile search interface
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus \
- ${PYTHON_PKGNAMEPREFIX}simplejson>=2.0:${PORTSDIR}/devel/py-simplejson
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus
USE_BZIP2= yes
USE_GETTEXT= yes
@@ -38,6 +37,10 @@ OPTIONS= EVO "Enable evolution support" on
.include <bsd.port.pre.mk>
+.if ${PYTHON_REL} < 260
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}simplejson>=2.0.9:${PORTSDIR}/devel/py-simplejson
+.endif
+
_OSRELEASE!= ${UNAME} -r
.if !defined(WITHOUT_EVO)