diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-03-14 12:02:58 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-03-14 12:02:58 +0800 |
commit | 8228164a2dbb4bdaeed4cbb5df2ae6266372f337 (patch) | |
tree | 95d865f07d033c2690c54cba53a22f8b7b163025 | |
parent | c837f6614efc046c4a14e4b7a22cea8ca1c10f89 (diff) | |
download | freebsd-ports-gnome-8228164a2dbb4bdaeed4cbb5df2ae6266372f337.tar.gz freebsd-ports-gnome-8228164a2dbb4bdaeed4cbb5df2ae6266372f337.tar.zst freebsd-ports-gnome-8228164a2dbb4bdaeed4cbb5df2ae6266372f337.zip |
- Add LICENSE
- Strip libraries
-rw-r--r-- | devel/py-ncurses/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/devel/py-ncurses/Makefile b/devel/py-ncurses/Makefile index a8265a35e652..37e7e26187cd 100644 --- a/devel/py-ncurses/Makefile +++ b/devel/py-ncurses/Makefile @@ -3,7 +3,7 @@ PORTNAME= ncurses PORTVERSION= 0.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= SF/py${PORTNAME}/py${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,11 +12,12 @@ DISTNAME= pyncurses-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Ncurses binding for Python +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYRIGHT + USES= python USE_PYTHON= distutils autoplist -.include <bsd.port.pre.mk> - post-patch: .for f in _curses_wrap.c _panel_wrap.c _menu_wrap.c _form_wrap.c @${REINPLACE_CMD} -e '45s,^.*$$,#include "py_curses.h",' \ @@ -25,4 +26,7 @@ post-patch: @${REINPLACE_CMD} -e '/^extern int define_key(/d' \ ${WRKSRC}/ncurses/_curses_wrap.c -.include <bsd.port.post.mk> +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ncurses/*.so + +.include <bsd.port.mk> |