aboutsummaryrefslogtreecommitdiff
path: root/deskutils/deskbar-applet/Makefile
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2009-05-13 23:11:19 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2009-05-13 23:11:19 +0000
commit3ca1100464eb69bd6616e2e1c5fba94aae763827 (patch)
tree45d4030a894b367fdce24d8ff4ea1fe7f366e3e5 /deskutils/deskbar-applet/Makefile
parent678a37a9ad8f6b105fd9aebb37d14ff32ea416e1 (diff)
downloadports-3ca1100464eb69bd6616e2e1c5fba94aae763827.tar.gz
ports-3ca1100464eb69bd6616e2e1c5fba94aae763827.zip
Apparently py-elementtree is no longer required.
Notes
Notes: svn path=/head/; revision=233860
Diffstat (limited to 'deskutils/deskbar-applet/Makefile')
-rw-r--r--deskutils/deskbar-applet/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/deskutils/deskbar-applet/Makefile b/deskutils/deskbar-applet/Makefile
index 612664f49da5..4b6b6f6098a3 100644
--- a/deskutils/deskbar-applet/Makefile
+++ b/deskutils/deskbar-applet/Makefile
@@ -8,6 +8,7 @@
PORTNAME= deskbar-applet
PORTVERSION= 2.26.1
+PORTREVISION= 1
CATEGORIES= deskutils gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@@ -15,10 +16,8 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Omnipresent versatile search interface
-BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree \
- ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree \
- ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus \
+BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus \
${PYTHON_SITELIBDIR}/simplejson-2.0.9-py${PYTHON_VER}-${OPSYS:L}-${_OSRELEASE}-${ARCH}.egg:${PORTSDIR}/devel/py-simplejson
USE_BZIP2= yes
@@ -49,6 +48,11 @@ CONFIGURE_ARGS+=--disable-evolution
PLIST_SUB+= EVO="@comment "
.endif
+.if ${PYTHON_REL} < 250
+BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree
+RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \
s|%%LOCALBASE%%|${LOCALBASE}|g' \