# Created by: TAKATSU Tomonari <tota@rtfm.jp>
# $FreeBSD: branches/RELEASE_8_4_0/graphics/rubygem-objectdetect/Makefile 313317 2013-03-03 01:43:02Z swills $

PORTNAME=	objectdetect
PORTVERSION=	0.0.3
PORTREVISION=	5
CATEGORIES=	graphics rubygems
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	mm
DISTFILES=	${PORTNAME}-${PORTVERSION}-opencv23.gem

MAINTAINER=	tota@FreeBSD.org
COMMENT=	A simple library for detecting objects in pictures

DEPRECATED=	Does not work with Ruby 1.9
EXPIRATION_DATE=	2013-05-02

LIB_DEPENDS=	opencv_legacy.2:${PORTSDIR}/graphics/opencv

LICENSE=	MIT

USE_RUBY=	yes
USE_RUBYGEMS=	yes
RUBYGEM_AUTOPLIST=	yes

.include <bsd.port.pre.mk>

.if ${RUBY_VER} == 1.9
BROKEN=	does not work with ruby 1.9
.endif

.if ${OSVERSION} < 700000
BROKEN=		does not compile on 6.X
.endif

.include <bsd.port.post.mk>
