aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-04-23 03:02:00 +0800
committergarga <garga@FreeBSD.org>2006-04-23 03:02:00 +0800
commitcad7f7b467a9765fda727d935ff4c0af63973a6c (patch)
treef0ff020e3298ba74f74ad3294ef53b33bdc380f9 /net-im
parentd0ccbd9c732bf79abb9dd0ac27f96aa60c053fec (diff)
downloadfreebsd-ports-gnome-cad7f7b467a9765fda727d935ff4c0af63973a6c.tar.gz
freebsd-ports-gnome-cad7f7b467a9765fda727d935ff4c0af63973a6c.tar.zst
freebsd-ports-gnome-cad7f7b467a9765fda727d935ff4c0af63973a6c.zip
Make py-imaging dependency optional adding a X11 OPTION, so, if it's not
selected, avatars will not work.
Diffstat (limited to 'net-im')
-rw-r--r--net-im/jabber-pyicq/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/net-im/jabber-pyicq/Makefile b/net-im/jabber-pyicq/Makefile
index ef304906fda6..13fcf2b38fef 100644
--- a/net-im/jabber-pyicq/Makefile
+++ b/net-im/jabber-pyicq/Makefile
@@ -17,10 +17,10 @@ MAINTAINER= garga@FreeBSD.org
COMMENT= Python ICQ-Transport for Jabber
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/OpenSSL/__init__.py:${PORTSDIR}/security/py-openssl \
- ${PYTHON_SITELIBDIR}/twisted/__init__.py:${PORTSDIR}/devel/py-twisted \
- ${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging
+ ${PYTHON_SITELIBDIR}/twisted/__init__.py:${PORTSDIR}/devel/py-twisted
-OPTIONS= EJABBERD "Use transport with ejabberd" off
+OPTIONS= EJABBERD "Use transport with ejabberd" off \
+ X11 "Use X11 (required to avatars working)" on
NO_BUILD= yes
USE_PYTHON= yes
@@ -41,6 +41,10 @@ JABBER_USER?= ejabberd
JABBER_USER?= jabber
.endif
+.if !defined(WITHOUT_X11)
+RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging
+.endif
+
SUB_LIST+= JABBER_USER=${JABBER_USER}
post-extract: