mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
36 lines
672 B
Makefile
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>
|