New port: devel/loguru: Lightweight and flexible C++ logging library

This commit is contained in:
Yuri Victorovich 2021-03-08 17:31:27 +00:00
parent b25fd71db7
commit a3dedeee2c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=567857
4 changed files with 39 additions and 0 deletions

View File

@ -1441,6 +1441,7 @@
SUBDIR += log4net
SUBDIR += log4sh
SUBDIR += log4shib
SUBDIR += loguru
SUBDIR += lokalize
SUBDIR += loki
SUBDIR += love

30
devel/loguru/Makefile Normal file
View File

@ -0,0 +1,30 @@
# $FreeBSD$
PORTNAME= loguru
DISTVERSIONPREFIX= v
DISTVERSION= 2.1.0-21
DISTVERSIONSUFFIX= -g2295c2b
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org
COMMENT= Lightweight and flexible C++ logging library
LICENSE= PD
USES= compiler:c++11-lang
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= emilk
NO_BUILD= yes
NO_ARCH= yes
PLIST_FILES= include/loguru.cpp \
include/loguru.hpp
do-install:
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.hpp ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.cpp ${STAGEDIR}${PREFIX}/include # #include <loguru.cpp> is recommended by the upstream
.include <bsd.port.mk>

3
devel/loguru/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1615223773
SHA256 (emilk-loguru-v2.1.0-21-g2295c2b_GH0.tar.gz) = fad5a5952526f679218358842b7e647d822f973af75ace706d9fc561a0605f7d
SIZE (emilk-loguru-v2.1.0-21-g2295c2b_GH0.tar.gz) = 246814

5
devel/loguru/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
loguru is a logging library that produces logs that are both human-readable and
easily greped. It can also hook into the logging process to print some of the
more severe messages on-screen.
WWW: https://github.com/emilk/loguru