Annotation of pkgsrc/graphics/opencv/Makefile, Revision 1.51
1.51 ! markd 1: # $NetBSD: Makefile,v 1.50 2014/11/27 21:33:27 joerg Exp $
1.1 uebayasi 2:
1.47 ryoon 3: DISTNAME= opencv-2.4.9
1.50 joerg 4: PKGREVISION= 2
1.21 adam 5: CATEGORIES= graphics devel
6: MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opencvlibrary/}
1.47 ryoon 7: EXTRACT_SUFX= .zip
1.21 adam 8:
9: MAINTAINER= anthony.mallet@laas.fr
1.24 wiz 10: HOMEPAGE= http://code.opencv.org/projects/OpenCV/wiki/WikiStart
1.21 adam 11: COMMENT= Library for computer vision problems
12: LICENSE= modified-bsd
1.1 uebayasi 13:
1.11 wiz 14: USE_CMAKE= yes
1.21 adam 15: USE_LANGUAGES= c c++
16: USE_LIBTOOL= yes
1.1 uebayasi 17: USE_PKGLOCALEDIR= yes
1.2 taca 18: USE_TOOLS+= gmake pkg-config
1.25 adam 19:
20: INSTALLATION_DIRS+= share/doc/opencv/papers
21: INSTALLATION_DIRS+= share/doc/opencv/ref/pics
22: INSTALLATION_DIRS+= share/OpenCV/haarcascades
1.1 uebayasi 23:
1.11 wiz 24: PKGCONFIG_OVERRIDE+= opencv.pc.cmake.in
1.1 uebayasi 25:
1.22 markd 26: REPLACE_PYTHON+= samples/python/*.py
27:
28: WRKSRC= ${WRKDIR}/${DISTNAME:S/a$//}
29:
1.23 wiz 30: # includes configure output and paths to gmake etc.
1.25 adam 31: CHECK_WRKREF_SKIP= ${PREFIX}/lib/libopencv_core.*
1.23 wiz 32:
1.22 markd 33: .include "options.mk"
1.1 uebayasi 34:
1.35 joerg 35: .include "../../mk/compiler.mk"
36: .if !empty(PKGSRC_COMPILER:Mclang)
37: CXXFLAGS+= -std=c++11
38: .endif
39:
1.42 adam 40: PLIST_VARS+= opencl
41:
1.51 ! markd 42: .if ${OPSYS} == "Darwin" || ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS" || ${OPSYS} == "Linux"
1.42 adam 43: PLIST.opencl= yes
44: .endif
45:
1.21 adam 46: .include "../../devel/zlib/buildlink3.mk"
47: .include "../../graphics/jasper/buildlink3.mk"
1.25 adam 48: .include "../../graphics/openexr/buildlink3.mk"
1.21 adam 49: .include "../../graphics/png/buildlink3.mk"
50: .include "../../graphics/tiff/buildlink3.mk"
1.13 dsainty 51: .include "../../mk/jpeg.buildlink3.mk"
1.50 joerg 52: .include "../../x11/gtk2/buildlink3.mk"
1.1 uebayasi 53: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>