ports/devel/qt5/Makefile.sqldrivers
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

28 lines
875 B
Text

PORTNAME?= ${DB:tl}
PORTVERSION?= ${QT5_VERSION}${QT5_KDE_PATCH}
CATEGORIES?= databases
PKGNAMEPREFIX?= qt5-sqldrivers-
MAINTAINER?= kde@FreeBSD.org
COMMENT?= Qt ${DB_DESC} database plugin
USES+= compiler:c++11-lang perl5 qmake:no_env qt-dist:5,base
USE_PERL5+= extract
USE_QT+= core sql qmake:build buildtools:build
HAS_CONFIGURE= yes
CONFIGURE_ARGS+=-no-gui -no-xcb
BUILD_WRKSRC?= ${WRKSRC}/src/plugins/sqldrivers/${DB:tl}
INSTALL_WRKSRC?=${BUILD_WRKSRC}
PLIST_FILES+= ${QT_CMAKEDIR_REL}/Qt5Sql/Qt5Sql_Q${DB}DriverPlugin.cmake \
${QT_PLUGINDIR_REL}/sqldrivers/libqsql${DB:tl:C/^sql//}.so \
%%DEBUG%%${QT_PLUGINDIR_REL}/sqldrivers/libqsql${DB:tl:C/^sql//}.so.debug
post-configure:
.for d in src/plugins/sqldrivers/${DB:tl}
${MKDIR} ${WRKSRC}/${d}
cd ${WRKSRC}/${d} && ${SETENV} ${QMAKE_ENV} ${_QMAKE} ${QMAKE_ARGS} ${WRKSRC}/${d}
.endfor
.include <bsd.port.mk>