diff options
author | Renato Botelho <garga@FreeBSD.org> | 2006-04-22 18:58:10 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2006-04-22 18:58:10 +0000 |
commit | 76a92b735416f84fc9d24a02e7ae28a1cc351714 (patch) | |
tree | 06cbc792c61955058e23f647e2ed28c709115db4 | |
parent | 800f2c28e879cf75691ff1cf91f8a7034da548db (diff) | |
download | ports-76a92b735416f84fc9d24a02e7ae28a1cc351714.tar.gz ports-76a92b735416f84fc9d24a02e7ae28a1cc351714.zip |
Make py-imaging dependency optional adding a X11 OPTION, so, if it's not
selected, just PNG avatars will work.
Notes
Notes:
svn path=/head/; revision=160146
-rw-r--r-- | net-im/jabber-pymsn/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/net-im/jabber-pymsn/Makefile b/net-im/jabber-pymsn/Makefile index 9013c5c8dcce..6dd4af780e6e 100644 --- a/net-im/jabber-pymsn/Makefile +++ b/net-im/jabber-pymsn/Makefile @@ -17,12 +17,12 @@ MAINTAINER= garga@FreeBSD.org COMMENT= Python MSN-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 WRKSRC= ${WRKDIR}/${PORTNAME}t-0.11 -OPTIONS= EJABBERD "Use transport with ejabberd" off +OPTIONS= EJABBERD "Use transport with ejabberd" off \ + X11 "Use X11 (required to non-PNG avatars)" on NO_BUILD= yes USE_PYTHON= yes @@ -43,6 +43,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: |