diff options
-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 9013c5c8dcc..6dd4af780e6 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: |