From cad7f7b467a9765fda727d935ff4c0af63973a6c Mon Sep 17 00:00:00 2001 From: garga Date: Sat, 22 Apr 2006 19:02:00 +0000 Subject: Make py-imaging dependency optional adding a X11 OPTION, so, if it's not selected, avatars will not work. --- net-im/jabber-pyicq/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'net-im') diff --git a/net-im/jabber-pyicq/Makefile b/net-im/jabber-pyicq/Makefile index ef30490..13fcf2b 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: -- cgit v1.1