diff options
-rw-r--r-- | mail/pygmy/Makefile | 5 | ||||
-rw-r--r-- | mail/pygmy/files/patch-pygmymailbox.py | 26 | ||||
-rw-r--r-- | mail/pygmy/pkg-plist | 21 |
3 files changed, 51 insertions, 1 deletions
diff --git a/mail/pygmy/Makefile b/mail/pygmy/Makefile index 5f3a8b5f63ad..850cd643022d 100644 --- a/mail/pygmy/Makefile +++ b/mail/pygmy/Makefile @@ -7,6 +7,7 @@ PORTNAME= pygmy PORTVERSION= 0.5.5 +PORTREVISION= 1 CATEGORIES= mail python gnome MASTER_SITES= http://pygmy.sourceforge.net/ @@ -25,7 +26,9 @@ do-configure: do-install: ${MKDIR} ${PREFIX}/share/pygmy/icons - ${INSTALL_DATA} ${WRKSRC}/*.pyo ${WRKSRC}/*.pyc ${PREFIX}/share/pygmy +.for ext in py pyc pyo + ${INSTALL_DATA} ${WRKSRC}/*.${ext} ${PREFIX}/share/pygmy +.endfor ${INSTALL_DATA} ${WRKSRC}/icons/* ${PREFIX}/share/pygmy/icons ${INSTALL_DATA} ${WRKSRC}/pygmy ${PREFIX}/share/pygmy @printf "#!/bin/sh\n${PYTHON_CMD} ${PREFIX}/share/pygmy/pygmy" > \ diff --git a/mail/pygmy/files/patch-pygmymailbox.py b/mail/pygmy/files/patch-pygmymailbox.py new file mode 100644 index 000000000000..c3be01d52553 --- /dev/null +++ b/mail/pygmy/files/patch-pygmymailbox.py @@ -0,0 +1,26 @@ + +$FreeBSD$ + +--- pygmymailbox.py 2001/05/04 20:56:16 1.1 ++++ pygmymailbox.py 2001/05/04 21:07:51 +@@ -1,7 +1,7 @@ + ## $Id: pygmymailbox.py,v 1.1 2001/05/04 20:56:16 root Exp root $ + + ## System Modules +-import mailbox ++import mailbox, rfc822 + + + ## +@@ -11,9 +11,10 @@ + ## + class PygmyMailbox(mailbox.UnixMailbox): + # Have to include the seek-start parameter here +- def __init__(self, fp, start=0): ++ def __init__(self, fp, start=0, factory=rfc822.Message): + self.fp = fp + self.seekp = start ++ self.factory = factory + + # Current start index in file + cur_start = 0 diff --git a/mail/pygmy/pkg-plist b/mail/pygmy/pkg-plist index 922c82d15970..9845d5d3b1d2 100644 --- a/mail/pygmy/pkg-plist +++ b/mail/pygmy/pkg-plist @@ -1,22 +1,32 @@ bin/pygmy +share/pygmy/addresslist.py share/pygmy/addresslist.pyc share/pygmy/addresslist.pyo +share/pygmy/cite.py share/pygmy/cite.pyc share/pygmy/cite.pyo +share/pygmy/edit.py share/pygmy/edit.pyc share/pygmy/edit.pyo +share/pygmy/error.py share/pygmy/error.pyc share/pygmy/error.pyo +share/pygmy/expand.py share/pygmy/expand.pyc share/pygmy/expand.pyo +share/pygmy/fileops.py share/pygmy/fileops.pyc share/pygmy/fileops.pyo +share/pygmy/filter.py share/pygmy/filter.pyc share/pygmy/filter.pyo +share/pygmy/folder.py share/pygmy/folder.pyc share/pygmy/folder.pyo +share/pygmy/folderops.py share/pygmy/folderops.pyc share/pygmy/folderops.pyo +share/pygmy/headers.py share/pygmy/headers.pyc share/pygmy/headers.pyo share/pygmy/icons/configure_mail.xpm @@ -34,27 +44,38 @@ share/pygmy/icons/trash.xpm share/pygmy/icons/tray_empty.xpm share/pygmy/icons/tray_full.xpm share/pygmy/icons/tray_new.xpm +share/pygmy/mime.py share/pygmy/mime.pyc share/pygmy/mime.pyo +share/pygmy/msg.py share/pygmy/msg.pyc share/pygmy/msg.pyo +share/pygmy/newmail.py share/pygmy/newmail.pyc share/pygmy/newmail.pyo +share/pygmy/prefix.py share/pygmy/prefix.pyc share/pygmy/prefix.pyo +share/pygmy/prefs.py share/pygmy/prefs.pyc share/pygmy/prefs.pyo +share/pygmy/privacy.py share/pygmy/privacy.pyc share/pygmy/privacy.pyo share/pygmy/pygmy +share/pygmy/pygmymailbox.py share/pygmy/pygmymailbox.pyc share/pygmy/pygmymailbox.pyo +share/pygmy/pygmymultifile.py share/pygmy/pygmymultifile.pyc share/pygmy/pygmymultifile.pyo +share/pygmy/quote_pri.py share/pygmy/quote_pri.pyc share/pygmy/quote_pri.pyo +share/pygmy/sendmail.py share/pygmy/sendmail.pyc share/pygmy/sendmail.pyo +share/pygmy/smileys.py share/pygmy/smileys.pyc share/pygmy/smileys.pyo @dirrm share/pygmy/icons |