33 lines
1 KiB
Makefile
33 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.41 2018/03/12 11:16:49 wiz Exp $
|
|
|
|
DISTNAME= Imaging-1.1.7
|
|
PKGNAME= ${PYPKGPREFIX}-imagingtk-1.1.7
|
|
PKGREVISION= 8
|
|
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
|
|
EGG_NAME= ${DISTNAME:S/Imaging/PIL/}
|
|
PY_NO_EGG= yes # same egg installed by py-imaging
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # py-imaging
|
|
|
|
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
|
|
|
|
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/distutils.mk"
|
|
.include "../../graphics/py-imaging/buildlink3.mk"
|
|
.include "../../x11/tk/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|