Rev.1: enable OpenEXR; fix buildling on case-insensitive file-systems; fix installation on Mac OS X
This commit is contained in:
parent
9c52f78ff5
commit
58272f6b21
3 changed files with 10 additions and 8 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue