diff options
author | garga <garga@FreeBSD.org> | 2006-04-22 19:02:00 +0000 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2006-04-22 19:02:00 +0000 |
commit | cad7f7b467a9765fda727d935ff4c0af63973a6c (patch) | |
tree | f0ff020e3298ba74f74ad3294ef53b33bdc380f9 /net-im | |
parent | d0ccbd9c732bf79abb9dd0ac27f96aa60c053fec (diff) | |
download | FreeBSD-ports-cad7f7b467a9765fda727d935ff4c0af63973a6c.zip FreeBSD-ports-cad7f7b467a9765fda727d935ff4c0af63973a6c.tar.gz |
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/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
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: |