aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-20 20:04:31 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-20 20:04:31 +0000
commit6259cac8859da815b5e670fb80bd4340974463d3 (patch)
tree4be4c4cd1c23cb9f7b4785dbb41aa513713d0818
parent041df375fc27d450d730f7e68fd463841a599911 (diff)
downloadports-6259cac8859da815b5e670fb80bd4340974463d3.tar.gz
ports-6259cac8859da815b5e670fb80bd4340974463d3.zip
Notes
-rw-r--r--devel/py-ncurses/Makefile10
-rw-r--r--devel/py-ncurses/files/patch-setup.py21
-rw-r--r--devel/py-ncurses/pkg-plist35
3 files changed, 47 insertions, 19 deletions
diff --git a/devel/py-ncurses/Makefile b/devel/py-ncurses/Makefile
index c3ca808f1501..7bfc9f3c3161 100644
--- a/devel/py-ncurses/Makefile
+++ b/devel/py-ncurses/Makefile
@@ -5,12 +5,14 @@
# $FreeBSD$
#
-PORTNAME= py-ncurses
+PORTNAME= ncurses
PORTVERSION= 0.3
+PORTREVISION= 1
CATEGORIES= devel python
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME:S/-//}
-DISTNAME= ${PORTNAME:S/-//}-${PORTVERSION}
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= pyncurses
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= pyncurses-${PORTVERSION}
MAINTAINER= adsharma@sharmas.dhs.org
diff --git a/devel/py-ncurses/files/patch-setup.py b/devel/py-ncurses/files/patch-setup.py
new file mode 100644
index 000000000000..18c8117b08d8
--- /dev/null
+++ b/devel/py-ncurses/files/patch-setup.py
@@ -0,0 +1,21 @@
+--- setup.py.orig Tue Jun 18 08:26:48 2002
++++ setup.py Tue Jun 18 08:27:09 2002
+@@ -44,15 +44,15 @@
+ }),
+ ('ncurses._panel',
+ { 'sources': ['ncurses/_panel_wrap.c'],
+- 'libraries': ['panel']
++ 'libraries': ['panel', 'ncurses']
+ }),
+ ('ncurses._menu',
+ { 'sources': ['ncurses/_menu_wrap.c'],
+- 'libraries': ['menu']
++ 'libraries': ['menu', 'ncurses']
+ }),
+ ('ncurses._form',
+ { 'sources': ['ncurses/_form_wrap.c'],
+- 'libraries': ['form']
++ 'libraries': ['form', 'ncurses']
+ }),
+ ]
+ )
diff --git a/devel/py-ncurses/pkg-plist b/devel/py-ncurses/pkg-plist
index 38e0f52a8768..5dc729bfaa34 100644
--- a/devel/py-ncurses/pkg-plist
+++ b/devel/py-ncurses/pkg-plist
@@ -1,15 +1,20 @@
-lib/%%PYTHON_VERSION%%/site-packages/ncurses/__init__.py
-lib/%%PYTHON_VERSION%%/site-packages/ncurses/__init__.pyc
-lib/%%PYTHON_VERSION%%/site-packages/ncurses/_curses.so
-lib/%%PYTHON_VERSION%%/site-packages/ncurses/_form.so
-lib/%%PYTHON_VERSION%%/site-packages/ncurses/_menu.so
-lib/%%PYTHON_VERSION%%/site-packages/ncurses/_panel.so
-lib/%%PYTHON_VERSION%%/site-packages/ncurses/curses.py
-lib/%%PYTHON_VERSION%%/site-packages/ncurses/curses.pyc
-lib/%%PYTHON_VERSION%%/site-packages/ncurses/form.py
-lib/%%PYTHON_VERSION%%/site-packages/ncurses/form.pyc
-lib/%%PYTHON_VERSION%%/site-packages/ncurses/menu.py
-lib/%%PYTHON_VERSION%%/site-packages/ncurses/menu.pyc
-lib/%%PYTHON_VERSION%%/site-packages/ncurses/panel.py
-lib/%%PYTHON_VERSION%%/site-packages/ncurses/panel.pyc
-@dirrm lib/%%PYTHON_VERSION%%/site-packages/ncurses
+%%PYTHON_SITELIBDIR%%/ncurses/__init__.py
+%%PYTHON_SITELIBDIR%%/ncurses/__init__.pyc
+%%PYTHON_SITELIBDIR%%/ncurses/__init__.pyo
+%%PYTHON_SITELIBDIR%%/ncurses/_curses.so
+%%PYTHON_SITELIBDIR%%/ncurses/_form.so
+%%PYTHON_SITELIBDIR%%/ncurses/_menu.so
+%%PYTHON_SITELIBDIR%%/ncurses/_panel.so
+%%PYTHON_SITELIBDIR%%/ncurses/curses.py
+%%PYTHON_SITELIBDIR%%/ncurses/curses.pyc
+%%PYTHON_SITELIBDIR%%/ncurses/curses.pyo
+%%PYTHON_SITELIBDIR%%/ncurses/form.py
+%%PYTHON_SITELIBDIR%%/ncurses/form.pyc
+%%PYTHON_SITELIBDIR%%/ncurses/form.pyo
+%%PYTHON_SITELIBDIR%%/ncurses/menu.py
+%%PYTHON_SITELIBDIR%%/ncurses/menu.pyc
+%%PYTHON_SITELIBDIR%%/ncurses/menu.pyo
+%%PYTHON_SITELIBDIR%%/ncurses/panel.py
+%%PYTHON_SITELIBDIR%%/ncurses/panel.pyc
+%%PYTHON_SITELIBDIR%%/ncurses/panel.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/ncurses