summaryrefslogtreecommitdiff
path: root/graphics/opencv/Makefile
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2006-11-09 05:13:41 +0000
committeruebayasi <uebayasi@pkgsrc.org>2006-11-09 05:13:41 +0000
commitd657bca4faeaf246bdc694e333a508b615729194 (patch)
tree667237acd968782d9a34fef87e9b63281487dbef /graphics/opencv/Makefile
parent3911155e2f241c276d7b5c75b32ccfd68c6a6627 (diff)
downloadpkgsrc-d657bca4faeaf246bdc694e333a508b615729194.tar.gz
Import OpenCV 1.0.0, pkg/34655 from Anthony Mallet.
OpenCV means Intel(R) Open Source Computer Vision Library. It is a collection of C functions and a few C++ classes that implement many popular Image Processing and Computer Vision algorithms. OpenCV provides cross-platform middle-to-high level API that includes about 300 C functions and a few C++ classes. Also there are Python bindings to OpenCV. OpenCV has no strict dependencies on external libraries, though it can use some (such as libjpeg, ffmpeg, GTK+ etc.) OpenCV provides transparent interface to Intel(R) Integrated Performance Primitives (IPP). That is, it loads automatically IPP libraries optimized for specific processor at runtime, if they are available.
Diffstat (limited to 'graphics/opencv/Makefile')
-rw-r--r--graphics/opencv/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile
new file mode 100644
index 00000000000..dd87b393262
--- /dev/null
+++ b/graphics/opencv/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/11/09 05:13:41 uebayasi Exp $
+#
+
+DISTNAME= opencv-1.0.0
+CATEGORIES= graphics devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opencvlibrary/}
+
+MAINTAINER= anthony.mallet@laas.fr
+HOMEPAGE= http://opencvlibrary.sourceforge.net/
+COMMENT= Library for computer vision problems
+
+USE_PKGLOCALEDIR= yes
+USE_TOOLS+= gmake automake autoconf pkg-config
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+AUTOMAKE_REQD= 1.9
+INSTALLATION_DIRS+= share/doc/opencv/papers share/doc/opencv/ref/pics \
+ share/opencv/haarcascades
+
+GNU_CONFIGURE= yes
+PKGCONFIG_OVERRIDE+= opencv.pc.in
+
+CONFIGURE_ARGS+=--with-swig=no
+CONFIGURE_ARGS+=--with-python=no
+
+pre-configure:
+ cd ${WRKSRC}; \
+ automake -a --foreign -i; autoconf
+
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"