aboutsummaryrefslogtreecommitdiff
path: root/databases/qt4-pgsql-plugin/files
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2007-02-05 20:56:24 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2007-02-05 20:56:24 +0000
commit74cb0fb1e88e05ac2dc49f1aa7274c98a470a7c8 (patch)
tree5a2cd52714027788ca840d18e6087ab373c335b4 /databases/qt4-pgsql-plugin/files
parent9650cc958392c895ef613d1abea30ed3510adffd (diff)
downloadports-74cb0fb1e88e05ac2dc49f1aa7274c98a470a7c8.tar.gz
ports-74cb0fb1e88e05ac2dc49f1aa7274c98a470a7c8.zip
Notes
Diffstat (limited to 'databases/qt4-pgsql-plugin/files')
-rw-r--r--databases/qt4-pgsql-plugin/files/Makefile.bsd19
1 files changed, 19 insertions, 0 deletions
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>