freebsd-ports/databases/qt4-sqlite-plugin/Makefile
Raphael Kubo da Costa 04ad7b5445 Unbreak Qt4 ports that do not extract src/corelib after r362770.
The easiest solution is to just make them extract it (it's not a big
directory anyway). This can be reverted once 4.8.7 is released.
2014-07-24 17:35:09 +00:00

38 lines
914 B
Makefile

# Created by: Michael Nottebrock <lofi@FreeBSD.org>
# $FreeBSD$
PORTNAME= qt4-${DB}-plugin
DISTVERSION= ${QT4_VERSION}
CATEGORIES= databases
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt SQLite 2 database plugin
DB= sqlite2
USE_QT4= moc_build sql
QT_DIST= yes
USE_SQLITE= 2
DRIVER= src/sql/drivers/${DB}
PLUGIN= src/plugins/sqldrivers/${DB}
EXTRACT_AFTER_ARGS?= ${DISTNAME}/${DRIVER} ${DISTNAME}/${PLUGIN} \
${DISTNAME}/include/QtSql \
${DISTNAME}/src/corelib \
${DISTNAME}/src/sql/kernel
MAKEFILE= ${FILESDIR}/Makefile.bsd
MAKE_ENV+= DB="${DB}" DRIVER="${DRIVER}" MOC="${MOC}" \
PLUGIN="${PLUGIN}" \
QT_INCDIR="${QT_INCDIR}" \
QT_LIBDIR="${QT_LIBDIR}"
PLIST_SUB= DB=${DB}
EXTRA_PATCHES= # empty
SQL_PLUGINDIR= ${PREFIX}/${QT_PLUGINDIR_REL}/sqldrivers
do-install:
@${MKDIR} ${STAGEDIR}${SQL_PLUGINDIR}
${INSTALL_LIB} ${WRKSRC}/libq${DB}.so ${STAGEDIR}${SQL_PLUGINDIR}
.include <bsd.port.mk>