diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2007-02-05 20:56:24 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2007-02-05 20:56:24 +0000 |
commit | 74cb0fb1e88e05ac2dc49f1aa7274c98a470a7c8 (patch) | |
tree | 5a2cd52714027788ca840d18e6087ab373c335b4 /databases/qt4-pgsql-plugin | |
parent | 9650cc958392c895ef613d1abea30ed3510adffd (diff) | |
download | ports-74cb0fb1e88e05ac2dc49f1aa7274c98a470a7c8.tar.gz ports-74cb0fb1e88e05ac2dc49f1aa7274c98a470a7c8.zip |
Add qt4, a multiplatform C++ application framework
Notes
Notes:
svn path=/head/; revision=184304
Diffstat (limited to 'databases/qt4-pgsql-plugin')
-rw-r--r-- | databases/qt4-pgsql-plugin/Makefile | 34 | ||||
-rw-r--r-- | databases/qt4-pgsql-plugin/distinfo | 3 | ||||
-rw-r--r-- | databases/qt4-pgsql-plugin/files/Makefile.bsd | 19 | ||||
-rw-r--r-- | databases/qt4-pgsql-plugin/pkg-descr | 4 | ||||
-rw-r--r-- | databases/qt4-pgsql-plugin/pkg-plist | 2 |
5 files changed, 62 insertions, 0 deletions
diff --git a/databases/qt4-pgsql-plugin/Makefile b/databases/qt4-pgsql-plugin/Makefile new file mode 100644 index 000000000000..3fc0a0cc4747 --- /dev/null +++ b/databases/qt4-pgsql-plugin/Makefile @@ -0,0 +1,34 @@ +# -*-mode: makefile-*- +# New ports collection makefile for: qt-pgsql-plugin +# Date created: 5 August 2003 +# Whom: Lauri Watts <lauri@kde.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 PostgreSQL database plugin + +DB= psql + +LIB_DEPENDS+= QtSql:${PORTSDIR}/databases/qt4-sql + +USE_PGSQL= yes +#USE_BZIP2= yes +DRIVER= src/sql/drivers/${DB} +EXTRACT_AFTER_ARGS?=| ${TAR} -xf - \ + ${DISTNAME}/${DRIVER} +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-pgsql-plugin/distinfo b/databases/qt4-pgsql-plugin/distinfo new file mode 100644 index 000000000000..5f51cf7b1256 --- /dev/null +++ b/databases/qt4-pgsql-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-pgsql-plugin/files/Makefile.bsd b/databases/qt4-pgsql-plugin/files/Makefile.bsd new file mode 100644 index 000000000000..52e180ad5692 --- /dev/null +++ b/databases/qt4-pgsql-plugin/files/Makefile.bsd @@ -0,0 +1,19 @@ +SHLIB_NAME= libqsql${DB}.so + +VPATH= ${DRIVER} +CXXFLAGS+= -I${DRIVER} \ + -I${LOCALBASE}/include/Qt \ + -I${LOCALBASE}/include/postgresql/server \ + -I${LOCALBASE}/include -I${X11BASE}/include \ + ${PTHREAD_CFLAGS} -DQT_THREAD_SUPPORT +LDADD= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lQtSql -lpq +SRCS= qsql_${DB}.cpp + +LIBDIR= ${PREFIX}/lib/plugins/sqldrivers + +${LIBDIR}: + mkdir -p ${LIBDIR} + +beforeinstall: ${LIBDIR} + +.include <bsd.lib.mk> diff --git a/databases/qt4-pgsql-plugin/pkg-descr b/databases/qt4-pgsql-plugin/pkg-descr new file mode 100644 index 000000000000..e08d82c4a5c8 --- /dev/null +++ b/databases/qt4-pgsql-plugin/pkg-descr @@ -0,0 +1,4 @@ +The PostgreSQL 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-pgsql-plugin/pkg-plist b/databases/qt4-pgsql-plugin/pkg-plist new file mode 100644 index 000000000000..482facca168e --- /dev/null +++ b/databases/qt4-pgsql-plugin/pkg-plist @@ -0,0 +1,2 @@ +lib/plugins/sqldrivers/libqsql%%DB%%.so +@dirrm lib/plugins/sqldrivers |