aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/rubygem-objectdetect/Makefile
blob: f507cbc398cc3349423a6868ee4b75ecb8de98a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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:graphics/opencv

USES=       pkgconfig
USE_RUBY=   yes
USE_RUBYGEMS=   yes
RUBYGEM_AUTOPLIST=  yes

post-patch:
    ${REINPLACE_CMD} -E 's|(objectdetect)|\1/version|' ${WRKSRC}/test/test_helper.rb

.include <bsd.port.mk>