Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Nov 2016 09:00:10 +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: r425596 - in head/math/py-numeric: . files
Message-ID:  <201611070900.uA790AlB039772@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Nov  7 09:00:10 2016
New Revision: 425596
URL: https://svnweb.freebsd.org/changeset/ports/425596

Log:
  - Fix COMMENT
  - Switch to options helpers
  - Regenerate patches

Modified:
  head/math/py-numeric/Makefile
  head/math/py-numeric/files/patch-Src_umathmodule.c

Modified: head/math/py-numeric/Makefile
==============================================================================
--- head/math/py-numeric/Makefile	Mon Nov  7 06:24:37 2016	(r425595)
+++ head/math/py-numeric/Makefile	Mon Nov  7 09:00:10 2016	(r425596)
@@ -13,7 +13,7 @@ DISTFILES=	Numeric-${PORTVERSION}${EXTRA
 EXTRACT_ONLY=	Numeric-${PORTVERSION}${EXTRACT_SUFX}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	The Numeric Extension to Python
+COMMENT=	Numeric Extension to Python
 
 USES=		python
 USE_PYTHON=	distutils autoplist
@@ -27,8 +27,6 @@ PORTEXAMPLES=	*
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-.include <bsd.port.pre.mk>
-
 post-extract:
 	@${CP} ${DISTDIR}/numpy.pdf ${WRKDIR}
 #
@@ -43,13 +41,17 @@ post-extract:
 		${WRKSRC}/setup.py
 
 post-install:
-	${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Numeric -name "*.so" -exec \
+	@${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Numeric -name "*.so" -exec \
 		${STRIP_CMD} {} \;
-	@${INSTALL} -d ${STAGEDIR}${EXAMPLESDIR}
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKDIR}/numpy.pdf ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/Demo/*.py ${STAGEDIR}${EXAMPLESDIR}
-	@${INSTALL} -d ${STAGEDIR}${EXAMPLESDIR}/NumTut
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/NumTut
 	${INSTALL_DATA} ${WRKSRC}/Demo/NumTut/* ${STAGEDIR}${EXAMPLESDIR}/NumTut
-	@${INSTALL} -d ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKDIR}/numpy.pdf ${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/math/py-numeric/files/patch-Src_umathmodule.c
==============================================================================
--- head/math/py-numeric/files/patch-Src_umathmodule.c	Mon Nov  7 06:24:37 2016	(r425595)
+++ head/math/py-numeric/files/patch-Src_umathmodule.c	Mon Nov  7 09:00:10 2016	(r425596)
@@ -1,5 +1,5 @@
---- Src/umathmodule.c.orig	Wed Jan 12 12:45:18 2005
-+++ Src/umathmodule.c	Wed Jan 12 12:45:29 2005
+--- Src/umathmodule.c.orig	2005-04-20 18:48:47 UTC
++++ Src/umathmodule.c
 @@ -1,9 +1,9 @@
  
 +#include <math.h>



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