1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/devel/gammaray/Makefile
Felix Palmen ddae4e92d8 Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.

Document in CHANGES.

PR:			266034
Exp-run by:		antoine
Approved by:		tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D36349
2022-09-11 12:20:14 +02:00

48 lines
1.2 KiB
Makefile

PORTNAME= gammaray
PORTVERSION= 2.11.3
PORTREVISION= 2
DISTVERSIONPREFIX= v
CATEGORIES= devel
MAINTAINER= swills@FreeBSD.org
COMMENT= Debugging tool for Qt-application
WWW= https://www.kdab.com/development-resources/qt-tools/gammaray/
LICENSE= GPLv2 BSD2CLAUSE
LICENSE_COMB= multi
LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSE.GPL.txt
LICENSE_FILE_BSD2CLAUSE= ${WRKSRC}/LICENSE.BSD2.txt
LIB_DEPENDS= libdwarf.so:devel/libdwarf \
libelf.so:devel/libelf
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
CMAKE_OFF= STACK_DETAILS_AUTO_DETECT
CMAKE_ON= STACK_DETAILS_DWARF
.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/:S/i386/i686/:C/armv./arm/} \
PORTMAJMIN=${PORTVERSION:C/(.*)\..*/\1/} \
PORTVERSION=${PORTVERSION} \
QTVER=${QT5_VERSION:C/\./_/:C/\..*//}
.include <bsd.port.mk>