aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2008-08-06 21:35:20 +0800
committermm <mm@FreeBSD.org>2008-08-06 21:35:20 +0800
commit38b78a99e8de48cb1d00f15f96d1c281d12e107d (patch)
tree4b9fad8b32f7215ead8d4ed4374cb31ae62111f8 /net-im
parent270af0f52d444fdb57fca0484c5f51ddb9534240 (diff)
downloadfreebsd-ports-gnome-38b78a99e8de48cb1d00f15f96d1c281d12e107d.tar.gz
freebsd-ports-gnome-38b78a99e8de48cb1d00f15f96d1c281d12e107d.tar.zst
freebsd-ports-gnome-38b78a99e8de48cb1d00f15f96d1c281d12e107d.zip
- Fix MSN protocol string
- Bump PORTREVISION PR: ports/126276 Submitted by: garga
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