diff options
author | wiz <wiz@pkgsrc.org> | 2000-12-28 15:04:47 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2000-12-28 15:04:47 +0000 |
commit | 71c7403ee5804997c367539c2957473c42444fc3 (patch) | |
tree | 93b237c2b0463ba37856f20a1b1332d79b4da27e /graphics/py-imaging/Makefile | |
parent | 9bb3f753b2eeb7d6ed461f77c788d43ad81f63dc (diff) | |
download | pkgsrc-71c7403ee5804997c367539c2957473c42444fc3.tar.gz |
Update to use python 2.0.
Diffstat (limited to 'graphics/py-imaging/Makefile')
-rw-r--r-- | graphics/py-imaging/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/graphics/py-imaging/Makefile b/graphics/py-imaging/Makefile index 59ee08a6616..3650ab8bd38 100644 --- a/graphics/py-imaging/Makefile +++ b/graphics/py-imaging/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2000/01/02 03:36:53 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2000/12/28 15:08:46 wiz Exp $ DISTNAME= Imaging-1.0b1 PKGNAME= py-imaging-1.0b1 @@ -8,7 +8,7 @@ MASTER_SITES= http://www.pythonware.com/downloads/ MAINTAINER= tsarna@netbsd.org HOMEPAGE= http://www.pythonware.com/products/pil/ -DEPENDS+= python-1.5.2:../../lang/python +DEPENDS+= python>=2.0:../../lang/python DEPENDS+= jpeg-6b:../../graphics/jpeg DIST_SUBDIR= python @@ -25,17 +25,17 @@ do-build: (cd ${WRKSRC}/libImaging; ${MAKE}; cd ..; ${MAKE}) post-build: - (cd ${WRKSRC}/PIL; python ${PREFIX}/lib/python1.5/compileall.py .) - (cd ${WRKSRC}/PIL; python -O ${PREFIX}/lib/python1.5/compileall.py .) + (cd ${WRKSRC}/PIL; python ${PREFIX}/lib/python2.0/compileall.py .) + (cd ${WRKSRC}/PIL; python -O ${PREFIX}/lib/python2.0/compileall.py .) post-install: ${INSTALL_SCRIPT} ${WRKSRC}/PIL/*.py ${WRKSRC}/PIL/*.py[co] \ - ${PREFIX}/lib/python1.5/site-packages + ${PREFIX}/lib/python2.0/site-packages ${INSTALL_DATA_DIR} ${PREFIX}/include/PIL ${INSTALL_DATA} ${WRKSRC}/libImaging/*.h ${PREFIX}/include/PIL ${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC} (cd ${WRKSRC}/PIL; ${FIND} . -name \*.py\* -print \ - | ${SED} -e 's,^./,lib/python1.5/site-packages/,g' \ + | ${SED} -e 's,^./,lib/python2.0/site-packages/,g' \ >>${PLIST_SRC}) (cd ${PREFIX}; ${FIND} include/PIL -type f -print >>${PLIST_SRC}) ${ECHO} "@dirrm include/PIL" >>${PLIST_SRC} |