New port: devel/mstch: Complete implementation of {{mustache}} templates using modern C++

This commit is contained in:
Yuri Victorovich 2019-06-17 00:10:22 +00:00
parent 69a055bbed
commit 1afcfd69c9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=504380
6 changed files with 49 additions and 0 deletions

View file

@ -1560,6 +1560,7 @@
SUBDIR += msgpuck
SUBDIR += msp430-debug-stack
SUBDIR += mspdebug
SUBDIR += mstch
SUBDIR += mtbl
SUBDIR += mutagen
SUBDIR += myrepos

23
devel/mstch/Makefile Normal file
View file

@ -0,0 +1,23 @@
# $FreeBSD$
PORTNAME= mstch
DISTVERSION= 1.0.2-1
DISTVERSIONSUFFIX= -g0fde1cf
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org
COMMENT= Complete implementation of {{mustache}} templates using modern C++
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= boost-libs>0:devel/boost-libs
USES= cmake compiler:c++11-lang
USE_GITHUB= yes
GH_ACCOUNT= no1msd
USE_LDCONFIG= yes
CMAKE_ON= BUILD_SHARED_LIBS
.include <bsd.port.mk>

3
devel/mstch/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1560729411
SHA256 (no1msd-mstch-1.0.2-1-g0fde1cf_GH0.tar.gz) = 8b21ffe8c289fecd3dba6af3fc9c32d7544409c754d714f71d9f8bd15c2a56a6
SIZE (no1msd-mstch-1.0.2-1-g0fde1cf_GH0.tar.gz) = 24413

View file

@ -0,0 +1,11 @@
--- src/CMakeLists.txt.orig 2019-06-16 23:58:00 UTC
+++ src/CMakeLists.txt
@@ -22,7 +22,7 @@ set(SRC
token.cpp
utils.cpp)
-add_library(mstch STATIC ${SRC})
+add_library(mstch ${SRC})
set_property(TARGET mstch PROPERTY VERSION ${mstch_VERSION})

4
devel/mstch/pkg-descr Normal file
View file

@ -0,0 +1,4 @@
mstch is a complete implementation of {{mustache}} templates using modern C++.
It's compliant with specifications v1.1.3, including the lambda module.
WWW: https://github.com/no1msd/mstch

7
devel/mstch/pkg-plist Normal file
View file

@ -0,0 +1,7 @@
include/mstch/mstch.hpp
lib/cmake/mstch/mstch-config-version.cmake
lib/cmake/mstch/mstch-config.cmake
lib/cmake/mstch/mstch-targets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/mstch/mstch-targets.cmake
lib/libmstch.so
lib/libmstch.so.1.0.1