2017-07-20 11:53:59 +00:00
|
|
|
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= facedetect
|
|
|
|
PORTVERSION= 0.1
|
|
|
|
DISTVERSIONPREFIX= v
|
2020-09-25 09:04:11 +00:00
|
|
|
PORTREVISION= 5
|
2017-07-20 11:53:59 +00:00
|
|
|
CATEGORIES= graphics
|
|
|
|
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
|
|
COMMENT= Simple face detector for batch processing
|
|
|
|
|
|
|
|
LICENSE= GPLv2+
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING.txt
|
|
|
|
|
2019-11-24 09:43:09 +00:00
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/cv2.so:graphics/py-opencv@${PY_FLAVOR}
|
2017-07-20 11:53:59 +00:00
|
|
|
|
2020-09-25 09:04:11 +00:00
|
|
|
USES= python:3.6+,run shebangfix
|
2017-07-20 11:53:59 +00:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= wavexx
|
|
|
|
|
|
|
|
SHEBANG_FILES= facedetect
|
2020-09-25 09:04:11 +00:00
|
|
|
|
|
|
|
NO_ARCH= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2017-07-20 11:53:59 +00:00
|
|
|
PLIST_FILES= bin/facedetect
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
|
|
|
|
${WRKSRC}/${PORTNAME}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|