diff options
author | garga <garga@FreeBSD.org> | 2006-08-17 15:51:56 +0000 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2006-08-17 15:51:56 +0000 |
commit | 958733ad42a530b4162da63e1a8d23f2b42a4d74 (patch) | |
tree | 366e91a2188576c45da2fe82faa739097c6f691e /net-im | |
parent | 233dbceaaef6ee8ba8345541b35d5d0a3d9613c0 (diff) | |
download | FreeBSD-ports-958733ad42a530b4162da63e1a8d23f2b42a4d74.zip FreeBSD-ports-958733ad42a530b4162da63e1a8d23f2b42a4d74.tar.gz |
- Use Twisted 2.x as default
- Add an OPTION to still use Twisted 1.x
- Bump PORTREVISION
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/jabber-pymsn/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/net-im/jabber-pymsn/Makefile b/net-im/jabber-pymsn/Makefile index 865b2c1..8f5336d 100644 --- a/net-im/jabber-pymsn/Makefile +++ b/net-im/jabber-pymsn/Makefile @@ -6,6 +6,7 @@ PORTNAME= pymsn DISTVERSION= 0.11.2-dev2 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= net-im MASTER_SITES= http://delx.cjb.net/pymsnt/tarballs/ \ @@ -20,10 +21,10 @@ 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 -OPTIONS= EJABBERD "Use transport with ejabberd" off +OPTIONS= EJABBERD "Use transport with ejabberd" off \ + TWISTED1 "Use old py-twisted 1.x" off NO_BUILD= yes USE_PYTHON= yes @@ -47,6 +48,14 @@ JABBER_USER?= jabber SUB_LIST+= JABBER_REQUIRE=jabberd .endif +.if defined(WITH_TWISTED1) +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/twisted/__init__.py:${PORTSDIR}/devel/py-twisted +.else +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/twisted/__init__.py:${PORTSDIR}/devel/py-twistedCore \ + ${PYTHON_SITELIBDIR}/twisted/web/__init__.py:${PORTSDIR}/www/py-twistedWeb \ + ${PYTHON_SITELIBDIR}/twisted/words/__init__.py:${PORTSDIR}/net-im/py-twistedWords +.endif + SUB_LIST+= JABBER_USER=${JABBER_USER} post-extract: @@ -65,7 +74,6 @@ post-patch: ${WRKSRC}/src/main.py @${REINPLACE_CMD} -i "" 's|#!.*$$|#!${LOCAL_PYTHON}|' \ ${WRKSRC}/PyMSNt.py - @${RM} -f ${WRKSRC}/src/*.orig do-install: ${MKDIR} ${INST_DIR}/src ${INST_DIR}/data |