summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/py-pillow/Makefile7
-rw-r--r--graphics/py3-pillow/Makefile11
3 files changed, 15 insertions, 4 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 90a6e6041f6e..9906bb7b5e99 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -881,6 +881,7 @@
SUBDIR += py-wand
SUBDIR += py-webcolors
SUBDIR += py3-cairo
+ SUBDIR += py3-pillow
SUBDIR += pygts
SUBDIR += pymorph
SUBDIR += pysvg
diff --git a/graphics/py-pillow/Makefile b/graphics/py-pillow/Makefile
index 940c3edba2b3..4f74ac22711f 100644
--- a/graphics/py-pillow/Makefile
+++ b/graphics/py-pillow/Makefile
@@ -41,8 +41,8 @@ TIFF_VARS= PYDISTUTILS_BUILDARGS+=--enable-tiff
TIFF_VARS_OFF= PYDISTUTILS_BUILDARGS+=--disable-tiff
TKINTER_USES= tk
-TKINTER_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter
-TKINTER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter
+TKINTER_BUILD_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter
+TKINTER_RUN_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter
TKINTER_VARS= PYDISTUTILS_BUILDARGS+="--enable-tcl --enable-tk --include-dirs=${TCL_INCLUDEDIR}:${TK_INCLUDEDIR}"
TKINTER_VARS_OFF= PYDISTUTILS_BUILDARGS+="--disable-tcl --disable-tk"
@@ -50,9 +50,8 @@ WEBP_LIB_DEPENDS= libwebp.so:graphics/webp
WEBP_VARS= PYDISTUTILS_BUILDARGS+=--enable-webp
WEBP_VARS_OFF= PYDISTUTILS_BUILDARGS+=--disable-webp
-USES= cpe python
+USES?= cpe python
USE_GITHUB= yes
-USES= python
USE_PYTHON= autoplist concurrent distutils
GH_ACCOUNT= python-${PORTNAME}
diff --git a/graphics/py3-pillow/Makefile b/graphics/py3-pillow/Makefile
new file mode 100644
index 000000000000..d95a17090886
--- /dev/null
+++ b/graphics/py3-pillow/Makefile
@@ -0,0 +1,11 @@
+# Created by: Ben Woods <woodsb02@FreeBSD.org>
+# $FreeBSD$
+
+MASTERDIR= ${.CURDIR}/../py-pillow
+
+TKINTER_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/${PYTHON_PKGNAMEPREFIX}tkinter
+TKINTER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/${PYTHON_PKGNAMEPREFIX}tkinter
+
+USES= cpe python:3.2+
+
+.include "${MASTERDIR}/Makefile"