aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/py-imageio24/Makefile
blob: 3f7fbe76b0bd7fa599e5cdb689b65ba8b2c321c6 (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
34
35
36
37
38
# $FreeBSD$

PORTNAME=   imageio
DISTVERSION=    2.4.1
PORTREVISION=   5
CATEGORIES= graphics python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX=  24

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Python library for reading and writing image, video formats

LICENSE=    BSD2CLAUSE
LICENSE_FILE=   ${WRKSRC}/LICENSE

LIB_DEPENDS=    libfreeimage.so:graphics/freeimage
RUN_DEPENDS=    ffmpeg:multimedia/ffmpeg \
        ${PY_ENUM34} \
        ${PY_FUTURES} \
        ${PYNUMPY}

USES=       python
USE_PYTHON= distutils concurrent autoplist

NO_ARCH=    yes

PORTSCOUT=  limit:^2\.4\.

.include <bsd.port.pre.mk>

.if ${PYTHON_REL} < 3500
RUN_DEPENDS+=   ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR}
.else
RUN_DEPENDS+=   ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR}
.endif

.include <bsd.port.post.mk>