summaryrefslogtreecommitdiff
path: root/math/py-numarray
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
committerjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
commit841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch)
treefdd67c81079412bf94013749a954125434a9baca /math/py-numarray
parent6874584eae20f517f70816571f6d4ac696db16b3 (diff)
downloadpkgsrc-841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a.tar.gz
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'math/py-numarray')
-rw-r--r--math/py-numarray/Makefile7
-rw-r--r--math/py-numarray/PLIST4
2 files changed, 5 insertions, 6 deletions
diff --git a/math/py-numarray/Makefile b/math/py-numarray/Makefile
index c7b5a5f8c77..58f8b704bce 100644
--- a/math/py-numarray/Makefile
+++ b/math/py-numarray/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/10/17 14:25:43 drochner Exp $
+# $NetBSD: Makefile,v 1.13 2008/04/12 22:43:04 jlam Exp $
#
DISTNAME= numarray-1.5.2
@@ -13,11 +13,10 @@ COMMENT= Array manipulation
PYDISTUTILSPKG= yes
PYTHON_VERSIONS_ACCEPTED= 24 23 22
+PLIST_VARS+= blas
.if exists(/System/Library/Frameworks/vecLib.framework/Headers)
BUILDLINK_PASSTHRU_DIRS+= /System/Library/Frameworks/vecLib.framework/Headers
-PLIST_SUBST+= DOTBLAS=""
-.else
-PLIST_SUBST+= DOTBLAS="@comment "
+PLIST.blas= yes
.endif
do-test:
diff --git a/math/py-numarray/PLIST b/math/py-numarray/PLIST
index fee92efb2a6..2623f8d61a4 100644
--- a/math/py-numarray/PLIST
+++ b/math/py-numarray/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2006/03/08 17:21:34 minskim Exp $
+@comment $NetBSD: PLIST,v 1.9 2008/04/12 22:43:04 jlam Exp $
${PYINC}/numarray/arraybase.h
${PYINC}/numarray/arrayif.h
${PYINC}/numarray/arrayobject.h
@@ -20,7 +20,7 @@ ${PYSITELIB}/numarray/_bytes.so
${PYSITELIB}/numarray/_chararray.so
${PYSITELIB}/numarray/_conv.so
${PYSITELIB}/numarray/_converter.so
-${DOTBLAS}${PYSITELIB}/numarray/_dotblas.so
+${PLIST.blas}${PYSITELIB}/numarray/_dotblas.so
${PYSITELIB}/numarray/_ndarray.so
${PYSITELIB}/numarray/_numarray.so
${PYSITELIB}/numarray/_numerictype.so