2007-02-05 21:56:24 +01:00
|
|
|
# -*-mode: makefile-*-
|
|
|
|
# New ports collection makefile for: qt-mysql-plugin
|
|
|
|
# Date created: 20 April 2003
|
|
|
|
# Whom: Kay Lehmann <kay_lehmann@web.de>
|
|
|
|
#
|
|
|
|
# $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
|
|
|
|
MASTER_SITES= ${MASTER_SITE_QT}
|
|
|
|
DISTNAME= qt-x11-opensource-src-${PORTVERSION}
|
|
|
|
DIST_SUBDIR= KDE
|
|
|
|
|
2007-07-16 12:12:15 +02:00
|
|
|
MAINTAINER= kde@FreeBSD.org
|
2007-02-05 21:56:24 +01:00
|
|
|
COMMENT= Qt MySQL database plugin
|
|
|
|
|
|
|
|
DB= mysql
|
|
|
|
|
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
|
2007-02-05 21:56:24 +01:00
|
|
|
|
|
|
|
USE_MYSQL= yes
|
|
|
|
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}" \
|
|
|
|
PTHREAD_LIBS="${PTHREAD_LIBS}"
|
|
|
|
PLIST_SUB= DB=${DB}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|