freebsd-ports/graphics/php-facedetect/Makefile
Jason E. Hale 3a64305d43 - Update graphics/*opencv* to 2.4.7
- Revert options helpers to if statements since the OFF condition is not
  applied when OPTIONS_EXCLUDE is used
- Move most of the OpenCV modules from the graphics/opencv-core port to
  graphics/opencv, leaving opencv-core as just the bare minimum required
  for building ffmpeg with OpenCV support
- Install examples for python and java bindings
- Add new slave port graphics/opencv-java: Java bindings for OpenCV
- Bump PORTREVISION and make dependency adjustments and fixes for
  dependent ports
- Add UPDATING entry
2013-12-04 02:51:00 +00:00

40 lines
806 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
FETCH_ARGS= -pRr
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
LIBS+= -lopencv_core
USE_PHP= yes
USE_PHPIZE= yes
USE_PHPEXT= yes
CONFIGURE_ARGS+= --with-facedetect
CONFIGURE_ENV+= LIBS="${LIBS}"
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
USE_GCC= 4.2+
.endif
.include <bsd.port.post.mk>