2007-02-05 21:56:24 +01:00
|
|
|
# -*-mode: makefile-*-
|
|
|
|
# New ports collection makefile for: qt-odbc-plugin
|
|
|
|
# Date created: 31 December 2003
|
|
|
|
# Whom: Michael Nottebrock <lofi@freebsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= qt4-${DB}-plugin
|
2007-07-16 12:12:15 +02:00
|
|
|
PORTVERSION= ${QT4_VERSION}
|
2007-02-05 21:56:24 +01:00
|
|
|
CATEGORIES= databases
|
|
|
|
|
2007-07-16 12:12:15 +02:00
|
|
|
MAINTAINER= kde@FreeBSD.org
|
2007-02-05 21:56:24 +01:00
|
|
|
COMMENT= Qt ODBC database plugin
|
|
|
|
|
|
|
|
DB= odbc
|
|
|
|
|
2010-01-21 22:13:21 +01:00
|
|
|
LIB_DEPENDS+= iodbc.3:${PORTSDIR}/databases/libiodbc
|
2009-01-24 00:46:26 +01:00
|
|
|
|
2007-07-16 12:12:15 +02:00
|
|
|
USE_QT_VER= 4
|
2007-08-03 00:37:40 +02:00
|
|
|
QT_COMPONENTS= moc_build sql
|
2007-07-16 12:12:15 +02:00
|
|
|
QT_NONSTANDARD= yes
|
2010-01-21 22:13:21 +01:00
|
|
|
QT_DIST= yes
|
2009-08-04 22:04:38 +02:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2007-02-05 21:56:24 +01:00
|
|
|
|
|
|
|
DRIVER= src/sql/drivers/${DB}
|
2007-07-13 02:04:21 +02:00
|
|
|
PLUGIN= src/plugins/sqldrivers/${DB}
|
2007-02-05 21:56:24 +01:00
|
|
|
EXTRACT_AFTER_ARGS?=| ${TAR} -xf - \
|
2007-07-16 12:12:15 +02:00
|
|
|
${DISTNAME}/${DRIVER} \
|
|
|
|
${DISTNAME}/${PLUGIN}
|
2007-02-05 21:56:24 +01:00
|
|
|
MAKEFILE= ${FILESDIR}/Makefile.bsd
|
2007-07-16 12:12:15 +02:00
|
|
|
MAKE_ENV+= DB="${DB}" DRIVER="${DRIVER}" MOC="${MOC}" \
|
2007-07-13 02:04:21 +02:00
|
|
|
PLUGIN="${PLUGIN}" \
|
2007-02-05 21:56:24 +01:00
|
|
|
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
2009-08-04 22:04:38 +02:00
|
|
|
PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
|
|
|
QT_INCDIR="${QT_INCDIR}" \
|
|
|
|
QT_LIBDIR="${QT_LIBDIR}"
|
2007-02-05 21:56:24 +01:00
|
|
|
PLIST_SUB= DB=${DB}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|