summaryrefslogtreecommitdiff
path: root/graphics/php-facedetect/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/php-facedetect/Makefile')
-rw-r--r--graphics/php-facedetect/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/php-facedetect/Makefile b/graphics/php-facedetect/Makefile
index 7456bd43660f..8041f54defcd 100644
--- a/graphics/php-facedetect/Makefile
+++ b/graphics/php-facedetect/Makefile
@@ -5,9 +5,7 @@ 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
@@ -16,7 +14,10 @@ LICENSE= PHP30
LIB_DEPENDS= libopencv_objdetect.so:${PORTSDIR}/graphics/opencv
-GITVERSION= 4b1dfe1
+USE_GITHUB= yes
+GH_ACCOUNT= infusion
+GH_PROJECT= PHP-Facedetect
+GH_TAGNAME= 4b1dfe1
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lopencv_core