diff options
Diffstat (limited to 'databases/qt-sqlite-plugin/Makefile')
-rw-r--r-- | databases/qt-sqlite-plugin/Makefile | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/databases/qt-sqlite-plugin/Makefile b/databases/qt-sqlite-plugin/Makefile index e76ac8a..0cef18b 100644 --- a/databases/qt-sqlite-plugin/Makefile +++ b/databases/qt-sqlite-plugin/Makefile @@ -6,13 +6,34 @@ # $FreeBSD$ # +PORTNAME= qt-${DB}-plugin +PORTVERSION= 3.3.1 +CATEGORIES= databases +MASTER_SITES= ftp://ftp.trolltech.com/qt/source/ \ + ftp://ftp.silug.org/pub/qt/ \ + ftp://ftp.bero.org/pub/qt/ \ + ftp://ftp.planetmirror.com.au/pub/trolltech/qt/ +DISTNAME= qt-x11-free-${PORTVERSION} +DIST_SUBDIR= KDE + MAINTAINER= kde@freebsd.org COMMENT= A plugin for QT to connect to SQLite-Databases -LIB_DEPENDS+= sqlite:${PORTSDIR}/databases/sqlite - DB= sqlite -DESCR= ${PORTSDIR}/databases/qt-sqlite-plugin/pkg-descr +LIB_DEPENDS+= qt-mt:${PORTSDIR}/x11-toolkits/qt33 \ + sqlite:${PORTSDIR}/databases/sqlite + +USE_BZIP2= yes +PLUGIN= plugins/src/sqldrivers/${DB} +DRIVER= src/sql/drivers/${DB} +EXTRACT_AFTER_ARGS?=| ${TAR} -xf - ${DISTNAME}/${PLUGIN} \ + ${DISTNAME}/${DRIVER} ${DISTNAME}/src/sql/drivers/cache +MAKEFILE= ${FILESDIR}/Makefile.bsd +MAKE_ENV+= DB="${DB}" DRIVER="${DRIVER}" PLUGIN="${PLUGIN}" \ + PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ + PTHREAD_LIBS="${PTHREAD_LIBS}" +USE_X_PREFIX= yes +PLIST_SUB= DB=${DB} -.include "../qt-mysql-plugin/Makefile.dbplugin" +.include <bsd.port.mk> |