1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/devel/gammaray/Makefile
2022-03-12 16:57:08 -05:00

41 lines
1.0 KiB
Makefile

PORTNAME= gammaray
PORTVERSION= 2.11.3
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= devel
MAINTAINER= swills@FreeBSD.org
COMMENT= Debugging tool for Qt-application
LICENSE= GPLv2 BSD2CLAUSE
LICENSE_COMB= multi
LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSE.GPL.txt
LICENSE_FILE_BSD2CLAUSE= ${WRKSRC}/LICENSE.BSD2.txt
USES= cmake kde:5 pkgconfig qt:5
USE_QT= 3d concurrent core declarative designer gui help linguisttools \
location network printsupport script scripttools svg uiplugin \
webchannel widgets xml buildtools_build qdoc_build qmake_build
USE_KDE= coreaddons syntaxhighlighting
USE_GITHUB= yes
GH_ACCOUNT= KDAB
GH_PROJECT= GammaRay
.include <bsd.port.options.mk>
.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == i386
PLIST_SUB= WEBENGINE=""
USE_QT+= webengine
.else
PLIST_SUB= WEBENGINE="@comment "
.endif
PLIST_SUB+= ARCH=${ARCH:S/amd64/x86_64/:C/armv./arm/} \
PORTMAJMIN=${PORTVERSION:C/(.*)\..*/\1/} \
PORTVERSION=${PORTVERSION} \
QTVER=${QT5_VERSION:C/\./_/:C/\..*//}
.include <bsd.port.mk>