For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true,
as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107).
Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when
it is always needed, I renamed it, in one case, I merged two patches.
Differential Revision: https://reviews.freebsd.org/D2209
26 lines
520 B
Makefile
26 lines
520 B
Makefile
# 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:${PORTSDIR}/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>
|