freebsd-ports/textproc/zxing-cpp/Makefile
Tobias C. Berner 707c6bf295 Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2018-12-25 20:25:39 +00:00

25 lines
527 B
Makefile

# Created by: Yuri Victorovich <yuri@rawbw.com>
# $FreeBSD$
PORTNAME= zxing-cpp
DISTVERSION= 0.20180320
PORTREVISION= 1
CATEGORIES= textproc
MAINTAINER= yuri@FreeBSD.org
COMMENT= ZXing C++ Library for QR code recognition
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libopencv_core.so:graphics/opencv-core \
libopencv_photo.so:graphics/opencv
USES= cmake compiler:c++11-lang iconv
USE_GITHUB= yes
GH_ACCOUNT= glassechidna
GH_TAGNAME= 5aad474
CMAKE_ARGS= -DBUILD_SHARED_LIBS=ON
.include <bsd.port.mk>