1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/devel/gammaray/Makefile
Daniel Engberg 80b48f7565 devel/gammaray: Use upstream release archive
Use upstream release archive as recommended by Porters Handbook

Approved by:	bofh (maintainer via private email)
2023-09-02 17:31:53 +02:00

44 lines
1.2 KiB
Makefile

PORTNAME= gammaray
DISTVERSION= 2.11.3
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= https://github.com/KDAB/GammaRay/releases/download/v${DISTVERSION}/
MAINTAINER= bofh@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
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>