diff options
author | garga <garga@FreeBSD.org> | 2006-04-23 02:58:10 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2006-04-23 02:58:10 +0800 |
commit | d0ccbd9c732bf79abb9dd0ac27f96aa60c053fec (patch) | |
tree | afb54809850af9ec678475941e29909ec8dafb82 /net-im/jabber-pymsn/Makefile | |
parent | 9b82b0967ab25b0f708d1f1d5a11b1b89cb3f529 (diff) | |
download | freebsd-ports-gnome-d0ccbd9c732bf79abb9dd0ac27f96aa60c053fec.tar.gz freebsd-ports-gnome-d0ccbd9c732bf79abb9dd0ac27f96aa60c053fec.tar.zst freebsd-ports-gnome-d0ccbd9c732bf79abb9dd0ac27f96aa60c053fec.zip |
Make py-imaging dependency optional adding a X11 OPTION, so, if it's not
selected, just PNG avatars will work.
Diffstat (limited to 'net-im/jabber-pymsn/Makefile')
-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: |