We patch Qt to install into $LOCALBASE/lib/qt5, but the CMake bits of Qt go into $LOCALBASE; this mismatch of installation- prefixes means that the CMake Config files are generated with an incorrect number of "../" components, and end up looking in the wrong prefix. Symptom is this: The package "Qt5DocTools" references the file "/usr/lib/qt5/bin/qdoc" The logic to use the correct path is there, but not selected when writing out the Config file. Delete all the ones we don't want, rather than letting qmake / whatever text-substitution tool is in the build do it. Suggested by: tcberner
23 lines
602 B
Makefile
23 lines
602 B
Makefile
PORTNAME= qdoc
|
|
PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH}
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel textproc
|
|
PKGNAMEPREFIX= qt5-
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Qt documentation generator
|
|
|
|
BUILD_DEPENDS= llvm${LLVM_DEFAULT}>=0:devel/llvm${LLVM_DEFAULT}
|
|
RUN_DEPENDS= llvm${LLVM_DEFAULT}>=0:devel/llvm${LLVM_DEFAULT}
|
|
|
|
USES= compiler:c++11-lang qmake qt-dist:5,tools
|
|
USE_QT= core declarative buildtools_build qdoc-data_run
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME}
|
|
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
|
|
|
CONFIGURE_ENV= LLVM_INSTALL_DIR=${LOCALBASE}/llvm${LLVM_DEFAULT}
|
|
|
|
QT_BINARIES= yes
|
|
|
|
.include <bsd.port.mk>
|