1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/graphics/facedetect/Makefile
2021-04-06 16:31:07 +02:00

36 lines
672 B
Makefile

# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
PORTNAME= facedetect
PORTVERSION= 0.1
DISTVERSIONPREFIX= v
PORTREVISION= 6
CATEGORIES= graphics
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Simple face detector for batch processing
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING.txt
RUN_DEPENDS= opencv>0:graphics/opencv
USES= python:3.6+,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>