Update audio/kid3-kde4 to version 3.1_3
[dports.git] / graphics / rubygem-objectdetect / Makefile
1 # Created by: TAKATSU Tomonari <tota@rtfm.jp>
2 # $FreeBSD$
3
4 PORTNAME=       objectdetect
5 PORTVERSION=    0.0.3
6 PORTREVISION=   7
7 CATEGORIES=     graphics rubygems
8 MASTER_SITES=   RG
9
10 MAINTAINER=     tota@FreeBSD.org
11 COMMENT=        Simple library for detecting objects in pictures
12
13 LICENSE=        MIT
14
15 LIB_DEPENDS=    libopencv_legacy.so:${PORTSDIR}/graphics/opencv
16
17 USES=           pkgconfig
18 USE_RUBY=       yes
19 USE_RUBYGEMS=   yes
20 RUBYGEM_AUTOPLIST=      yes
21
22 .include <bsd.port.pre.mk>
23
24 .if ${OSVERSION} < 700000
25 BROKEN=         does not compile on 6.X
26 .endif
27
28 post-patch:
29         ${REINPLACE_CMD} -E 's|(objectdetect)|\1/version|' ${WRKSRC}/test/test_helper.rb
30
31 .include <bsd.port.post.mk>