aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/php-facedetect
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-05-19 01:07:45 +0800
committermat <mat@FreeBSD.org>2015-05-19 01:07:45 +0800
commit2574893f2308874906f621f7c7435d7f8d5b2e33 (patch)
tree912fc46258efb2d48bb6aedc0d0b7102da00f29c /graphics/php-facedetect
parent03e238719c2d43ed160b7409281f5f7295a8710a (diff)
downloadfreebsd-ports-gnome-2574893f2308874906f621f7c7435d7f8d5b2e33.tar.gz
freebsd-ports-gnome-2574893f2308874906f621f7c7435d7f8d5b2e33.tar.zst
freebsd-ports-gnome-2574893f2308874906f621f7c7435d7f8d5b2e33.zip
Replace most occurences of github.com in MASTER_SITES with USE_GITHUB usage.
With hat: portmgr Sponsored by: Absolight
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