diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-06-21 04:04:31 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-06-21 04:04:31 +0800 |
commit | e084c9c0e7ee1b45676deb4f29bd4bbc7baab86e (patch) | |
tree | c8210125b5102c56bb3556a77368a03d458d77a7 /devel/py-ncurses | |
parent | 49fa689669e59aee26c466f81d746065ae955f8d (diff) | |
download | freebsd-ports-gnome-e084c9c0e7ee1b45676deb4f29bd4bbc7baab86e.tar.gz freebsd-ports-gnome-e084c9c0e7ee1b45676deb4f29bd4bbc7baab86e.tar.zst freebsd-ports-gnome-e084c9c0e7ee1b45676deb4f29bd4bbc7baab86e.zip |
- Add missed .pyo files on pkg-plist
- Add workaround for the problem when importing ncurses.panel earlier
than ncurses.curses module
- Chase the modern bsd.python.mk style.
PR: 39448
Submitted by: Hye-Shik Chang <perky@fallin.lv>
Approved by: maintainer
Diffstat (limited to 'devel/py-ncurses')
-rw-r--r-- | devel/py-ncurses/Makefile | 10 | ||||
-rw-r--r-- | devel/py-ncurses/files/patch-setup.py | 21 | ||||
-rw-r--r-- | devel/py-ncurses/pkg-plist | 35 |
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 |