diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2004-11-12 15:54:31 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2004-11-12 15:54:31 +0000 |
commit | 119c49b59d5f503555b908e9562f6be3943fbd8b (patch) | |
tree | d963e9adcbdd28b08aee86acce3ca6de1b296bf0 | |
parent | 972424ab3293b8ff4f605b7a5a0751cb544fae06 (diff) | |
download | ports-119c49b59d5f503555b908e9562f6be3943fbd8b.tar.gz ports-119c49b59d5f503555b908e9562f6be3943fbd8b.zip |
Notes
-rw-r--r-- | devel/py-dialog/Makefile | 20 | ||||
-rw-r--r-- | devel/py-dialog/distinfo | 4 | ||||
-rw-r--r-- | devel/py-dialog/files/patch-dialog.py | 14 | ||||
-rw-r--r-- | devel/py-dialog/pkg-plist | 3 |
4 files changed, 26 insertions, 15 deletions
diff --git a/devel/py-dialog/Makefile b/devel/py-dialog/Makefile index 8b349c9879ac..bce5bde85576 100644 --- a/devel/py-dialog/Makefile +++ b/devel/py-dialog/Makefile @@ -7,26 +7,20 @@ # PORTNAME= dialog -PORTVERSION= 1.0 +PORTVERSION= 2.7 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pythondialog PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= dialog -EXTRACT_SUFX= .py +DISTNAME= pythondialog-${PORTVERSION} + +RUN_DEPENDS= cdialog:${PORTSDIR}/devel/cdialog MAINTAINER= ports@FreeBSD.org -COMMENT= Python Dialog +COMMENT= Python interface to dialog(3) -PLIST_FILES= %%PYTHON_SITELIBDIR%%/dialog.py +USE_BZIP2= yes USE_PYTHON= yes -EXTRACT_CMD= ${CP} -EXTRACT_BEFORE_ARGS= # empty -EXTRACT_AFTER_ARGS= ${WRKDIR} -NO_BUILD= yes -NO_WRKSUBDIR= yes - -do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/dialog.py ${PYTHON_SITELIBDIR} +USE_PYDISTUTILS= yes .include <bsd.port.mk> diff --git a/devel/py-dialog/distinfo b/devel/py-dialog/distinfo index 5f4070b737f7..fd943e738122 100644 --- a/devel/py-dialog/distinfo +++ b/devel/py-dialog/distinfo @@ -1,2 +1,2 @@ -MD5 (dialog.py) = 544159de3a3908918e5f7b63d9f9097f -SIZE (dialog.py) = 10825 +MD5 (pythondialog-2.7.tar.bz2) = 19e68b362fe61ef84b981d53d96f0735 +SIZE (pythondialog-2.7.tar.bz2) = 29088 diff --git a/devel/py-dialog/files/patch-dialog.py b/devel/py-dialog/files/patch-dialog.py new file mode 100644 index 000000000000..fd1dc62effe7 --- /dev/null +++ b/devel/py-dialog/files/patch-dialog.py @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- dialog.py ++++ dialog.py +@@ -524,7 +524,7 @@ + + """ + +- def __init__(self, dialog="dialog", DIALOGRC=None, compat="dialog", ++ def __init__(self, dialog="cdialog", DIALOGRC=None, compat="dialog", + use_stdout=None): + """Constructor for Dialog instances. + diff --git a/devel/py-dialog/pkg-plist b/devel/py-dialog/pkg-plist new file mode 100644 index 000000000000..93cafd8182c3 --- /dev/null +++ b/devel/py-dialog/pkg-plist @@ -0,0 +1,3 @@ +lib/%%PYTHON_VERSION%%/site-packages/dialog.py +lib/%%PYTHON_VERSION%%/site-packages/dialog.pyc +lib/%%PYTHON_VERSION%%/site-packages/dialog.pyo |