a9f015d155
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
35 lines
704 B
Makefile
35 lines
704 B
Makefile
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= facedetect
|
|
PORTVERSION= 0.1
|
|
PORTREVISION= 3
|
|
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}/cv2.so:graphics/py-opencv
|
|
|
|
USES= python:2.7,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>
|