blob: c40366485b21ac4cd5c64690db4450d3599e1061 (
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
|
# $NetBSD: Makefile,v 1.14 2002/09/04 13:06:54 drochner Exp $
DISTNAME= Imaging-1.1.3
PKGNAME= ${PYPKGPREFIX}-imaging-1.1.3
CATEGORIES= graphics
MASTER_SITES= http://www.pythonware.com/downloads/
MAINTAINER= tsarna@netbsd.org
HOMEPAGE= http://www.pythonware.com/products/pil/
COMMENT= PIL, the Python Imaging Library
DIST_SUBDIR= python
PYDISTUTILSPKG= yes
PY_PATCHPLIST= yes
GNU_CONFIGURE= yes
USE_BUILDLINK= yes
do-configure:
(cd ${WRKSRC}/libImaging && ${SETENV} ${CONFIGURE_ENV} ./configure \
${CONFIGURE_ARGS} && ${SETENV} ${MAKE_ENV} ${MAKE})
${SED} "s|@JPEGDIR@|${BUILDLINK_PREFIX.jpeg}|g" <${WRKSRC}/setup.py \
>${WRKSRC}/setup.py.tmp && ${MV} -f ${WRKSRC}/setup.py.tmp \
${WRKSRC}/setup.py
.include "../../lang/python/extension.buildlink.mk"
.include "../../graphics/jpeg/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|