pkgsrc/graphics/py-imagingtk/Makefile
2013-06-13 14:26:14 +00:00

33 lines
990 B
Makefile

# $NetBSD: Makefile,v 1.32 2013/06/13 14:26:14 joerg Exp $
DISTNAME= Imaging-1.1.7
PKGNAME= ${PYPKGPREFIX}-imagingtk-1.1.7
PKGREVISION= 5
CATEGORIES= graphics python
MASTER_SITES= http://effbot.org/downloads/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.pythonware.com/products/pil/
COMMENT= Tk support for the Python Imaging Library (PIL)
DEPENDS+= ${PYPKGPREFIX}-Tk-[0-9]*:../../x11/py-Tk
DIST_SUBDIR= python
PYDISTUTILSPKG= yes
BUILDLINK_API_DEPENDS.python20+= python20>=2.0.1nb4
PY_PATCHPLIST= yes
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX:Q}
post-install:
${INSTALL_DATA_DIR} \
${DESTDIR}${PREFIX}/share/examples/${PYPKGPREFIX}-imaging
(cd ${WRKSRC}/Scripts; \
${INSTALL_DATA} enhancer.py painter.py player.py \
thresholder.py viewer.py \
${DESTDIR}${PREFIX}/share/examples/${PYPKGPREFIX}-imaging )
.include "../../lang/python/extension.mk"
.include "../../graphics/py-imaging/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"