# Created by: Martin Matuska # $FreeBSD: head/graphics/php-facedetect/Makefile 357966 2014-06-16 10:11:19Z vanilla $ PORTNAME= facedetect PORTVERSION= 1.1 PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= https://github.com/infusion/PHP-Facedetect/tarball/${GITVERSION}/ PKGNAMEPREFIX= php- DISTNAME= infusion-PHP-Facedetect-${GITVERSION} MAINTAINER= mm@FreeBSD.org COMMENT= Face detection extension for PHP using OpenCV library LICENSE= PHP30 LIB_DEPENDS= libopencv_objdetect.so:${PORTSDIR}/graphics/opencv GITVERSION= 4b1dfe1 CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lopencv_core USE_PHP= yes USE_PHPIZE= yes USE_PHPEXT= yes CONFIGURE_ARGS+= --with-facedetect .include .if ${ARCH} == "amd64" USE_GCC= any .endif .include