aboutsummaryrefslogtreecommitdiff
path: root/graphics/rubygem-objectdetect
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2016-04-27 16:36:41 +0000
committerSteve Wills <swills@FreeBSD.org>2016-04-27 16:36:41 +0000
commitb3e8fe8d85d1f32b6b8813589ed8637a8accb185 (patch)
tree146c1b1aad08357a95df3348dea477d956cd3816 /graphics/rubygem-objectdetect
parentfa3799f9e7a9b9095ece07d487dbe794356ec5ba (diff)
downloadports-b3e8fe8d85d1f32b6b8813589ed8637a8accb185.tar.gz
ports-b3e8fe8d85d1f32b6b8813589ed8637a8accb185.zip
create USES=gem and update rubygem- ports to use it
Note that for now ports still have to have USE_RUBY=yes to use USES=gem PR: 209041 Differential Revision: https://reviews.freebsd.org/D6070
Notes
Notes: svn path=/head/; revision=414118
Diffstat (limited to 'graphics/rubygem-objectdetect')
-rw-r--r--graphics/rubygem-objectdetect/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/graphics/rubygem-objectdetect/Makefile b/graphics/rubygem-objectdetect/Makefile
index f507cbc398cc..bf9dab658197 100644
--- a/graphics/rubygem-objectdetect/Makefile
+++ b/graphics/rubygem-objectdetect/Makefile
@@ -14,10 +14,8 @@ LICENSE= MIT
LIB_DEPENDS= libopencv_legacy.so:graphics/opencv
-USES= pkgconfig
USE_RUBY= yes
-USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+USES= gem:autoplist pkgconfig
post-patch:
${REINPLACE_CMD} -E 's|(objectdetect)|\1/version|' ${WRKSRC}/test/test_helper.rb