0b055d47f2
- Switch to C++14 for libboost_system to support C++14 consumers Changes: http://www.boost.org/users/history/version_1_68_0.html PR: 229569 Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D16165
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
# Created by: Cristiano Rolim Pereira <cristianorolim@outlook.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= vera++
|
|
PORTVERSION= 1.3.0
|
|
PORTREVISION= 9
|
|
CATEGORIES= devel
|
|
MASTER_SITES= https://bitbucket.org/verateam/vera/downloads/
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
${DISTNAME}-doc${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= cristianorolim@outlook.com
|
|
COMMENT= Tool for verification of C++ source code
|
|
|
|
LICENSE= BSL
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE_1_0.txt
|
|
|
|
BUILD_DEPENDS= boost-libs>=0:devel/boost-libs
|
|
|
|
USES= cmake:outsource tk
|
|
|
|
CMAKE_ARGS+= -DTCL_INCLUDE_PATH=${TCL_INCLUDEDIR} \
|
|
-DTK_INCLUDE_PATH=${TK_INCLUDEDIR} \
|
|
-DVERA_USE_SYSTEM_BOOST:BOOL=ON
|
|
|
|
PLIST_FILES= bin/vera++ man/man1/vera++.1.gz
|
|
|
|
DATADIR= ${PREFIX}/lib/${PORTNAME}
|
|
PORTDATA= *
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS LUA PYTHON
|
|
OPTIONS_DEFAULT= LUA PYTHON
|
|
|
|
PYTHON_CMAKE_OFF= -DVERA_PYTHON:BOOL=OFF
|
|
PYTHON_CMAKE_ON= -DVERA_PYTHON:BOOL=ON
|
|
PYTHON_LIB_DEPENDS= ${PY_BOOST}
|
|
PYTHON_USES= python:2.7
|
|
LUA_CMAKE_OFF= -DVERA_LUA:BOOL=OFF
|
|
LUA_CMAKE_ON= -DVERA_LUA:BOOL=ON
|
|
LUA_LIB_DEPENDS= libluabind.so:devel/luabind
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/^add_subdirectory(doc/d' \
|
|
${WRKSRC}/CMakeLists.txt
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKDIR}/vera++.1 ${STAGEDIR}${PREFIX}/man/man1
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKDIR}/vera++.html ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|