diff options
author | adam <adam@pkgsrc.org> | 2012-06-06 13:56:48 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2012-06-06 13:56:48 +0000 |
commit | 8edec48dc7f0a63ce20f63113b075d3aeec321b4 (patch) | |
tree | cfe26c4007b09265216e5b53427fd5975bf33b36 /graphics/opencv | |
parent | 73fbabb49786807d500514948cb76f069ea63cda (diff) | |
download | pkgsrc-8edec48dc7f0a63ce20f63113b075d3aeec321b4.tar.gz |
Rev.1: enable OpenEXR; fix buildling on case-insensitive file-systems; fix installation on Mac OS X
Diffstat (limited to 'graphics/opencv')
-rw-r--r-- | graphics/opencv/Makefile | 12 | ||||
-rw-r--r-- | graphics/opencv/PLIST | 3 | ||||
-rw-r--r-- | graphics/opencv/options.mk | 3 |
3 files changed, 10 insertions, 8 deletions
diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile index 058943a5181..34f15b4ed84 100644 --- a/graphics/opencv/Makefile +++ b/graphics/opencv/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.24 2012/06/01 20:54:52 wiz Exp $ +# $NetBSD: Makefile,v 1.25 2012/06/06 13:56:48 adam Exp $ DISTNAME= OpenCV-2.4.1 PKGNAME= ${DISTNAME:S/OpenCV/opencv/:S/a$//} +PKGREVISION= 1 CATEGORIES= graphics devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opencvlibrary/} EXTRACT_SUFX= .tar.bz2 @@ -18,8 +19,10 @@ USE_LANGUAGES= c c++ USE_LIBTOOL= yes USE_PKGLOCALEDIR= yes USE_TOOLS+= gmake pkg-config -INSTALLATION_DIRS+= share/doc/opencv/papers share/doc/opencv/ref/pics \ - share/opencv/haarcascades + +INSTALLATION_DIRS+= share/doc/opencv/papers +INSTALLATION_DIRS+= share/doc/opencv/ref/pics +INSTALLATION_DIRS+= share/OpenCV/haarcascades PKGCONFIG_OVERRIDE+= opencv.pc.cmake.in @@ -28,12 +31,13 @@ REPLACE_PYTHON+= samples/python/*.py WRKSRC= ${WRKDIR}/${DISTNAME:S/a$//} # includes configure output and paths to gmake etc. -CHECK_WRKREF_SKIP= ${PREFIX}/lib/libopencv_core.so* +CHECK_WRKREF_SKIP= ${PREFIX}/lib/libopencv_core.* .include "options.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/jasper/buildlink3.mk" +.include "../../graphics/openexr/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" .include "../../graphics/tiff/buildlink3.mk" .if ${OPSYS} != "Darwin" diff --git a/graphics/opencv/PLIST b/graphics/opencv/PLIST index bd4317de0d9..809f5d1fe64 100644 --- a/graphics/opencv/PLIST +++ b/graphics/opencv/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.7 2012/06/01 20:53:56 wiz Exp $ +@comment $NetBSD: PLIST,v 1.8 2012/06/06 13:56:48 adam Exp $ bin/opencv_createsamples bin/opencv_haartraining bin/opencv_performance @@ -215,6 +215,5 @@ share/OpenCV/haarcascades/haarcascade_profileface.xml share/OpenCV/haarcascades/haarcascade_righteye_2splits.xml share/OpenCV/haarcascades/haarcascade_upperbody.xml share/OpenCV/lbpcascades/lbpcascade_frontalface.xml -@pkgdir share/opencv/haarcascades @pkgdir share/doc/opencv/ref/pics @pkgdir share/doc/opencv/papers diff --git a/graphics/opencv/options.mk b/graphics/opencv/options.mk index 45322177a62..fec4bf18b9f 100644 --- a/graphics/opencv/options.mk +++ b/graphics/opencv/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.1 2012/04/15 03:49:00 markd Exp $ +# $NetBSD: options.mk,v 1.2 2012/06/06 13:56:48 adam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.opencv PKG_SUPPORTED_OPTIONS= python @@ -17,5 +17,4 @@ CMAKE_ARGS+= -D BUILD_NEW_PYTHON_SUPPORT=OFF .endif # FIXME: should be option.mk'ed instead -CMAKE_ARGS+= -D WITH_OPENEXR:BOOL=OFF CMAKE_ARGS+= -D BUILD_DOXYGEN_DOCS=OFF |