[BACK]Return to buildlink2.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / graphics / py-imaging

File: [cvs.NetBSD.org] / pkgsrc / graphics / py-imaging / Attic / buildlink2.mk (download)

Revision 1.4, Mon Mar 29 05:05:39 2004 UTC (15 years, 6 months ago) by jlam
Branch: MAIN
Changes since 1.3: +3 -2 lines

Add a BUILDLINK_PKGBASE.<pkg> definition where it's not equal to <pkg>,
e.g. "BUILDLINK_PKGBASE.gtk?= gtk+".  This is mandated by the example
buildlink[23].mk files in bsd.buildlink[23].mk.

# $NetBSD: buildlink2.mk,v 1.4 2004/03/29 05:05:39 jlam Exp $

.include "../../lang/python/pyversion.mk"

BUILDLINK_PACKAGES+=		pyimaging
BUILDLINK_PKGBASE.pyimaging?=	${PYPKGPREFIX}-imaging
BUILDLINK_DEPENDS.pyimaging?=	${PYPKGPREFIX}-imaging-[0-9]*
BUILDLINK_PKGSRCDIR.pyimaging?=	../../graphics/py-imaging

EVAL_PREFIX+=	BUILDLINK_PREFIX.pyimaging=${PYPKGPREFIX}-imaging
BUILDLINK_PREFIX.pyimaging_DEFAULT=	${LOCALBASE}

BUILDLINK_FILES.pyimaging=	${PYINC}/PIL/ImConfig.h
BUILDLINK_FILES.pyimaging+=	${PYINC}/PIL/ImPlatform.h
BUILDLINK_FILES.pyimaging+=	${PYINC}/PIL/Imaging.h

BUILDLINK_TARGETS+=	pyimaging-buildlink

pyimaging-buildlink: _BUILDLINK_USE