1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup cmake 1.0 |
---|
6 | |
---|
7 | name opencv |
---|
8 | version 2.1.0 |
---|
9 | revision 0 |
---|
10 | |
---|
11 | categories graphics science |
---|
12 | platforms darwin |
---|
13 | maintainers gmail.com:stante openmaintainer |
---|
14 | |
---|
15 | description Intel(R) Open Source Computer Vision Library |
---|
16 | |
---|
17 | long_description OpenCV is a library that is mainly aimed at real time \ |
---|
18 | computer vision. Some example areas would be \ |
---|
19 | Human-Computer Interaction (HCI), Object Identification, \ |
---|
20 | Segmentation and Recognition, Face Recognition, Gesture \ |
---|
21 | Recognition, Motion Tracking, Ego Motion, Motion \ |
---|
22 | Understanding, Structure From Motion (SFM), and Mobile \ |
---|
23 | Robotics. |
---|
24 | |
---|
25 | homepage http://opencv.willowgarage.com/wiki/ |
---|
26 | master_sites sourceforge:opencvlibrary |
---|
27 | use_bzip2 yes |
---|
28 | distname OpenCV-${version} |
---|
29 | |
---|
30 | checksums md5 1d71584fb4e04214c0085108f95e24c8 \ |
---|
31 | sha1 8e2d6b653296364ab2ca0fa5a5e6b0edfca114a7 \ |
---|
32 | rmd160 e31cdbd30e7925e3725f5957616ffc59c58db247 |
---|
33 | |
---|
34 | depends_build-append \ |
---|
35 | port:pkgconfig |
---|
36 | |
---|
37 | depends_lib-append \ |
---|
38 | port:python26 \ |
---|
39 | port:ffmpeg |
---|
40 | |
---|
41 | patchfiles patch-CMakeLists.txt.diff \ |
---|
42 | patch-interfaces_python_CMakeLists.txt.diff |
---|
43 | |
---|
44 | post-patch { |
---|
45 | reinplace "s|@@PYTHON_PKGD@@|${frameworks_dir}/Python.framework/Versions/2.6/lib/python2.6/site-packages|g" ${worksrcpath}/CMakeLists.txt |
---|
46 | reinplace "s|@@FRAMEWORKS_DIR@@|${frameworks_dir}|g" ${worksrcpath}/interfaces/python/CMakeLists.txt |
---|
47 | } |
---|
48 | |
---|
49 | livecheck.type regex |
---|
50 | livecheck.url http://sourceforge.net/projects/opencvlibrary/files/ |
---|
51 | livecheck.regex "OpenCV-(\\d+(?:\\.\\d+)*)${extract.suffix}/download" |
---|