Index: Makefile =================================================================== RCS file: /home/pcvs/ports/net-im/jabber-pymsn/Makefile,v retrieving revision 1.19 diff -u -r1.19 Makefile --- Makefile 17 Aug 2006 15:51:56 -0000 1.19 +++ Makefile 14 Jan 2007 21:50:52 -0000 @@ -5,8 +5,7 @@ # $FreeBSD: ports/net-im/jabber-pymsn/Makefile,v 1.19 2006/08/17 15:51:56 garga Exp $ PORTNAME= pymsn -DISTVERSION= 0.11.2-dev2 -PORTREVISION= 1 +DISTVERSION= 0.11.2 PORTEPOCH= 1 CATEGORIES= net-im MASTER_SITES= http://delx.cjb.net/pymsnt/tarballs/ \ @@ -74,6 +73,7 @@ ${WRKSRC}/src/main.py @${REINPLACE_CMD} -i "" 's|#!.*$$|#!${LOCAL_PYTHON}|' \ ${WRKSRC}/PyMSNt.py + @${RM} -f ${WRKSRC}/src/main.py.orig do-install: ${MKDIR} ${INST_DIR}/src ${INST_DIR}/data Index: distinfo =================================================================== RCS file: /home/pcvs/ports/net-im/jabber-pymsn/distinfo,v retrieving revision 1.9 diff -u -r1.9 distinfo --- distinfo 15 Aug 2006 21:38:02 -0000 1.9 +++ distinfo 14 Jan 2007 21:50:52 -0000 @@ -1,3 +1,3 @@ -MD5 (jabber/pymsnt-0.11.2-dev2.tar.gz) = 92494ba56a9b2c553b44f14cbad20e1d -SHA256 (jabber/pymsnt-0.11.2-dev2.tar.gz) = 6fd35ce292147aaeaf68e7d84ed0aefc092cf745b638fd463b07d53fdcb9a661 -SIZE (jabber/pymsnt-0.11.2-dev2.tar.gz) = 313504 +MD5 (jabber/pymsnt-0.11.2.tar.gz) = 855cb25e2254522ba98ba02d59fdd9b6 +SHA256 (jabber/pymsnt-0.11.2.tar.gz) = d0d7064f50133453d170008e075de2d3ec0138e593c5bc9ec4052cfb2fe28459 +SIZE (jabber/pymsnt-0.11.2.tar.gz) = 311947 Index: files/patch-src_main.py =================================================================== RCS file: files/patch-src_main.py diff -N files/patch-src_main.py --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-src_main.py 14 Jan 2007 21:50:52 -0000 @@ -0,0 +1,14 @@ +--- src/main.py.orig Wed Oct 18 01:40:55 2006 ++++ src/main.py Sun Jan 14 19:47:46 2007 +@@ -390,7 +390,10 @@ + # Set SIGHUP to reload the config file & close & open debug file + signal.signal(signal.SIGHUP, SIGHUPstuff) + # Load some scripts for PID and daemonising +- from twisted.scripts import twistd ++ try: ++ from twisted.scripts import _twistd_unix as twistd ++ except: ++ from twisted.scripts import twistd + + + def main():