Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Mar 2015 04:02:59 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r381241 - head/devel/py-ncurses
Message-ID:  <201503140402.t2E42xLx005358@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Mar 14 04:02:58 2015
New Revision: 381241
URL: https://svnweb.freebsd.org/changeset/ports/381241
QAT: https://qat.redports.org/buildarchive/r381241/

Log:
  - Add LICENSE
  - Strip libraries

Modified:
  head/devel/py-ncurses/Makefile

Modified: head/devel/py-ncurses/Makefile
==============================================================================
--- head/devel/py-ncurses/Makefile	Sat Mar 14 04:02:51 2015	(r381240)
+++ head/devel/py-ncurses/Makefile	Sat Mar 14 04:02:58 2015	(r381241)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503140402.t2E42xLx005358>