freebsd-ports/databases/qt4-pgsql-plugin/Makefile
Raphael Kubo da Costa ecda38b0a5 Update Qt to 4.8.5 and Qt Creator to 2.8.0.
Proudly brought to you by the KDE on FreeBSD team, with commits by makc@,
Schaich Alonso and yours truly.

Besides the tons of upstream fixes, we have mkspecs for GCC 4.9 and clang33
(from ports), staging support in the Makefiles and dependency fixes related
to pkg-config.

Many thanks to the people who helped test the ports using our area51
repository, and also to the people who provided patches and bug reports via
GNATS!

PR:		ports/180615
	        ports/181921
		ports/182049
2013-10-13 23:15:50 +00:00

37 lines
890 B
Makefile

# Created by: Lauri Watts <lauri@kde.org>
# $FreeBSD$
PORTNAME= qt4-${DB}-plugin
DISTVERSION= ${QT4_VERSION}
CATEGORIES= databases
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt PostgreSQL database plugin
DB= psql
USE_QT4= moc_build sql
QT_NONSTANDARD= yes
QT_DIST= yes
USE_PGSQL= yes
DRIVER= src/sql/drivers/${DB}
PLUGIN= src/plugins/sqldrivers/${DB}
EXTRACT_AFTER_ARGS?= ${DISTNAME}/${DRIVER} \
${DISTNAME}/${PLUGIN}
MAKEFILE= ${FILESDIR}/Makefile.bsd
MAKE_ENV+= DB="${DB}" DRIVER="${DRIVER}" MOC="${MOC}" \
PLUGIN="${PLUGIN}" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
QT_INCDIR="${QT_INCDIR}" \
QT_LIBDIR="${QT_LIBDIR}"
PLIST_SUB= DB=${DB}
SQL_PLUGINDIR= ${PREFIX}/${QT_PLUGINDIR_REL}/sqldrivers
do-install:
@${MKDIR} ${STAGEDIR}${SQL_PLUGINDIR}
${INSTALL_LIB} ${WRKSRC}/libqsql${DB}.so ${STAGEDIR}${SQL_PLUGINDIR}
.include <bsd.port.mk>