summaryrefslogtreecommitdiffstats
path: root/deskutils/deskbar-applet
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-05-14 06:45:54 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-05-14 06:45:54 +0800
commit1aed2bf0b81ecd0dde24b8503c6b4410b887e38b (patch)
treecf9bc0d22ae1b877a9c54dd1df91462d28a3cf8a /deskutils/deskbar-applet
parent1be6ceaceda463d6a90f6e459d9a290261e5ab5a (diff)
downloadmarcuscom-ports-1aed2bf0b81ecd0dde24b8503c6b4410b887e38b.tar
marcuscom-ports-1aed2bf0b81ecd0dde24b8503c6b4410b887e38b.tar.gz
marcuscom-ports-1aed2bf0b81ecd0dde24b8503c6b4410b887e38b.tar.bz2
marcuscom-ports-1aed2bf0b81ecd0dde24b8503c6b4410b887e38b.tar.lz
marcuscom-ports-1aed2bf0b81ecd0dde24b8503c6b4410b887e38b.tar.xz
marcuscom-ports-1aed2bf0b81ecd0dde24b8503c6b4410b887e38b.tar.zst
marcuscom-ports-1aed2bf0b81ecd0dde24b8503c6b4410b887e38b.zip
Apparently, we no longer need py-elementtree.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12312 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils/deskbar-applet')
-rw-r--r--deskutils/deskbar-applet/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/deskutils/deskbar-applet/Makefile b/deskutils/deskbar-applet/Makefile
index cc2ef79b6..e7f0cae5f 100644
--- a/deskutils/deskbar-applet/Makefile
+++ b/deskutils/deskbar-applet/Makefile
@@ -3,11 +3,12 @@
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
-# $MCom$
+# $MCom: ports/deskutils/deskbar-applet/Makefile,v 1.101 2009/05/06 17:43:12 kwm Exp $
#
PORTNAME= deskbar-applet
PORTVERSION= 2.27.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' \