Tobias C. Berner b42bee5ad6 kde.mk: add virtual category 'kde-devel'
Previously we assumed that a port of KDE Gear 24.02-beta1 will use Qt6.
So kde:6 was used to determine that the applications version is beta1.
However, not all applications will be ported in time of the release as
it seems, so we need to have a better way to select the version.

For now, the KDE Gear-ports can use (for beta1)

	CATEGORIES=$main kde kde-applications kde-devel

resepectively (for stable version)

	CATEGORIES=$main kde kde-applications

to get the proper DISTVERSION value and environment set up.
2023-12-07 18:52:55 +01:00

18 lines
416 B
Makefile

PORTNAME= libkexiv2
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
CATEGORIES= graphics kde kde-applications kde-devel
MAINTAINER= kde@FreeBSD.org
COMMENT= Exiv2 library interface for KDE
WWW= https://www.digikam.org/
LIB_DEPENDS= libexiv2.so:graphics/exiv2
USES= cmake compiler:c++11-lang kde:6 pkgconfig qt:6 tar:xz
USE_KDE= ecm:build
USE_QT= 5compat base
CMAKE_ARGS= -DQT_MAJOR_VERSION=6
.include <bsd.port.mk>