aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2009-05-14 07:11:19 +0800
committermarcus <marcus@FreeBSD.org>2009-05-14 07:11:19 +0800
commit630384e06c53975c164fc38b7595e99b8b910ac2 (patch)
tree33c2746573d7887060a2a9e78e134f9a62c1f527
parent351034713bfb1bb6b29607946c3e7fd1d153a2cf (diff)
downloadfreebsd-ports-gnome-630384e06c53975c164fc38b7595e99b8b910ac2.tar.gz
freebsd-ports-gnome-630384e06c53975c164fc38b7595e99b8b910ac2.tar.zst
freebsd-ports-gnome-630384e06c53975c164fc38b7595e99b8b910ac2.zip
Apparently py-elementtree is no longer required.
-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' \