blob: 38ad29132cdf0708b85f1f7fc31e3d12f043ca98 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# New ports collection makefile for: php5-facedetect
# Date created: 2010-03-26
# Whom: Martin Matuska <mm@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= facedetect
PORTVERSION= 1.0.1
CATEGORIES= graphics
MASTER_SITES= http://www.xarg.org/download/
PKGNAMEPREFIX= php-
MAINTAINER= mm@FreeBSD.org
COMMENT= Face detection extension for PHP using OpenCV library
LIB_DEPENDS= cv.2:${PORTSDIR}/graphics/opencv
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_PHP= yes
USE_PHPIZE= yes
USE_PHPEXT= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
CONFIGURE_ARGS+= --with-facedetect
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
post-patch:
@${TOUCH} ${WRKSRC}/cvconfig.h
.include <bsd.port.mk>
|