1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/x11/disman/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

42 lines
1.1 KiB
Makefile

PORTNAME= disman
DISTVERSIONPREFIX= ${PORTNAME}@
DISTVERSION= 0.524.0
CATEGORIES= x11
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Qt/C++ display management library
WWW= https://gitlab.com/kwinft/disman
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
TEST_DEPENDS= ${qt-testlib_PORT:T}>0:${qt-testlib_PORT}
USES= cmake:testing kde:5 qt:5
USE_GITLAB= yes
USE_KDE= ecm:build coreaddons
USE_LDCONFIG= yes
USE_QT= qmake:build buildtools:build core dbus gui
GL_ACCOUNT= kwinft
GL_COMMIT= a8fc81af423ab14513c7096b405cec3f58943495
PLIST_SUB= VERSION=${PORTVERSION}
OPTIONS_DEFINE= WAYLAND X11
OPTIONS_DEFAULT=WAYLAND X11
OPTIONS_SUB= yes
WAYLAND_LIB_DEPENDS= libWraplandClient.so:graphics/wrapland
WAYLAND_USE= KDE=wayland
WAYLAND_CMAKE_BOOL_OFF= ${KF5Wayland Wrapland:L:S/^/CMAKE_DISABLE_FIND_PACKAGE_/}
X11_USES= xorg
X11_USE= QT=x11extras XORG=xcb
X11_CMAKE_BOOL_OFF= ${Qt5X11Extras XCB:L:S/^/CMAKE_DISABLE_FIND_PACKAGE_/}
post-patch:
# Respect PREFIX for hwdata
@${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
${WRKSRC}/backends/edid.cpp
.include <bsd.port.mk>