freebsd-ports/x11-toolkits/qwt6/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

40 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= qwt
PORTVERSION= 6.1.4
PORTREVISION= 2
CATEGORIES= x11-toolkits
MASTER_SITES= SF
PKGNAMESUFFIX= 6-qt5
MAINTAINER= lbartoletti@tuxfamily.org
COMMENT= Qt Widgets for Technical Applications
USES= compiler:c++11-lang gl gmake qmake qt:5 tar:bzip2
USE_GL= gl
USE_QT= buildtools_build widgets gui core designer gui opengl svg xml printsupport concurrent
USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL}
DOCSDIR= ${PREFIX}/share/doc/qwt6-qt5
PORTDOCS= *
PLIST_SUB= SHLIB_VER=${PORTVERSION} \
SHLIB_SHVER=${PORTVERSION:R}
QMAKE_ARGS+= PLUGINDIR=${PREFIX}/${QT_PLUGINDIR_REL}
PLIST_FILES= ${PREFIX}/${QT_PLUGINDIR_REL}/designer/libqwt6_designer_plugin.so
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/INSTALLS.*doc/d' ${WRKSRC}/doc/doc.pro
@${REINPLACE_CMD} -e 's/%%QT_VERSION%%/5/g' \
-e 's|%%QT_INCDIR%%|${QT_INCDIR}|g' \
-e 's|%%QT_LIBDIR%%|${QT_LIBDIR}|g' \
-e 's|%%QT_MKSPECDIR%%|${QT_MKSPECDIR}|g' \
${WRKSRC}/qwtconfig.pri
post-install-DOCS-on:
@(cd ${WRKSRC}/doc/html/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>