aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/py-willow/Makefile
blob: 2c57d139d399719a44d528cd9bcd1f57dfbab9f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>

PORTNAME=   willow
PORTVERSION=    1.4
PORTREVISION=   1
CATEGORIES= graphics python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   Willow-${PORTVERSION}

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Wrapper that combines multiple Python image libraries into one API

LICENSE=    BSD3CLAUSE
LICENSE_FILE=   ${WRKSRC}/LICENSE

USES=       python:3.5+
USE_PYTHON= autoplist concurrent distutils

NO_ARCH=    yes

OPTIONS_MULTI=  BACKEND
OPTIONS_MULTI_BACKEND=  PILLOW WAND OPENCV
OPTIONS_DEFAULT=PILLOW
OPENCV_DESC=    Use OpenCV as backend
PILLOW_DESC=    Use Pillow as backend
WAND_DESC=  Use Wand as backend

OPENCV_RUN_DEPENDS= opencv>=0:graphics/opencv
PILLOW_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR}
WAND_RUN_DEPENDS=   ${PYTHON_PKGNAMEPREFIX}wand>=0:graphics/py-wand@${PY_FLAVOR}

.include <bsd.port.mk>