aboutsummaryrefslogtreecommitdiff
path: root/databases/qt4-ibase-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'databases/qt4-ibase-plugin')
-rw-r--r--databases/qt4-ibase-plugin/Makefile35
-rw-r--r--databases/qt4-ibase-plugin/distinfo3
-rw-r--r--databases/qt4-ibase-plugin/files/Makefile.bsd18
-rw-r--r--databases/qt4-ibase-plugin/pkg-descr4
-rw-r--r--databases/qt4-ibase-plugin/pkg-plist2
5 files changed, 62 insertions, 0 deletions
diff --git a/databases/qt4-ibase-plugin/Makefile b/databases/qt4-ibase-plugin/Makefile
new file mode 100644
index 000000000000..6926942aa82d
--- /dev/null
+++ b/databases/qt4-ibase-plugin/Makefile
@@ -0,0 +1,35 @@
+# -*-mode: makefile-*-
+# New ports collection makefile for: qt-ibase-plugin
+# Date created: 27 February 2004
+# Whom: Michael Nottebrock <lofi@freebsd.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= qt4-${DB}-plugin
+PORTVERSION= 4.2.2
+CATEGORIES= databases
+MASTER_SITES= ${MASTER_SITE_QT}
+DISTNAME= qt-x11-opensource-src-${PORTVERSION}
+DIST_SUBDIR= KDE
+
+MAINTAINER= kde@freebsd.org
+COMMENT= Qt IBase/Firebird database plugin
+
+DB= ibase
+
+LIB_DEPENDS+= gds:${PORTSDIR}/databases/firebird-client \
+ QtSql:${PORTSDIR}/databases/qt4-sql
+
+#USE_BZIP2= yes
+DRIVER= src/sql/drivers/${DB}
+EXTRACT_AFTER_ARGS?=| ${TAR} -xf - \
+ ${DISTNAME}/${DRIVER} ${DISTNAME}/include/QtSql \
+ ${DISTNAME}/src/sql/kernel
+MAKEFILE= ${FILESDIR}/Makefile.bsd
+MAKE_ENV+= DB="${DB}" DRIVER="${DRIVER}" \
+ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
+ PTHREAD_LIBS="${PTHREAD_LIBS}"
+PLIST_SUB= DB=${DB}
+
+.include <bsd.port.mk>
diff --git a/databases/qt4-ibase-plugin/distinfo b/databases/qt4-ibase-plugin/distinfo
new file mode 100644
index 000000000000..5f51cf7b1256
--- /dev/null
+++ b/databases/qt4-ibase-plugin/distinfo
@@ -0,0 +1,3 @@
+MD5 (KDE/qt-x11-opensource-src-4.2.2.tar.gz) = 19f6374fe7924e33775cb87ee02669cb
+SHA256 (KDE/qt-x11-opensource-src-4.2.2.tar.gz) = e790d227fa7958f2b0c0b0facd8ca880190121ed2b9c99ca70643baf7a0cd24c
+SIZE (KDE/qt-x11-opensource-src-4.2.2.tar.gz) = 37636491
diff --git a/databases/qt4-ibase-plugin/files/Makefile.bsd b/databases/qt4-ibase-plugin/files/Makefile.bsd
new file mode 100644
index 000000000000..52b750dd4b0b
--- /dev/null
+++ b/databases/qt4-ibase-plugin/files/Makefile.bsd
@@ -0,0 +1,18 @@
+SHLIB_NAME= libqsql${DB}.so
+
+VPATH= ${DRIVER}
+CXXFLAGS+= -I${DRIVER} -Iinclude \
+ -I${LOCALBASE}/include/Qt \
+ -I${LOCALBASE}/include \
+ ${PTHREAD_CFLAGS} -DQT_THREAD_SUPPORT
+LDADD= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lQtSql -lgds
+SRCS= qsql_${DB}.cpp
+
+LIBDIR= ${PREFIX}/lib/plugins/sqldrivers
+
+${LIBDIR}:
+ mkdir -p ${LIBDIR}
+
+beforeinstall: ${LIBDIR}
+
+.include <bsd.lib.mk>
diff --git a/databases/qt4-ibase-plugin/pkg-descr b/databases/qt4-ibase-plugin/pkg-descr
new file mode 100644
index 000000000000..633888695edb
--- /dev/null
+++ b/databases/qt4-ibase-plugin/pkg-descr
@@ -0,0 +1,4 @@
+The IBase/Firebird Plugin from Qt 4, which provides an easy access method from
+within Qt applications.
+
+WWW: http://doc.trolltech.com/4.0/sql.html
diff --git a/databases/qt4-ibase-plugin/pkg-plist b/databases/qt4-ibase-plugin/pkg-plist
new file mode 100644
index 000000000000..482facca168e
--- /dev/null
+++ b/databases/qt4-ibase-plugin/pkg-plist
@@ -0,0 +1,2 @@
+lib/plugins/sqldrivers/libqsql%%DB%%.so
+@dirrm lib/plugins/sqldrivers