freebsd-ports/databases/qt4-ibase-plugin/Makefile
Michael Nottebrock ee279d859f During regression testing the WIP Qt 4.3.0 ports, I found that the sql
driver plugins were all broken - even in the current ports! :(

I am quite astonished nobody complained about this yet. Is there nobody
developing applications with database backends using Qt4 on FreeBSD? The
ports let you use the QtSql library and the database plugins without any
X11 dependencies! Using Qt for database frontends has never been so
attractive!

Anyway, this should fix the plugins.
2007-07-13 00:04:21 +00:00

39 lines
1 KiB
Makefile

# -*-mode: makefile-*-
# New ports collection makefile for: qt-ibase-plugin
# Date created: 27 February 2004
# Whom: Michael Nottebrock <lofi@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= qt4-${DB}-plugin
PORTVERSION= 4.2.3
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_QT}
DISTNAME= qt-x11-opensource-src-${PORTVERSION}
DIST_SUBDIR= KDE
MAINTAINER= kde@freebsd.org
COMMENT= Qt IBase/Firebird database plugin
DB= ibase
LIB_DEPENDS+= gds:${PORTSDIR}/databases/firebird-client \
QtSql:${PORTSDIR}/databases/qt4-sql
#USE_BZIP2= yes
DRIVER= src/sql/drivers/${DB}
PLUGIN= src/plugins/sqldrivers/${DB}
EXTRACT_AFTER_ARGS?=| ${TAR} -xf - \
${DISTNAME}/${DRIVER} ${DISTNAME}/${PLUGIN} \
${DISTNAME}/include/QtSql \
${DISTNAME}/src/sql/kernel
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>