aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-06-05 13:43:26 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-06-05 13:43:26 +0000
commite9b65bcdab1d5dbc5d853d0a4498fae8d65f2a8d (patch)
treecd35182920f87aee9f620dc6acdc7f39d6bce7a8 /graphics
parent7064722c152d1207893ef4efcbb24344af16c05e (diff)
downloadports-e9b65bcdab1d5dbc5d853d0a4498fae8d65f2a8d.tar.gz
ports-e9b65bcdab1d5dbc5d853d0a4498fae8d65f2a8d.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/py-imaging/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/py-imaging/Makefile b/graphics/py-imaging/Makefile
index f22f2833e3e2..56eabf9ab266 100644
--- a/graphics/py-imaging/Makefile
+++ b/graphics/py-imaging/Makefile
@@ -7,7 +7,7 @@
PORTNAME= imaging
PORTVERSION= 1.1.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics python
MASTER_SITES= http://effbot.org/downloads/ \
http://www.pythonware.net/storage/
@@ -43,6 +43,11 @@ PLIST_SUB+= TKINTER=""
PLIST_SUB+= TKINTER="@comment "
.endif
+.if defined(WITHOUT_TKINTER)
+post-patch:
+ @${REINPLACE_CMD} -e 's|if _tkinter|if None|g' ${WRKSRC}/setup.py
+.endif
+
post-install:
.for file in ImPlatform.h Imaging.h
${INSTALL_DATA} ${WRKSRC}/libImaging/${file} ${PYTHON_INCLUDEDIR}