freebsd-ports/graphics/rubygem-objectdetect/Makefile

32 lines
628 B
Makefile

# Created by: TAKATSU Tomonari <tota@rtfm.jp>
# $FreeBSD$
PORTNAME= objectdetect
PORTVERSION= 0.0.3
PORTREVISION= 6
CATEGORIES= graphics rubygems
MASTER_SITES= RG
MAINTAINER= tota@FreeBSD.org
COMMENT= Simple library for detecting objects in pictures
LICENSE= MIT
LIB_DEPENDS= opencv_legacy:${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>