aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2004-11-15 00:44:50 +0800
committersobomax <sobomax@FreeBSD.org>2004-11-15 00:44:50 +0800
commit45a45258762c30675fb5f79d956278c6f3aad798 (patch)
tree3895750d22f4b535f508171fff1309ba8f60d8d9
parent4cb10af055d50b43f60201d2d32a51bf5d7e9e4b (diff)
downloadfreebsd-ports-gnome-45a45258762c30675fb5f79d956278c6f3aad798.tar.gz
freebsd-ports-gnome-45a45258762c30675fb5f79d956278c6f3aad798.tar.zst
freebsd-ports-gnome-45a45258762c30675fb5f79d956278c6f3aad798.zip
Add two missed options recognised by cdialog(1).
-rw-r--r--devel/py-dialog/Makefile1
-rw-r--r--devel/py-dialog/files/patch-dialog.py13
2 files changed, 12 insertions, 2 deletions
diff --git a/devel/py-dialog/Makefile b/devel/py-dialog/Makefile
index bce5bde85576..4b5f7c966530 100644
--- a/devel/py-dialog/Makefile
+++ b/devel/py-dialog/Makefile
@@ -8,6 +8,7 @@
PORTNAME= dialog
PORTVERSION= 2.7
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pythondialog
diff --git a/devel/py-dialog/files/patch-dialog.py b/devel/py-dialog/files/patch-dialog.py
index fd1dc62effe7..06cb0ef2bf77 100644
--- a/devel/py-dialog/files/patch-dialog.py
+++ b/devel/py-dialog/files/patch-dialog.py
@@ -1,9 +1,18 @@
$FreeBSD$
---- dialog.py
+--- dialog.py.orig
+++ dialog.py
-@@ -524,7 +524,7 @@
+@@ -214,6 +214,8 @@
+ "create_rc": lambda file: ("--create-rc", file),
+ "defaultno": lambda enable: _simple_option("--defaultno", enable),
+ "default_item": lambda string: ("--default-item", string),
++ "exit_label": lambda string: ("--exit-label", string),
++ "extra_button": lambda enable: _simple_option("--extra-button", enable),
+ "help": lambda enable: _simple_option("--help", enable),
+ "help_button": lambda enable: _simple_option("--help-button", enable),
+ "help_label": lambda string: ("--help-label", string),
+@@ -524,7 +526,7 @@
"""