diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/py-imaging/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/graphics/py-imaging/Makefile b/graphics/py-imaging/Makefile index 821799cbc7c..2749ed75fb3 100644 --- a/graphics/py-imaging/Makefile +++ b/graphics/py-imaging/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2009/02/09 21:09:20 joerg Exp $ +# $NetBSD: Makefile,v 1.33 2009/03/11 21:58:52 wiz Exp $ DISTNAME= Imaging-1.1.6 PKGNAME= ${PYPKGPREFIX}-imaging-1.1.6 @@ -15,6 +15,14 @@ DIST_SUBDIR= python PYDISTUTILSPKG= yes PY_PATCHPLIST= yes +FREETYPE_ROOT= "${BUILDLINK_PREFIX.freetype2}/lib","${BUILDLINK_PREFIX.freetype2}/include" + +SUBST_CLASSES= ft2 +SUBST_SED.ft2= -e "s;FREETYPE_ROOT = None;FREETYPE_ROOT = ${FREETYPE_ROOT:Q};" +SUBST_FILES.ft2= setup.py +SUBST_MESSAGE.ft2= Fixing path to freetype2. +SUBST_STAGE.ft2= pre-configure + INSTALLATION_DIRS= ${PYINC}/PIL post-install: |