mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 22:30:38 -04:00
Having the version hard-coded makes it hard to chase LLVM updates; having a different LLVM version from the rest of the stack -- in particular from what mesa uses -- means building an extra LLVM just for parsing documentation from Qt modules. linimon@ suggests using an easily-spotted variable in PR 239740 but we can go one better and just use the LLVM that's there. PR: 239740 Submitted by: linimon
25 lines
613 B
Makefile
25 lines
613 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= qdoc
|
|
DISTVERSION= ${QT5_VERSION}
|
|
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}
|
|
|
|
PLIST_FILES= ${QT_BINDIR}/qdoc
|
|
|
|
CONFIGURE_ENV= LLVM_INSTALL_DIR=${LOCALBASE}/llvm${LLVM_DEFAULT}
|
|
|
|
.include <bsd.port.mk>
|