summaryrefslogtreecommitdiff
path: root/databases/qt-mysql-plugin/Makefile.dbplugin
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2003-12-13 10:21:14 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2003-12-13 10:21:14 +0000
commit64c4818f8e2cf14bd8766bb5bd48e2dc23d5ebfb (patch)
tree00786497134cc3d0118f5683e7096193cb2831b6 /databases/qt-mysql-plugin/Makefile.dbplugin
parent- Unbreak on -current (diff)
- Update QT to version 3.2.3.
- s/USE_MESA/USE_GL - Get rid of the nvidia-driver warning - Unhook database-plugin ports from the main port. - Use and depend on devel/qmake. Thanks to Mikhail Teterin <mi+kde@aldan.algebra.com> for ideas and code for the dependency on the qmake-port and the database- plugins. Approved by: Maintainer (for qt-mysql-plugins)
Notes
Notes: svn path=/head/; revision=95714
Diffstat (limited to 'databases/qt-mysql-plugin/Makefile.dbplugin')
-rw-r--r--databases/qt-mysql-plugin/Makefile.dbplugin26
1 files changed, 26 insertions, 0 deletions
diff --git a/databases/qt-mysql-plugin/Makefile.dbplugin b/databases/qt-mysql-plugin/Makefile.dbplugin
new file mode 100644
index 000000000000..914cd40e3e29
--- /dev/null
+++ b/databases/qt-mysql-plugin/Makefile.dbplugin
@@ -0,0 +1,26 @@
+PORTNAME= qt-${DB}-plugin
+PORTVERSION= 3.2.3
+CATEGORIES= databases
+DISTNAME= qt-x11-free-${PORTVERSION}
+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/
+DIST_SUBDIR= KDE
+
+LIB_DEPENDS+= qt-mt:${PORTSDIR}/x11-toolkits/qt32
+
+USE_BZIP2= yes
+PLUGIN= plugins/src/sqldrivers/${DB}
+DRIVER= src/sql/drivers/${DB}
+EXTRACT_AFTER_ARGS?=| ${TAR} -xf - ${DISTNAME}/${PLUGIN} \
+ ${DISTNAME}/${DRIVER}
+MAKEFILE= ${FILESDIR}/Makefile.bsd
+MAKE_ENV+= DRIVER="${DRIVER}" PLUGIN="${PLUGIN}"
+MASTERDIR= ${PORTSDIR}/databases/qt-mysql-plugin
+
+INSTALLS_SHLIB= yes
+LDCONFIG_DIRS= %%PREFIX%%/lib/plugins/sqldrivers
+PLIST_SUB= DB=${DB}
+
+.include <bsd.port.mk>