- Revert options helpers to if statements since the OFF condition is not applied when OPTIONS_EXCLUDE is used - Move most of the OpenCV modules from the graphics/opencv-core port to graphics/opencv, leaving opencv-core as just the bare minimum required for building ffmpeg with OpenCV support - Install examples for python and java bindings - Add new slave port graphics/opencv-java: Java bindings for OpenCV - Bump PORTREVISION and make dependency adjustments and fixes for dependent ports - Add UPDATING entry
32 lines
634 B
Makefile
32 lines
634 B
Makefile
# Created by: TAKATSU Tomonari <tota@rtfm.jp>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= objectdetect
|
|
PORTVERSION= 0.0.3
|
|
PORTREVISION= 7
|
|
CATEGORIES= graphics rubygems
|
|
MASTER_SITES= RG
|
|
|
|
MAINTAINER= tota@FreeBSD.org
|
|
COMMENT= Simple library for detecting objects in pictures
|
|
|
|
LICENSE= MIT
|
|
|
|
LIB_DEPENDS= libopencv_legacy.so:${PORTSDIR}/graphics/opencv
|
|
|
|
USES= pkgconfig
|
|
USE_RUBY= yes
|
|
USE_RUBYGEMS= yes
|
|
RUBYGEM_AUTOPLIST= yes
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 700000
|
|
BROKEN= does not compile on 6.X
|
|
.endif
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -E 's|(objectdetect)|\1/version|' ${WRKSRC}/test/test_helper.rb
|
|
|
|
.include <bsd.port.post.mk>
|