aboutsummaryrefslogtreecommitdiff
path: root/devel/py-dialog/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-dialog/Makefile')
-rw-r--r--devel/py-dialog/Makefile20
1 files changed, 7 insertions, 13 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>