freebsd-ports/databases/qt-pgsql-plugin/Makefile
Tilman Keskinoz e4adbd9e14 Add the qt-pgsql-plugin, which provides easy access to PostgreSQL Databases
from Qt Applications

Submitted by:	Lauri Watts <lauri@kde.org>
Reviewed by:	Neil Stevens <neil@qualityassistant.com>
2003-08-06 12:00:35 +00:00

37 lines
934 B
Makefile

# -*-mode: makefile-*-
# New ports collection makefile for: qt-pgsql-plugin
# Date created: 5 August 2003
# Whom: Lauri Watts <lauri@kde.org>
#
# $FreeBSD$
#
PORTNAME= qt-pgsql-plugin
PORTREVISION= 0
CATEGORIES= databases x11-toolkits
MAINTAINER= kde@freebsd.org
COMMENT= A plugin for QT to connect to PostgreSQL-Databases
LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7
USE_QT_VER= 3
QT_NONSTANDARD= yes
LDCONFIG_DIRS= %%PREFIX%%/lib/plugins/sqldrivers
CONFIGURE_ARGS= -plugin-sql-psql
CONFIGURE_ENV= ${ECHO} yes | MOC="${MOC}" CPPFLAGS="${QTCPPFLAGS}" \
LIBS="${QTCFGLIBS}" LOCALBASE="${LOCALBASE}"
BUILD_PLUGIN_ONLY= yes
do-build:
cd ${WRKSRC}/plugins/src/sqldrivers/psql; \
${SETENV} ${MAKE_ENV} ${GMAKE}
do-install:
@${MKDIR} ${PREFIX}/lib/plugins/sqldrivers
${INSTALL_DATA} ${WRKSRC}/plugins/sqldrivers/libqsqlpsql.so \
${PREFIX}/lib/plugins/sqldrivers/
.include "../../x11-toolkits/qt31/Makefile"