aboutsummaryrefslogtreecommitdiffstats
path: root/math/py-numeric/Makefile
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2005-07-22 20:52:37 +0800
committertg <tg@FreeBSD.org>2005-07-22 20:52:37 +0800
commitedba76b188bc5f7f30876a5017ad071414e66260 (patch)
treede351683aea5c1731752a2d95de999f4ace4e036 /math/py-numeric/Makefile
parent2cbfb64685b666db199c3d1eab7fe5eb7a272586 (diff)
downloadfreebsd-ports-gnome-edba76b188bc5f7f30876a5017ad071414e66260.tar.gz
freebsd-ports-gnome-edba76b188bc5f7f30876a5017ad071414e66260.tar.zst
freebsd-ports-gnome-edba76b188bc5f7f30876a5017ad071414e66260.zip
Upgrade to 23.8.
Diffstat (limited to 'math/py-numeric/Makefile')
-rw-r--r--math/py-numeric/Makefile29
1 files changed, 20 insertions, 9 deletions
diff --git a/math/py-numeric/Makefile b/math/py-numeric/Makefile
index 5f3b9ac5c4a2..44ac583fe653 100644
--- a/math/py-numeric/Makefile
+++ b/math/py-numeric/Makefile
@@ -6,12 +6,15 @@
#
PORTNAME= numeric
-PORTVERSION= 23.7
+PORTVERSION= 23.8
CATEGORIES= math python
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= numpy
+MASTER_SITES= http://numeric.scipy.org/:doc \
+ ${MASTER_SITE_SOURCEFORGE:S/$/:source/}
+MASTER_SITE_SUBDIR= numpy/:source
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= Numeric-${PORTVERSION}
+DISTFILES= Numeric-${PORTVERSION}${EXTRACT_SUFX}:source \
+ numpy.pdf:doc
+EXTRACT_ONLY= Numeric-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= tg@FreeBSD.org
COMMENT= The Numeric Extension to Python
@@ -19,7 +22,8 @@ COMMENT= The Numeric Extension to Python
USE_PYTHON= yes
USE_PYDISTUTILS=yes
-EXAMPLEDIR= ${PREFIX}/share/examples/py-numeric
+DOCSDIR= ${PREFIX}/share/doc/py-numeric
+EXAMPLESDIR= ${PREFIX}/share/examples/py-numeric
.include <bsd.port.pre.mk>
@@ -30,10 +34,17 @@ pre-fetch:
@${FALSE}
.endif
+post-extract:
+ @${CP} ${DISTDIR}/numpy.pdf ${WRKSRC}
+
post-install:
- @${MKDIR} ${EXAMPLEDIR}
- ${INSTALL_DATA} ${WRKSRC}/Demo/*.py ${EXAMPLEDIR}
- @${MKDIR} ${EXAMPLEDIR}/NumTut
- ${INSTALL_DATA} ${WRKSRC}/Demo/NumTut/* ${EXAMPLEDIR}/NumTut
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Demo/*.py ${EXAMPLESDIR}
+ @${MKDIR} ${EXAMPLESDIR}/NumTut
+ ${INSTALL_DATA} ${WRKSRC}/Demo/NumTut/* ${EXAMPLESDIR}/NumTut
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKDIR}/numpy.pdf ${DOCSDIR}
+.endif
.include <bsd.port.post.mk>