Files
2026-10-04 04:07:15 +00:00

33 lines
858 B
Makefile

PORTNAME= easy-profiler
DISTVERSIONPREFIX= v
DISTVERSION= 2.1.0-41
DISTVERSIONSUFFIX= -g3104dd4
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org
COMMENT= Lightweight profiler library for C++
WWW= https://github.com/yse/easy_profiler
LICENSE= APACHE20 MIT
LICENSE_COMB= dual
LICENSE_FILE_APACHE20= ${WRKSRC}/easy_profiler_core/LICENSE.APACHE
LICENSE_FILE_MIT= ${WRKSRC}/easy_profiler_core/LICENSE.MIT
BROKEN_i386= see https://github.com/yse/easy_profiler/issues/202
USES= cmake compiler:c++11-lang qt:5
USE_QT= core gui widgets buildtools:build qmake:build
USE_GITHUB= yes
GH_ACCOUNT= yse
GH_PROJECT= easy_profiler
CMAKE_ARGS= -DCMAKE_POLICY_VERSION_MINIMUM:STRING=3.5 # CMake 4 compatibility, see https://github.com/yse/easy_profiler/issues/231
CXXFLAGS+= -Dint64=int64_t
post-install:
@${RM} ${STAGEDIR}${PREFIX}/LICENSE.*
.include <bsd.port.mk>