diff --git a/graphics/py-pillow/Makefile b/graphics/py-pillow/Makefile index 55f7804be11c..fb8cda739cc3 100644 --- a/graphics/py-pillow/Makefile +++ b/graphics/py-pillow/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= pillow -PORTVERSION= 2.4.0 +PORTVERSION= 2.5.1 CATEGORIES= graphics python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME:C/p/P/}-${PORTVERSION} @@ -15,15 +15,17 @@ LICENSE_NAME= Standard PIL License LICENSE_FILE= ${WRKSRC}/docs/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -OPTIONS_DEFINE= FREETYPE JPEG LCMS PNG TIFF WEBP -OPTIONS_DEFAULT= JPEG PNG +OPTIONS_DEFINE= FREETYPE JPEG LCMS PNG TIFF TKINTER WEBP +OPTIONS_DEFAULT= FREETYPE JPEG PNG LCMS_DESC= Little Color Management System +TKINTER_DESC= Tkinter (Tcl/Tk) BitmapImage & PhotoImage support FREETYPE_LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 JPEG_LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg LCMS_LIB_DEPENDS= liblcms2.so:${PORTSDIR}/graphics/lcms2 TIFF_LIB_DEPENDs= libtiff.so:${PORTSDIR}/graphics/tiff +TKINTER_USES= tk:build WEBP_LIB_DEPENDS= libwebp.so:${PORTSDIR}/graphics/webp USE_GITHUB= yes @@ -35,7 +37,7 @@ PYDISTUTILS_BUILD_TARGET= build_ext GH_ACCOUNT= python-pillow GH_PROJECT= ${PORTNAME:C/p/P/} -GH_COMMIT= 72de37c +GH_COMMIT= 1ab78b8 CONFLICTS_INSTALL= py*-imaging-* @@ -71,6 +73,13 @@ PYDISTUTILS_BUILDARGS+= --enable-tiff PYDISTUTILS_BUILDARGS+= --disable-tiff .endif +.if ${PORT_OPTIONS:MTKINTER} +PYDISTUTILS_BUILDARGS+= --enable-tcl --enable-tk \ + --include-dirs=${TCL_INCLUDEDIR}:${TK_INCLUDEDIR} +.else +PYDISTUTILS_BUILDARGS+= --disable-tcl --disable-tk +.endif + .if ${PORT_OPTIONS:MWEBP} PYDISTUTILS_BUILDARGS+= --enable-webp .else diff --git a/graphics/py-pillow/distinfo b/graphics/py-pillow/distinfo index 11b6d5469fb0..238375c383ab 100644 --- a/graphics/py-pillow/distinfo +++ b/graphics/py-pillow/distinfo @@ -1,2 +1,2 @@ -SHA256 (Pillow-2.4.0.tar.gz) = 5eef8463eab73d0efe0cd4f7a6833926862f86411994ef7801646d614fdce0c2 -SIZE (Pillow-2.4.0.tar.gz) = 6201074 +SHA256 (Pillow-2.5.1.tar.gz) = e7934f86705a7054e3c117ab1295d612b2aa34f4cfa4d61bd88e544e9a544a13 +SIZE (Pillow-2.5.1.tar.gz) = 6528250