forked from Lainports/freebsd-ports
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
40 lines
850 B
Makefile
40 lines
850 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= qjson
|
|
DISTVERSION= 0.9.0
|
|
PORTREVISION= 6
|
|
CATEGORIES= devel
|
|
PKGNAMESUFFIX= -qt5
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Library to manage JSON objects with Qt
|
|
|
|
LICENSE= LGPL21
|
|
LICENSE_FILE= ${WRKSRC}/COPYING.lib
|
|
|
|
USES= cmake compiler:c++11-lang pathfix qt:5
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= flavio
|
|
USE_LDCONFIG= yes
|
|
USE_QT= core buildtools_build qmake_build
|
|
CMAKE_OFF= QT4_BUILD
|
|
QT_SUFFIX= -qt5
|
|
|
|
_DOCSDIR= ${DOCSDIR}${QT_SUFFIX}
|
|
DOCSDIR_REL= ${_DOCSDIR:S,^${PREFIX}/,,}
|
|
PLIST_SUB+= QT_SUFFIX="${QT_SUFFIX}" \
|
|
PORTVERSION="${PORTVERSION}"
|
|
|
|
OPTIONS_DEFINE= DOXYGEN
|
|
OPTIONS_SUB= yes
|
|
|
|
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
|
|
|
|
post-build-DOXYGEN-on:
|
|
cd ${WRKSRC}/doc && doxygen
|
|
|
|
post-install-DOXYGEN-on:
|
|
${MKDIR} ${STAGEDIR}${_DOCSDIR}
|
|
cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${STAGEDIR}${_DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|