mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
https://github.com/zxing-cpp/zxing-cpp/releases/tag/v2.3.0 PR: 283847
30 lines
671 B
Makefile
30 lines
671 B
Makefile
PORTNAME= zxing-cpp
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 2.3.0
|
|
CATEGORIES= textproc
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= C++ library for linear/matrix barcode recognition
|
|
WWW= https://github.com/zxing-cpp/zxing-cpp
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
TEST_DEPENDS= googletest>0:devel/googletest
|
|
|
|
USES= cmake:testing compiler:c++20-lang iconv pathfix
|
|
USE_GITHUB= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_ON= BUILD_SHARED_LIBS
|
|
# Disable
|
|
# * examples (no installation target)
|
|
# * blackbox test (fetches third party source)
|
|
CMAKE_OFF= BUILD_EXAMPLES \
|
|
BUILD_BLACKBOX_TESTS
|
|
CMAKE_TESTING_ON= ZXING_UNIT_TESTS
|
|
|
|
PLIST_SUB= SOVERSION=${DISTVERSION}
|
|
|
|
.include <bsd.port.mk>
|