c487cb967a
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
34 lines
1,011 B
Makefile
34 lines
1,011 B
Makefile
# $NetBSD: Makefile,v 1.22 2004/10/03 00:14:57 tv Exp $
|
|
|
|
DISTNAME= Imaging-1.1.4
|
|
PKGNAME= ${PYPKGPREFIX}-imaging-1.1.4
|
|
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
|
|
|
|
DIST_SUBDIR= python
|
|
PYDISTUTILSPKG= yes
|
|
PY_PATCHPLIST= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_BUILDLINK3= 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
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/${PYINC}/PIL
|
|
(cd ${WRKSRC}/libImaging; ${INSTALL_DATA} \
|
|
ImConfig.h ImPlatform.h Imaging.h \
|
|
${PREFIX}/${PYINC}/PIL )
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|