aboutsummaryrefslogtreecommitdiff
path: root/databases/qt-pgsql-plugin/files
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2004-03-25 15:08:15 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2004-03-25 15:08:15 +0000
commitbdb4cb8fae1a1c1d2d5300bdc72ae07cdec3dcb3 (patch)
tree0f84cfe1d91b786db06c3dd5f8cbcd911967e117 /databases/qt-pgsql-plugin/files
parentb67a7976491f2d7d39140b75b1205d5c9aaf1968 (diff)
downloadports-bdb4cb8fae1a1c1d2d5300bdc72ae07cdec3dcb3.tar.gz
ports-bdb4cb8fae1a1c1d2d5300bdc72ae07cdec3dcb3.zip
Notes
Diffstat (limited to 'databases/qt-pgsql-plugin/files')
-rw-r--r--databases/qt-pgsql-plugin/files/Makefile.bsd18
1 files changed, 18 insertions, 0 deletions
diff --git a/databases/qt-pgsql-plugin/files/Makefile.bsd b/databases/qt-pgsql-plugin/files/Makefile.bsd
new file mode 100644
index 000000000000..3f3242654fc5
--- /dev/null
+++ b/databases/qt-pgsql-plugin/files/Makefile.bsd
@@ -0,0 +1,18 @@
+SHLIB_NAME= libqsql${DB}.so
+
+VPATH= ${PLUGIN}:${DRIVER}
+CXXFLAGS+= -I${PLUGIN} -I${DRIVER} \
+ -I${LOCALBASE}/include/postgresql/server \
+ -I${LOCALBASE}/include -I${X11BASE}/include \
+ ${PTHREAD_CFLAGS} -DQT_THREAD_SUPPORT
+LDADD= -L${X11BASE}/lib -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lqt-mt -lpq
+SRCS= qsql_${DB}.cpp main.cpp
+
+LIBDIR= ${PREFIX}/lib/plugins/sqldrivers
+
+${LIBDIR}:
+ mkdir -p ${LIBDIR}
+
+beforeinstall: ${LIBDIR}
+
+.include <bsd.lib.mk>