freebsd-ports/graphics/php-facedetect/Makefile
Mathieu Arnold aef5a66670 Don't use extension.ini any more, and have each extension install in its
file, so the order remains the same.

Every PHP (or Zend) extension now installs its own .ini file in
/usr/local/etc/php.  A PHP extension will be automatically activated
when installed.  The order into which extensions are loaded is
automatically guessed.  In some very rare cases, the guess will be
wrong, and PHP_MOD_PRIO will need to be set.  Refer to the USES=php
section of the Porter's Handbook for more information.

Convert ports touching etc/php/extensions.ini manually, or telling the
OP to do it.

And finally, bump PORTREVISION for all php extensions.

PR:		210697
Submitted by:	mat
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D7022
2016-08-03 12:47:05 +00:00

35 lines
628 B
Makefile

# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$
PORTNAME= facedetect
PORTVERSION= 1.1
PORTREVISION= 3
CATEGORIES= graphics
PKGNAMEPREFIX= php-
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= 4b1dfe1
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lopencv_core
USES= php:ext
CONFIGURE_ARGS+= --with-facedetect
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
USE_GCC= any
.endif
.include <bsd.port.post.mk>