aboutsummaryrefslogtreecommitdiff
path: root/security/howdy
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2023-04-04 15:13:40 +0000
committerGleb Popov <arrowd@FreeBSD.org>2023-04-04 15:26:22 +0000
commit79d0b5f18b467a9b69ab382edc6c55f2cc49638d (patch)
tree177481c41c4cc1860335066056417a4f584473c0 /security/howdy
parent17f8596092e5827781425f1fa1bde4c69cc46941 (diff)
downloadports-79d0b5f18b467a9b69ab382edc6c55f2cc49638d.tar.gz
ports-79d0b5f18b467a9b69ab382edc6c55f2cc49638d.zip
Diffstat (limited to 'security/howdy')
-rw-r--r--security/howdy/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/security/howdy/Makefile b/security/howdy/Makefile
index f9c91d856fb0..05b4813b38ed 100644
--- a/security/howdy/Makefile
+++ b/security/howdy/Makefile
@@ -1,5 +1,6 @@
PORTNAME= howdy
PORTVERSION= 3.0.0.b.20230306
+PORTREVISION= 1
CATEGORIES= security
MAINTAINER= arrowd@FreeBSD.org
@@ -12,7 +13,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= opencv>0:graphics/opencv \
${PYTHON_PKGNAMEPREFIX}python-pam>0:security/py-python-pam@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dlib>0:science/py-dlib@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} \
+ ${LOCALBASE}/share/dlib-models/shape_predictor_5_face_landmarks.dat:misc/dlib-models
USES= python:3.7-3.10,run shebangfix
@@ -29,7 +31,7 @@ STRIP=
post-patch:
${ECHO_CMD} 'config_dir = "${ETCDIR}"' >> ${WRKSRC}/howdy/src/paths.py
- ${ECHO_CMD} 'dlib_data_dir = "${LOCALBASE}/share/dlib-data/"' >> ${WRKSRC}/howdy/src/paths.py
+ ${ECHO_CMD} 'dlib_data_dir = "${LOCALBASE}/share/dlib-models/"' >> ${WRKSRC}/howdy/src/paths.py
${ECHO_CMD} 'user_models_dir = "/var/db/howdy/models/"' >> ${WRKSRC}/howdy/src/paths.py
do-install: