diff options
author | jlam <jlam@pkgsrc.org> | 2002-09-22 10:29:18 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-09-22 10:29:18 +0000 |
commit | 86cd651f41801dd59e793a8d120beac6bd7f94a1 (patch) | |
tree | 81e994f431561677c08e322294e7d79c9f6fa89e /math | |
parent | 9e7a2219dd474d7af6a390cc94849409e1dad7f1 (diff) | |
download | pkgsrc-86cd651f41801dd59e793a8d120beac6bd7f94a1.tar.gz |
Follow the guidelines set forth in bsd.buildlink2.mk for making a
buildlink2.mk file. This package installs headers, so we need to define a
BUILDLINK_FILES variable for them.
Diffstat (limited to 'math')
-rw-r--r-- | math/py-Numeric/buildlink2.mk | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/math/py-Numeric/buildlink2.mk b/math/py-Numeric/buildlink2.mk index da60e44f469..0cd7212433a 100644 --- a/math/py-Numeric/buildlink2.mk +++ b/math/py-Numeric/buildlink2.mk @@ -1,7 +1,23 @@ -# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:23:08 jlam Exp $ +# $NetBSD: buildlink2.mk,v 1.3 2002/09/22 10:29:18 jlam Exp $ + +.if !defined(PY_NUMERIC_BUILDLINK2_MK) +PY_NUMERIC_BUILDLINK2_MK= # defined .include "../../lang/python/pyversion.mk" BUILDLINK_PACKAGES+= pynumeric BUILDLINK_DEPENDS.pynumeric?= ${PYPKGPREFIX}-Numeric-* BUILDLINK_PKGSRCDIR.pynumeric?= ../../math/py-Numeric + +EVAL_PREFIX+= BUILDLINK_PREFIX.pynumeric=pynumeric +BUILDLINK_PREFIX.pynumeric_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.pynumeric= ${PYINC}/Numeric/arrayobject.h +BUILDLINK_FILES.pynumeric+= ${PYINC}/Numeric/f2c.h +BUILDLINK_FILES.pynumeric+= ${PYINC}/Numeric/ranlib.h +BUILDLINK_FILES.pynumeric+= ${PYINC}/Numeric/ufuncobject.h + +BUILDLINK_TARGETS+= pynumeric-buildlink + +pynumeric-buildlink: _BUILDLINK_USE + +.endif # PY_NUMERIC_BUILDLINK2_MK |