opnsense-ports/graphics/facedetect/Makefile
Franco Fichtner 2f03c0cf40 */*: sync with upstream
Taken from: FreeBSD
2023-06-28 09:14:20 +02:00

34 lines
675 B
Makefile

PORTNAME= facedetect
PORTVERSION= 0.1
DISTVERSIONPREFIX= v
PORTREVISION= 8
CATEGORIES= graphics
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Simple face detector for batch processing
WWW= https://www.thregr.org/~wavexx/software/facedetect/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING.txt
RUN_DEPENDS= opencv>0:graphics/opencv
USES= python:run shebangfix
USE_GITHUB= yes
GH_ACCOUNT= wavexx
SHEBANG_FILES= facedetect
NO_ARCH= yes
NO_BUILD= yes
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>