blob: c6ee78b2ee67d22411ac84eed33744676c9ab09a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $NetBSD: Makefile,v 1.34 2009/08/26 19:56:42 sno Exp $
DISTNAME= Imaging-1.1.6
PKGNAME= ${PYPKGPREFIX}-imaging-1.1.6
PKGREVISION= 1
CATEGORIES= graphics python
MASTER_SITES= http://effbot.org/downloads/
MAINTAINER= tsarna@NetBSD.org
HOMEPAGE= http://www.pythonware.com/products/pil/
COMMENT= PIL, the Python Imaging Library
PKG_DESTDIR_SUPPORT= user-destdir
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:
${INSTALL_DATA} ${WRKSRC}/libImaging/ImPlatform.h ${DESTDIR}${PREFIX}/${PYINC}/PIL
${INSTALL_DATA} ${WRKSRC}/libImaging/Imaging.h ${DESTDIR}${PREFIX}/${PYINC}/PIL
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|