- Fix problems with the tkinter knop

- Bump PORTREVISION

PR:		113040
Submitted by:	Marcus von Appen<mva@sysfault.org>
Approved by:	maintainer
This commit is contained in:
Martin Wilke 2007-06-05 13:43:26 +00:00
parent 7064722c15
commit e9b65bcdab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=192846

View file

@ -7,7 +7,7 @@
PORTNAME= imaging PORTNAME= imaging
PORTVERSION= 1.1.6 PORTVERSION= 1.1.6
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= graphics python CATEGORIES= graphics python
MASTER_SITES= http://effbot.org/downloads/ \ MASTER_SITES= http://effbot.org/downloads/ \
http://www.pythonware.net/storage/ http://www.pythonware.net/storage/
@ -43,6 +43,11 @@ PLIST_SUB+= TKINTER=""
PLIST_SUB+= TKINTER="@comment " PLIST_SUB+= TKINTER="@comment "
.endif .endif
.if defined(WITHOUT_TKINTER)
post-patch:
@${REINPLACE_CMD} -e 's|if _tkinter|if None|g' ${WRKSRC}/setup.py
.endif
post-install: post-install:
.for file in ImPlatform.h Imaging.h .for file in ImPlatform.h Imaging.h
${INSTALL_DATA} ${WRKSRC}/libImaging/${file} ${PYTHON_INCLUDEDIR} ${INSTALL_DATA} ${WRKSRC}/libImaging/${file} ${PYTHON_INCLUDEDIR}