ports/devel/qt5-qdoc/Makefile
Adriaan de Groot bb37ab2478 Make devel/qt5-qdoc use LLVM_DEFAULT instead of hard-coded version
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
2019-08-11 17:37:57 +00:00

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>