From 2b93fbda62703f7615910055d78a25b2a6ecc23d Mon Sep 17 00:00:00 2001 From: gahr Date: Fri, 1 May 2009 21:18:33 +0000 Subject: - Add support for wx 2.8 - Add a patch to display the correct dialog when browsing for directories - Take maintainship --- ftp/ftpcube/Makefile | 6 +++--- ftp/ftpcube/files/patch-libftpcube_connectwin.py | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 ftp/ftpcube/files/patch-libftpcube_connectwin.py (limited to 'ftp/ftpcube') diff --git a/ftp/ftpcube/Makefile b/ftp/ftpcube/Makefile index 3952f096fd1e..0489b24dc87a 100644 --- a/ftp/ftpcube/Makefile +++ b/ftp/ftpcube/Makefile @@ -7,18 +7,18 @@ PORTNAME= ftpcube PORTVERSION= 0.5.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= ftp python MASTER_SITES= SF -MAINTAINER= ports@FreeBSD.org +MAINTAINER= gahr@FreeBSD.org COMMENT= A graphical FTP Client RUN_DEPENDS= ${PYTHON_SITELIBDIR}/paramiko/__init__.py:${PORTSDIR}/security/py-paramiko USE_PYTHON= yes USE_PYDISTUTILS=yes -USE_WX= 2.6 +USE_WX= 2.6+ WX_COMPS= python WX_UNICODE= yes diff --git a/ftp/ftpcube/files/patch-libftpcube_connectwin.py b/ftp/ftpcube/files/patch-libftpcube_connectwin.py new file mode 100644 index 000000000000..5b1b968bbf6b --- /dev/null +++ b/ftp/ftpcube/files/patch-libftpcube_connectwin.py @@ -0,0 +1,18 @@ +--- libftpcube/connectwin.py.orig 2009-05-01 23:03:48.000000000 +0200 ++++ libftpcube/connectwin.py 2009-05-01 23:11:30.000000000 +0200 +@@ -477,7 +477,7 @@ + + def onBrowseClicked(self, event): + """Displays a browser window to select a local directory.""" +- path = messages.displayFileDialog(self, _("Ftpcube - Browse")) ++ path = messages.displayDirDialog(self, _("Ftpcube - Browse")) + if path: + self.local_entry.SetValue(path) + +@@ -664,4 +664,4 @@ + 'delay' : int(self.delay_entry.GetValue()), + 'passive' : bool(self.passive_button.GetValue()), + } +- return opts +\ No newline at end of file ++ return opts -- cgit