diff options
author | Thomas Gellekum <tg@FreeBSD.org> | 2002-01-09 12:25:54 +0000 |
---|---|---|
committer | Thomas Gellekum <tg@FreeBSD.org> | 2002-01-09 12:25:54 +0000 |
commit | e7e7c3efbcbab947a2e5b389635bc7840b598275 (patch) | |
tree | 220c96214badbc3caf491fcf825bdf896402bd9c /math/py-numeric/Makefile | |
parent | 2f1ac14b4a88ac27434a137ee212a4fe4040cd5b (diff) | |
download | ports-e7e7c3efbcbab947a2e5b389635bc7840b598275.tar.gz ports-e7e7c3efbcbab947a2e5b389635bc7840b598275.zip |
Notes
Diffstat (limited to 'math/py-numeric/Makefile')
-rw-r--r-- | math/py-numeric/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/math/py-numeric/Makefile b/math/py-numeric/Makefile index cdf6c9f405a5..11e8e0c79728 100644 --- a/math/py-numeric/Makefile +++ b/math/py-numeric/Makefile @@ -6,7 +6,7 @@ # PORTNAME= numeric -PORTVERSION= 20.2.1 +PORTVERSION= 20.3 CATEGORIES= math python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= numpy @@ -18,11 +18,19 @@ MAINTAINER= tg@FreeBSD.org BUILD_DEPENDS= ${PYDISTUTILS} USE_PYTHON= yes -PYTHON_VERSION= python2.1 DOCDIR= ${PREFIX}/share/doc/py-numeric EXAMPLEDIR= ${PREFIX}/share/examples/py-numeric +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 200 +.BEGIN: + @${ECHO} "Py-numeric doesn't work with Python versions < 2.0." + @${ECHO} "Please use the py-numeric17 port for these." + @${FALSE} +.endif + do-build: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup_all.py build @@ -40,4 +48,4 @@ post-install: # ${INSTALL_DATA} ${WRKSRC}/Doc/numpy.pdf ${DOCDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |