aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/ftpcube
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2009-05-02 05:18:33 +0800
committergahr <gahr@FreeBSD.org>2009-05-02 05:18:33 +0800
commit2b93fbda62703f7615910055d78a25b2a6ecc23d (patch)
tree8132ccee3d130017e058c9710aafa5e20c8d2e4d /ftp/ftpcube
parentc0a585a54188eb5c4e5a25839bce5c18d7191ff2 (diff)
downloadfreebsd-ports-gnome-2b93fbda62703f7615910055d78a25b2a6ecc23d.tar.gz
freebsd-ports-gnome-2b93fbda62703f7615910055d78a25b2a6ecc23d.tar.zst
freebsd-ports-gnome-2b93fbda62703f7615910055d78a25b2a6ecc23d.zip
- Add support for wx 2.8
- Add a patch to display the correct dialog when browsing for directories - Take maintainship
Diffstat (limited to 'ftp/ftpcube')
-rw-r--r--ftp/ftpcube/Makefile6
-rw-r--r--ftp/ftpcube/files/patch-libftpcube_connectwin.py18
2 files changed, 21 insertions, 3 deletions
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