summaryrefslogtreecommitdiff
path: root/graphics/facedetect/Makefile
blob: 547e4e32ef69fe138824775ff01e7e6f5ceac890 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
PORTNAME=	facedetect
PORTVERSION=	0.1
DISTVERSIONPREFIX=	v
PORTREVISION=	9
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>