2013-02-03 18:21:56 +01:00
|
|
|
# Created by: Lauri Watts <lauri@kde.org>
|
2007-02-05 21:56:24 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= qt4-${DB}-plugin
|
2010-12-02 20:47:17 +01:00
|
|
|
DISTVERSION= ${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 PostgreSQL database plugin
|
|
|
|
|
|
|
|
DB= psql
|
|
|
|
|
2012-06-06 08:44:37 +02:00
|
|
|
USE_QT4= moc_build sql
|
2010-01-21 22:13:21 +01:00
|
|
|
QT_DIST= yes
|
2007-02-05 21:56:24 +01:00
|
|
|
|
2014-11-22 21:40:08 +01:00
|
|
|
USES+= pgsql
|
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}
|
2013-04-29 10:57:12 +02:00
|
|
|
EXTRACT_AFTER_ARGS?= ${DISTNAME}/${DRIVER} \
|
2014-07-24 19:35:09 +02:00
|
|
|
${DISTNAME}/src/corelib \
|
2013-04-29 10:57:12 +02:00
|
|
|
${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}" \
|
2009-08-04 22:04:38 +02:00
|
|
|
QT_INCDIR="${QT_INCDIR}" \
|
|
|
|
QT_LIBDIR="${QT_LIBDIR}"
|
2007-02-05 21:56:24 +01:00
|
|
|
PLIST_SUB= DB=${DB}
|
|
|
|
|
2014-01-06 17:16:52 +01:00
|
|
|
EXTRA_PATCHES= # empty
|
|
|
|
|
2013-10-14 01:15:50 +02:00
|
|
|
SQL_PLUGINDIR= ${PREFIX}/${QT_PLUGINDIR_REL}/sqldrivers
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${STAGEDIR}${SQL_PLUGINDIR}
|
|
|
|
${INSTALL_LIB} ${WRKSRC}/libqsql${DB}.so ${STAGEDIR}${SQL_PLUGINDIR}
|
|
|
|
|
2007-02-05 21:56:24 +01:00
|
|
|
.include <bsd.port.mk>
|