mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
e6c64ad97f
Approved by: portmgr@
37 lines
734 B
Makefile
37 lines
734 B
Makefile
# Created by: Martin Matuska <mm@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
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 <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "amd64"
|
|
USE_GCC= any
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|