aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/py-opencv/Makefile
blob: 54695d090c5174c03ab8727c925f01f741cb3688 (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
# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$

PORTREVISION=   2
CATEGORIES= graphics python
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

COMMENT=    OpenCV Python library

OCV_SLAVE=  python
OCV_PYTHON= yes
MASTERDIR=  ${.CURDIR:H}/opencv
PLIST=      ${.CURDIR}/pkg-plist

.if defined(PYTHON_REL) && ${PYTHON_REL} >= 320
PLIST_SUB+= PYTHON3="" \
        PYTHON2="@comment " \
        PYTHON_SUFFIX="${PYTHON_SUFFIX}"
.else
PLIST_SUB+= PYTHON3="@comment " \
        PYTHON2=""
.endif

.include "${MASTERDIR}/Makefile"