aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/php-facedetect
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/php-facedetect')
-rw-r--r--graphics/php-facedetect/Makefile7
-rw-r--r--graphics/php-facedetect/distinfo4
2 files changed, 6 insertions, 5 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
diff --git a/graphics/php-facedetect/distinfo b/graphics/php-facedetect/distinfo
index c66887db85fc..e053111a4c48 100644
--- a/graphics/php-facedetect/distinfo
+++ b/graphics/php-facedetect/distinfo
@@ -1,2 +1,2 @@
-SHA256 (infusion-PHP-Facedetect-4b1dfe1.tar.gz) = 2e2361e0a26d7a959e9e5ba6aec78cf21a6ad631baf7e853fa9a0d1ed3a55ac1
-SIZE (infusion-PHP-Facedetect-4b1dfe1.tar.gz) = 2979
+SHA256 (infusion-PHP-Facedetect-1.1-4b1dfe1_GH0.tar.gz) = bd628c0072750172a9234676a3a9b555ca5f46fc2f402c1ff49d8b984669e45a
+SIZE (infusion-PHP-Facedetect-1.1-4b1dfe1_GH0.tar.gz) = 2968