summaryrefslogtreecommitdiffstats
path: root/freebsd/dependencies/tqt3-ibase-plugin/Makefile
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-ibase-plugin/Makefile
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-ibase-plugin/Makefile')
-rw-r--r--freebsd/dependencies/tqt3-ibase-plugin/Makefile47
1 files changed, 47 insertions, 0 deletions
diff --git a/freebsd/dependencies/tqt3-ibase-plugin/Makefile b/freebsd/dependencies/tqt3-ibase-plugin/Makefile
new file mode 100644
index 000000000..4200ddb9c
--- /dev/null
+++ b/freebsd/dependencies/tqt3-ibase-plugin/Makefile
@@ -0,0 +1,47 @@
+# -*-mode: makefile-*-
+# Created by: slavek.banko@axis.cz
+# $FreeBSD$
+#
+# TDE port map: dependencies/tqt3-ibase-plugin > databases/tqt3-ibase-plugin
+
+PORTSDIR?=/usr/ports
+.include <${PORTSDIR}/Mk/bsd.trinity.mk>
+
+PORTNAME= tqt3-${DB}-plugin
+COMMENT= TQt3 Firebird/IBase database plugin
+TDE_PREVERSION=
+MASTER_SITE_SUBDIR= t/tqt-x11-free
+DISTNAME= tqt-x11-free_${TDE_VERSION}${TDE_PREVERSION:C/(~(pre|r|s)[0-9]*).*/\1/1}
+DISTSRC= tqt3-trinity-${TDE_VERSION}${TDE_PREVERSION}
+PORTREVISION= 0
+CATEGORIES= databases
+DIST_SUBDIR= TDE/dependencies
+PREFIX= ${LOCALBASE}
+
+
+DB= ibase
+PLUGIN= plugins/src/sqldrivers/${DB}
+DRIVER= src/sql/drivers/${DB}
+
+# For TQt3 is used FreeBSD make
+# Remove gmake from USES
+USES=
+USES+= firebird
+
+EXTRACT_AFTER_ARGS+= \
+ ${EXTRACT_BASE}${PLUGIN} \
+ ${EXTRACT_BASE}${DRIVER} \
+ ${EXTRACT_BASE}src/sql/drivers/cache
+
+BUILD_DEPENDS+= tqmake:${PORTSDIR}/devel/tqmake
+
+LIB_DEPENDS+= libtqt-mt.so:${PORTSDIR}/x11-toolkits/tqt3
+
+MAKEFILE= ${FILESDIR}/Makefile.bsd
+
+MAKE_ENV+= DB="${DB}" DRIVER="${DRIVER}" PLUGIN="${PLUGIN}" \
+ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
+ PTHREAD_LIBS="${PTHREAD_LIBS}"
+PLIST_SUB= DB=${DB}
+
+.include <bsd.port.mk>