New port: devel/mustache: Mustache text templates for modern C++

This commit is contained in:
Yuri Victorovich 2020-04-10 16:35:44 +00:00
parent f58be5aac3
commit 5f8e2567c7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=531329
4 changed files with 41 additions and 0 deletions

View file

@ -1550,6 +1550,7 @@
SUBDIR += mspdebug
SUBDIR += mstch
SUBDIR += mtbl
SUBDIR += mustache
SUBDIR += mutagen
SUBDIR += myrepos
SUBDIR += nana

29
devel/mustache/Makefile Normal file
View file

@ -0,0 +1,29 @@
# $FreeBSD$
PORTNAME= mustache
DISTVERSIONPREFIX= v
DISTVERSION= 4.0
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org
COMMENT= Mustache text templates for modern C++
LICENSE= BSL
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake
USE_GITHUB= yes
GH_ACCOUNT= kainjow
GH_PROJECT= Mustache
NO_ARCH= yes
NO_BUILD= yes
PLIST_FILES= include/kainjow/catch.hpp \
include/kainjow/mustache.hpp
do-install: # https://github.com/kainjow/Mustache/issues/39
${MKDIR} ${STAGEDIR}${PREFIX}/include/${GH_ACCOUNT}
${INSTALL_DATA} ${WRKSRC}/*.hpp ${STAGEDIR}${PREFIX}/include/${GH_ACCOUNT}
.include <bsd.port.mk>

3
devel/mustache/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1586534737
SHA256 (kainjow-Mustache-v4.0_GH0.tar.gz) = 17129681ee207404409d71bdc649f08d47029e3dea0ef68e5cd47868de1be23c
SIZE (kainjow-Mustache-v4.0_GH0.tar.gz) = 98745

8
devel/mustache/pkg-descr Normal file
View file

@ -0,0 +1,8 @@
Mustache implementation for modern C++ (requires C++11).
Features:
* Header only
* Zero dependencies
* Templated string type for compatibility with any STL-like string (std::string, std::wstring, etc)
WWW: https://github.com/kainjow/Mustache