diff options
author | sobomax <sobomax@FreeBSD.org> | 2012-12-12 09:13:40 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2012-12-12 09:13:40 +0800 |
commit | bd0c9a2d403cb834a0425ca989fd55726f088daf (patch) | |
tree | b93ea084a886ad006231954155e36b5246c2e523 | |
parent | 488abae42ba763c3f77a09ecc26d5e97eb3cb6fd (diff) | |
download | freebsd-ports-gnome-bd0c9a2d403cb834a0425ca989fd55726f088daf.tar.gz freebsd-ports-gnome-bd0c9a2d403cb834a0425ca989fd55726f088daf.tar.zst freebsd-ports-gnome-bd0c9a2d403cb834a0425ca989fd55726f088daf.zip |
Add support for the --exit-label option.
-rw-r--r-- | devel/py-dialog/Makefile | 2 | ||||
-rw-r--r-- | devel/py-dialog/files/patch-dialog.py | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/devel/py-dialog/Makefile b/devel/py-dialog/Makefile index cdd74e47ddda..7307a58a0c8a 100644 --- a/devel/py-dialog/Makefile +++ b/devel/py-dialog/Makefile @@ -8,7 +8,7 @@ PORTNAME= dialog PORTVERSION= 2.7 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel python MASTER_SITES= SF/python${PORTNAME}/python${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/devel/py-dialog/files/patch-dialog.py b/devel/py-dialog/files/patch-dialog.py index 5c625eeabb93..43e7d38e2ce7 100644 --- a/devel/py-dialog/files/patch-dialog.py +++ b/devel/py-dialog/files/patch-dialog.py @@ -3,17 +3,18 @@ $FreeBSD$ --- dialog.py.orig +++ dialog.py -@@ -214,6 +214,9 @@ +@@ -214,6 +214,10 @@ "create_rc": lambda file: ("--create-rc", file), "defaultno": lambda enable: _simple_option("--defaultno", enable), "default_item": lambda string: ("--default-item", string), + "yes_label": lambda string: ("--yes-label", string), + "no_label": lambda string: ("--no-label", 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 +527,7 @@ +@@ -524,7 +528,7 @@ """ |