freebsd-ports/x11-toolkits/qt5-charts/Makefile
Tobias C. Berner f38d6cb92b Fix build of x11-toolkits/qt5-charts after r427356.
Unfortunately due to a wrong assumption, I missed the new
port x11-toolkits/qt5-charts in r427356, so this port
wrongly used QT_LIBDIR while not being part of QT_DIST (yet).

While here, also add a patch to install the pkgconfig file
to the proper location (another error, caused by not
being QT_DIST-ed).

Approved by: rakuco (mentor)
2016-12-02 11:29:19 +00:00

30 lines
682 B
Makefile

# $FreeBSD$
PORTNAME= charts
DISTVERSIONPREFIX= release-
DISTVERSION= 2.1.0
PORTREVISION= 1
CATEGORIES= x11-toolkits
PKGNAMEPREFIX= qt5-
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt 5 charts module
USES= qmake
USE_GL= gl
USE_QT5= core network gui widgets qml quick designer \
buildtools_build qmake_build
DESCR= ${.CURDIR:H:H}/devel/${_QT_RELNAME}/pkg-descr
USE_GITHUB= yes
GH_ACCOUNT= qt
GH_PROJECT= qtcharts
pre-configure:
# Manually run syncqt. This can be dropped with the update to 5.7.0 as syncqt
# is run upstream when creating the tarball.
${MKDIR} ${CONFIGURE_WRKSRC}
cd ${CONFIGURE_WRKSRC} && ${QT_BINDIR}/syncqt.pl -version ${PORTVERSION}
.include <bsd.port.mk>