1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/graphics/py-opencv/Makefile
2014-09-16 10:56:13 +00:00

25 lines
496 B
Makefile

# 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"