Changeset View
Changeset View
Standalone View
Standalone View
graphics/py-opencv/Makefile
# Created by: Martin Matuska <mm@FreeBSD.org> | # Created by: Martin Matuska <mm@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTREVISION= 2 | PORTREVISION= 2 | ||||
CATEGORIES= graphics python | CATEGORIES= graphics python | ||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||||
COMMENT= OpenCV Python library | COMMENT= OpenCV Python library | ||||
OCV_SLAVE= python | OCV_SLAVE= python | ||||
OCV_PYTHON= yes | OCV_PYTHON= yes | ||||
MASTERDIR= ${.CURDIR:H}/opencv | MASTERDIR= ${.CURDIR:H}/opencv | ||||
PLIST= ${.CURDIR}/pkg-plist | PLIST= ${.CURDIR}/pkg-plist | ||||
.if defined(PYTHON_REL) && ${PYTHON_REL} >= 320 | .if defined(PYTHON_REL) && ${PYTHON_REL} >= 3200 | ||||
PLIST_SUB+= PYTHON3="" \ | PLIST_SUB+= PYTHON3="" \ | ||||
PYTHON2="@comment " \ | PYTHON2="@comment " \ | ||||
PYTHON_SUFFIX="${PYTHON_SUFFIX}" | PYTHON_SUFFIX="${PYTHON_SUFFIX}" | ||||
.else | .else | ||||
PLIST_SUB+= PYTHON3="@comment " \ | PLIST_SUB+= PYTHON3="@comment " \ | ||||
PYTHON2="" | PYTHON2="" | ||||
.endif | .endif | ||||
.include "${MASTERDIR}/Makefile" | .include "${MASTERDIR}/Makefile" |