aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-opencv
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2013-12-04 02:51:00 +0000
committerJason E. Hale <jhale@FreeBSD.org>2013-12-04 02:51:00 +0000
commit3a64305d4341059497ca0e73cad7dae1496e2b02 (patch)
tree3dd64f0c809f9e8c1a80871241444471c0db3540 /graphics/py-opencv
parentbcabd79d961fab3f4a458aa38398a77d7bb2e1f4 (diff)
downloadports-3a64305d4341059497ca0e73cad7dae1496e2b02.tar.gz
ports-3a64305d4341059497ca0e73cad7dae1496e2b02.zip
Notes
Diffstat (limited to 'graphics/py-opencv')
-rw-r--r--graphics/py-opencv/Makefile13
-rw-r--r--graphics/py-opencv/pkg-plist2
2 files changed, 12 insertions, 3 deletions
diff --git a/graphics/py-opencv/Makefile b/graphics/py-opencv/Makefile
index ea3773a43852..e7bdf3c8ecaf 100644
--- a/graphics/py-opencv/Makefile
+++ b/graphics/py-opencv/Makefile
@@ -1,8 +1,15 @@
# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$
-_BUILDING_OPENCV_PYTHON= yes
-MASTERDIR= ${.CURDIR}/../opencv
+PORTREVISION= 0
+CATEGORIES= graphics python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+COMMENT= OpenCV Python library
+
+OCV_SLAVE= python
+OCV_PYTHON= yes
+MASTERDIR= ${.CURDIR:H}/opencv
+PLIST= ${.CURDIR}/pkg-plist
-NO_STAGE= yes
.include "${MASTERDIR}/Makefile"
diff --git a/graphics/py-opencv/pkg-plist b/graphics/py-opencv/pkg-plist
new file mode 100644
index 000000000000..43896397c33d
--- /dev/null
+++ b/graphics/py-opencv/pkg-plist
@@ -0,0 +1,2 @@
+%%PYTHON_SITELIBDIR%%/cv.py
+%%PYTHON_SITELIBDIR%%/cv2.so