162e9fa365
/wrkdirs/usr/ports/graphics/php-facedetect/work-php72/PHP-Facedetect-2a8974b/facedetect.cc:203: error: reference to 'uint32_t' is ambiguous /usr/include/sys/_stdint.h:66: error: candidates are: typedef __uint32_t uint32_t /usr/local/include/opencv2/core/cvdef.h:492: error: typedef uint32_t cv::uint32_t
28 lines
548 B
Makefile
28 lines
548 B
Makefile
# Created by: Martin Matuska <mm@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= facedetect
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 10
|
|
CATEGORIES= graphics
|
|
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= mm@FreeBSD.org
|
|
COMMENT= Face detection extension for PHP using OpenCV library
|
|
|
|
LICENSE= PHP30
|
|
|
|
LIB_DEPENDS= libopencv_objdetect.so:graphics/opencv
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= infusion
|
|
GH_PROJECT= PHP-Facedetect
|
|
GH_TAGNAME= 2a8974b
|
|
|
|
LIBS+= -lopencv_core
|
|
|
|
USES= compiler:c11 localbase php:ext pkgconfig
|
|
|
|
CONFIGURE_ARGS+= --with-facedetect
|
|
|
|
.include <bsd.port.mk>
|