aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/conduit
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2009-05-15 14:47:51 +0800
committermarcus <marcus@FreeBSD.org>2009-05-15 14:47:51 +0800
commit9722f44cd58b5491d17c6e84b8c1de98e3818a0c (patch)
tree606eb1d77f3dde87bf244a46aa08eadbb45b356a /deskutils/conduit
parentbd5890dbdff2f40b760b7b052bf722764ddf62e8 (diff)
downloadfreebsd-ports-gnome-9722f44cd58b5491d17c6e84b8c1de98e3818a0c.tar.gz
freebsd-ports-gnome-9722f44cd58b5491d17c6e84b8c1de98e3818a0c.tar.zst
freebsd-ports-gnome-9722f44cd58b5491d17c6e84b8c1de98e3818a0c.zip
We no longer require py-elementtree with Python 2.5.
Diffstat (limited to 'deskutils/conduit')
-rw-r--r--deskutils/conduit/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/deskutils/conduit/Makefile b/deskutils/conduit/Makefile
index fad81e5078be..9a63b606ddd0 100644
--- a/deskutils/conduit/Makefile
+++ b/deskutils/conduit/Makefile
@@ -7,6 +7,7 @@
PORTNAME= conduit
PORTVERSION= 0.3.15
+PORTREVISION= 1
CATEGORIES= deskutils
MASTER_SITES= GNOME
@@ -14,14 +15,12 @@ MAINTAINER= gnome@FreeBSD.org
COMMENT= Synchronization application for GNOME
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/goocanvasmodule.so:${PORTSDIR}/graphics/py-goocanvas \
- ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree \
${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite23 \
xmlproc_parse:${PORTSDIR}/textproc/py-xml \
py*-vobject>=0.4.8:${PORTSDIR}/deskutils/py-vobject \
${LOCALBASE}/libdata/pkgconfig/dbus-python.pc:${PORTSDIR}/devel/py-dbus
LIB_DEPENDS= dbus-1.3:${PORTSDIR}/devel/dbus
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/goocanvasmodule.so:${PORTSDIR}/graphics/py-goocanvas \
- ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree \
${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite23 \
xmlproc_parse:${PORTSDIR}/textproc/py-xml \
py*-vobject>=0.4.8:${PORTSDIR}/deskutils/py-vobject \
@@ -54,6 +53,11 @@ RUN_DEPENDS+= eog:${PORTSDIR}/graphics/eog
CONFIGURE_ARGS+= --enable-eog-plugin
.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|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
${WRKSRC}/data/Makefile.in