aboutsummaryrefslogblamecommitdiff
path: root/graphics/facedetect/Makefile
blob: 372d6b07ebf0debdfbc50aebbb276d5a92644106 (plain) (tree)

































                                                                        
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$

PORTNAME=	facedetect
PORTVERSION=	0.1
DISTVERSIONPREFIX=	v
CATEGORIES=	graphics

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Simple face detector for batch processing

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING.txt

RUN_DEPENDS=	${PYTHON_SITELIBDIR}/cv.py:graphics/py-opencv

USES=		python:run shebangfix
USE_GITHUB=	yes
NO_BUILD=	yes
NO_ARCH=	yes

GH_ACCOUNT=	wavexx

SHEBANG_FILES=	facedetect
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>