diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2018-06-28 17:39:53 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2018-06-28 17:39:53 +0000 |
commit | b1a1d38bf9ef78334b640d30046388a9c055c3a9 (patch) | |
tree | 7b9785f1f0c244da1f5b69a2a610e3f37eb786a8 /graphics/engauge-digitizer/Makefile | |
parent | bc77780d41178cf3d0327c79ac10737af704f236 (diff) | |
download | ports-b1a1d38bf9ef78334b640d30046388a9c055c3a9.tar.gz ports-b1a1d38bf9ef78334b640d30046388a9c055c3a9.zip |
Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
USES= qt:4
USE_QT= foo bar
ports depending on Qt5 will use
USES= qt:5
USE_QT= foo bar
PR: 229225
Exp-run by: antoine
Reviewed by: mat
Approved by: portmgr (antoine)
Differential Revision: →https://reviews.freebsd.org/D15540
Notes
Notes:
svn path=/head/; revision=473503
Diffstat (limited to 'graphics/engauge-digitizer/Makefile')
-rw-r--r-- | graphics/engauge-digitizer/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/engauge-digitizer/Makefile b/graphics/engauge-digitizer/Makefile index 1edf8d9411f4..efda8ed9b847 100644 --- a/graphics/engauge-digitizer/Makefile +++ b/graphics/engauge-digitizer/Makefile @@ -18,10 +18,10 @@ LIB_DEPENDS= libfftw3.so:math/fftw3 \ libopenjp2.so:graphics/openjpeg \ libpoppler-qt5.so:graphics/poppler-qt5 -USES= desktop-file-utils qmake +USES= desktop-file-utils qmake qt:5 USE_GITHUB= yes GH_ACCOUNT= markummitchell -USE_QT5= core gui printsupport sql xml widgets buildtools_build +USE_QT= core gui printsupport sql xml widgets buildtools_build USE_GL= gl CONFIGURE_ENV= OPENJPEG_INCLUDE=${PREFIX}/include/openjpeg-2.3 OPENJPEG_LIB=${PREFIX}/lib \ POPPLER_INCLUDE=${PREFIX}/include/poppler/qt5 POPPLER_LIB=${PREFIX}/lib @@ -30,7 +30,7 @@ QMAKE_ARGS= "CONFIG+=jpeg2000 pdf" OPTIONS_DEFINE= NLS DOCS OPTIONS_SUB= yes -DOCS_USE= QT5=help,linguist_build +DOCS_USE= QT=help,linguist_build do-patch-NLS-on: @${REINPLACE_CMD} -e 's|QCoreApplication::applicationDirPath () + "/translations",|"${DATADIR}/translations",|' ${WRKSRC}/src/Translator/TranslatorContainer.cpp |