aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2008-08-06 13:35:20 +0000
committerMartin Matuska <mm@FreeBSD.org>2008-08-06 13:35:20 +0000
commitd631e4a28395c4aa6e0e344eb15d35bdafe05292 (patch)
treeddc986ee48efef536d2abb16c5b5b2074fa926bd /net-im
parent1cd66a015e1454e48421b1d38aa5385ee9440e60 (diff)
downloadports-d631e4a28395c4aa6e0e344eb15d35bdafe05292.tar.gz
ports-d631e4a28395c4aa6e0e344eb15d35bdafe05292.zip
- Fix MSN protocol string
- Bump PORTREVISION PR: ports/126276 Submitted by: garga
Notes
Notes: svn path=/head/; revision=218136
Diffstat (limited to 'net-im')
-rw-r--r--net-im/jabber-pymsn/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net-im/jabber-pymsn/Makefile b/net-im/jabber-pymsn/Makefile
index adc6d72fe9b6..997b5c7ede9b 100644
--- a/net-im/jabber-pymsn/Makefile
+++ b/net-im/jabber-pymsn/Makefile
@@ -6,6 +6,7 @@
PORTNAME= pymsn
DISTVERSION= 0.11.3
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net-im
MASTER_SITES= http://delx.net.au/projects/pymsnt/tarballs/
@@ -96,9 +97,11 @@ post-patch:
${WRKSRC}/src/config.py
@${REINPLACE_CMD} -i "" 's|"config.xml"|"${PREFIX}/etc/jabber-pymsn.xml"|' \
${WRKSRC}/src/main.py
+ @${RM} -f ${WRKSRC}/src/main.py.orig
@${REINPLACE_CMD} -i "" 's|#!.*$$|#!${LOCAL_PYTHON}|' \
${WRKSRC}/PyMSNt.py
- @${RM} -f ${WRKSRC}/src/main.py.orig
+ @${REINPLACE_CMD} -i "" '/MSN_PROTOCOL_VERSION *= */s/MSNP11 CVR0/MSNP11/' \
+ ${WRKSRC}/src/legacy/msn/msn.py
do-install:
@${MKDIR} ${INST_DIR}/src ${INST_DIR}/data