summaryrefslogtreecommitdiffstats
path: root/freebsd/dependencies/tqt3-pgsql-plugin/files
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-04-22 00:00:02 +0200
committerSlávek Banko <slavek.banko@axis.cz>2023-04-22 20:51:11 +0200
commit4975402d7f239a520dfcbd48e03dbab43e491d68 (patch)
tree1fa8069b82399fccffe1736bbc8af73d1f3a4d93 /freebsd/dependencies/tqt3-pgsql-plugin/files
parent718961e63499208eae72b6d4f56ae94004d41020 (diff)
downloadtde-packaging-4975402d7f239a520dfcbd48e03dbab43e491d68.tar.gz
tde-packaging-4975402d7f239a520dfcbd48e03dbab43e491d68.zip
FreeBSD: Add ports updated for final release R14.1.0.
Add a script to synchronize ports to the FreeBSD ports structure. Add meta-port 'tde-meta' to install all TDE ports. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'freebsd/dependencies/tqt3-pgsql-plugin/files')
-rw-r--r--freebsd/dependencies/tqt3-pgsql-plugin/files/Makefile.bsd20
1 files changed, 20 insertions, 0 deletions
diff --git a/freebsd/dependencies/tqt3-pgsql-plugin/files/Makefile.bsd b/freebsd/dependencies/tqt3-pgsql-plugin/files/Makefile.bsd
new file mode 100644
index 000000000..ef2d45760
--- /dev/null
+++ b/freebsd/dependencies/tqt3-pgsql-plugin/files/Makefile.bsd
@@ -0,0 +1,20 @@
+SHLIB_NAME= libqsql${DB}.so
+
+VPATH= ${PLUGIN}:${DRIVER}
+CXXFLAGS+= -I${PLUGIN} -I${DRIVER} \
+ -I${LOCALBASE}/include \
+ -I${LOCALBASE}/include/tqt3 \
+ -I${LOCALBASE}/include/postgresql/server \
+ ${PTHREAD_CFLAGS} -DTQT_THREAD_SUPPORT
+LDADD= -L${LOCALBASE}/lib \
+ ${PTHREAD_LIBS} -ltqt-mt -lpq
+SRCS= main.cpp qsql_${DB}.cpp
+
+LIBDIR= ${PREFIX}/lib/tqt3/plugins/sqldrivers
+
+${DESTDIR}${LIBDIR}:
+ mkdir -p ${DESTDIR}${LIBDIR}
+
+beforeinstall: ${DESTDIR}${LIBDIR}
+
+.include <bsd.lib.mk>