freebsd-ports/devel/qt5/Makefile.sqldrivers
Baptiste Daroussin 67de658d00 Make it work properly on FreeBSD 8.3 which make(1) doesn't know about :tu/:tl, 8.3 is still supported
until April 30 and it is the version on which 8.x packages are built on, it is important to keep
having it properly building
2014-03-10 07:48:40 +00:00

31 lines
851 B
Text

# $FreeBSD$
# tell bmake we use the old :L :U modifiers
.MAKE.FreeBSD_UL= yes
PORTNAME?= ${DB:L}
DISTVERSION?= ${QT5_VERSION}
CATEGORIES?= databases
PKGNAMEPREFIX?= qt5-sqldrivers-
MAINTAINER?= kde@FreeBSD.org
COMMENT?= Qt ${DB_DESC} database plugin
USE_QT5+= core sql qmake_build buildtools_build
QT_DIST?= base
HAS_CONFIGURE= yes
CONFIGURE_ARGS+=-no-gui -no-xcb
BUILD_WRKSRC?= ${WRKSRC}/src/plugins/sqldrivers/${DB:L}
INSTALL_WRKSRC?=${BUILD_WRKSRC}
PLIST_FILES+= ${QT_LIBDIR_REL}/cmake/Qt5Sql/Qt5Sql_Q${DB}DriverPlugin.cmake \
${QT_PLUGINDIR_REL}/sqldrivers/libqsql${DB:L:C/^sql//}.so \
%%DEBUG%%${QT_PLUGINDIR_REL}/sqldrivers/libqsql${DB:L:C/^sql//}.so.debug
PLIST_DIRSTRY+= ${QT_PLUGINDIR_REL}/sqldrivers \
${QT_PLUGINDIR_REL} \
${QT_ARCHDIR_REL} \
${QT_LIBDIR_REL}/cmake/Qt5Sql \
${QT_LIBDIR_REL}/cmake
.include <bsd.port.mk>