freebsd-ports/graphics/php-facedetect/Makefile
Mathieu Arnold f29a218fcd Replace most occurences of github.com in MASTER_SITES with USE_GITHUB usage.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-18 17:07:45 +00:00

37 lines
670 B
Makefile

# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$
PORTNAME= facedetect
PORTVERSION= 1.1
PORTREVISION= 2
CATEGORIES= graphics
PKGNAMEPREFIX= php-
MAINTAINER= mm@FreeBSD.org
COMMENT= Face detection extension for PHP using OpenCV library
LICENSE= PHP30
LIB_DEPENDS= libopencv_objdetect.so:${PORTSDIR}/graphics/opencv
USE_GITHUB= yes
GH_ACCOUNT= infusion
GH_PROJECT= PHP-Facedetect
GH_TAGNAME= 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>