Skip to content

Commit

Permalink
security/howdy: Point to the newly-added misc/dlib-models port.
Browse files Browse the repository at this point in the history
Sponsored by:	Serenity Cybersecurity, LLC
  • Loading branch information
arrowd committed Apr 4, 2023
1 parent 17f8596 commit 79d0b5f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions security/howdy/Makefile
@@ -1,5 +1,6 @@
PORTNAME= howdy
PORTVERSION= 3.0.0.b.20230306
PORTREVISION= 1
CATEGORIES= security

MAINTAINER= arrowd@FreeBSD.org
Expand All @@ -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

Expand All @@ -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:
Expand Down

0 comments on commit 79d0b5f

Please sign in to comment.