aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorriggs <riggs@FreeBSD.org>2015-05-02 02:46:53 +0800
committerriggs <riggs@FreeBSD.org>2015-05-02 02:46:53 +0800
commite6777d32d594d1ea5ab4d2158955d06e75d7055c (patch)
treed2a83fdabb4ed8885dfcdb124273d171cc9ccebf /devel
parente01df40d6755aaaa6336beebda24191dc9d59edd (diff)
downloadfreebsd-ports-gnome-e6777d32d594d1ea5ab4d2158955d06e75d7055c.tar.gz
freebsd-ports-gnome-e6777d32d594d1ea5ab4d2158955d06e75d7055c.tar.zst
freebsd-ports-gnome-e6777d32d594d1ea5ab4d2158955d06e75d7055c.zip
- Update to upstream version 1.3.0
- Retire pkg-plist in favor of PLIST_FILES entries PR: 199609 Submitted by: lightside@gmx.com Reviewed by: cristianorolim@outlook.com (maintainer)
Diffstat (limited to 'devel')
-rw-r--r--devel/vera++/Makefile30
-rw-r--r--devel/vera++/distinfo8
-rw-r--r--devel/vera++/pkg-plist44
3 files changed, 32 insertions, 50 deletions
diff --git a/devel/vera++/Makefile b/devel/vera++/Makefile
index b38eb3291e3d..a0bdb4676f53 100644
--- a/devel/vera++/Makefile
+++ b/devel/vera++/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= vera++
-PORTVERSION= 1.2.1
+PORTVERSION= 1.3.0
CATEGORIES= devel
MASTER_SITES= https://bitbucket.org/verateam/vera/downloads/
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz \
@@ -11,14 +11,40 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz \
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:${PORTSDIR}/devel/boost-libs
USES= cmake:outsource tk
CMAKE_ARGS+= -DTCL_INCLUDE_PATH=${TCL_INCLUDEDIR} \
- -DTK_INCLUDE_PATH=${TK_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= libboost_python.so:${PORTSDIR}/devel/boost-python-libs
+LUA_CMAKE_OFF= -DVERA_LUA:BOOL=OFF
+LUA_CMAKE_ON= -DVERA_LUA:BOOL=ON
+LUA_LIB_DEPENDS= libluabind.so:${PORTSDIR}/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>
diff --git a/devel/vera++/distinfo b/devel/vera++/distinfo
index 4ff7f4d729a7..d385e63c0213 100644
--- a/devel/vera++/distinfo
+++ b/devel/vera++/distinfo
@@ -1,4 +1,4 @@
-SHA256 (vera++-1.2.1.tar.gz) = 99b123c8f6d0f4fe9ee90397c461179066a36ed0d598d95e015baf2d3b56956b
-SIZE (vera++-1.2.1.tar.gz) = 72539
-SHA256 (vera++-1.2.1-doc.tar.gz) = 0b3a94ce19812dac8726df5c6913dd5792ac28f0b38646c73ec4f9e2a5db0a1a
-SIZE (vera++-1.2.1-doc.tar.gz) = 29219
+SHA256 (vera++-1.3.0.tar.gz) = 9415657a09438353489db10ca860dd6459e446cfd9c649a1a2e02268da66f270
+SIZE (vera++-1.3.0.tar.gz) = 90690
+SHA256 (vera++-1.3.0-doc.tar.gz) = 122a15e33a54265d62a6894974ca2f0a8f6ff98742cf8e6152d310cc23099400
+SIZE (vera++-1.3.0-doc.tar.gz) = 31141
diff --git a/devel/vera++/pkg-plist b/devel/vera++/pkg-plist
deleted file mode 100644
index bc6d93b6edec..000000000000
--- a/devel/vera++/pkg-plist
+++ /dev/null
@@ -1,44 +0,0 @@
-bin/vera++
-lib/vera++/profiles/boost
-lib/vera++/profiles/default
-lib/vera++/profiles/full
-lib/vera++/scripts/rules/DUMP.tcl
-lib/vera++/scripts/rules/F001.tcl
-lib/vera++/scripts/rules/F002.tcl
-lib/vera++/scripts/rules/L001.tcl
-lib/vera++/scripts/rules/L002.tcl
-lib/vera++/scripts/rules/L003.tcl
-lib/vera++/scripts/rules/L004.tcl
-lib/vera++/scripts/rules/L005.tcl
-lib/vera++/scripts/rules/L006.tcl
-lib/vera++/scripts/rules/T001.tcl
-lib/vera++/scripts/rules/T002.tcl
-lib/vera++/scripts/rules/T003.tcl
-lib/vera++/scripts/rules/T004.tcl
-lib/vera++/scripts/rules/T005.tcl
-lib/vera++/scripts/rules/T006.tcl
-lib/vera++/scripts/rules/T007.tcl
-lib/vera++/scripts/rules/T008.tcl
-lib/vera++/scripts/rules/T009.tcl
-lib/vera++/scripts/rules/T010.tcl
-lib/vera++/scripts/rules/T011.tcl
-lib/vera++/scripts/rules/T012.tcl
-lib/vera++/scripts/rules/T013.tcl
-lib/vera++/scripts/rules/T014.tcl
-lib/vera++/scripts/rules/T015.tcl
-lib/vera++/scripts/rules/T016.tcl
-lib/vera++/scripts/rules/T017.tcl
-lib/vera++/scripts/rules/T018.tcl
-lib/vera++/scripts/rules/T019.tcl
-lib/vera++/scripts/transformations/move_includes.tcl
-lib/vera++/scripts/transformations/move_macros.tcl
-lib/vera++/scripts/transformations/move_namespace.tcl
-lib/vera++/scripts/transformations/to_lower.tcl
-lib/vera++/scripts/transformations/to_xml.tcl
-lib/vera++/scripts/transformations/to_xml2.tcl
-lib/vera++/scripts/transformations/trim_right.tcl
-lib/vera++/test_wrapper.cmake.in
-lib/vera++/use_vera++.cmake
-lib/vera++/vera++-config-version.cmake
-lib/vera++/vera++-config.cmake
-man/man1/vera++.1.gz