1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00

Add nglogc 1.1.0, flexible C logging API.

PR:		ports/175691
Submitted by:	Gvozdikov Veniamin <g.veniamin@googlemail.com>
This commit is contained in:
Vanilla I. Shu 2013-01-31 00:58:29 +00:00
parent 4def8bcfac
commit 0da441f125
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311282
7 changed files with 104 additions and 0 deletions

View File

@ -1250,6 +1250,7 @@
SUBDIR += netscape-java40
SUBDIR += newfile
SUBDIR += newt
SUBDIR += nglogc
SUBDIR += nini
SUBDIR += ninja
SUBDIR += ninja-ide

47
devel/nglogc/Makefile Normal file
View File

@ -0,0 +1,47 @@
# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
# $FreeBSD$
PORTNAME= nglogc
PORTVERSION= 1.1.0
CATEGORIES= devel
MASTER_SITES= GOOGLE_CODE
MAINTAINER= g.veniamin@googlemail.com
COMMENT= Flexible C logging API
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
MAN3= \
logc_changeLogLevel.3 \
logc_defines.3 \
logc_log.3 \
logc_logArray.3 \
logc_logArrayBasic.3 \
logc_logArrayFine.3 \
logc_logArrayFinest.3 \
logc_logArrayInfo.3 \
logc_logArrayWarning.3 \
logc_logBasic.3 \
logc_logEnter.3 \
logc_logError.3 \
logc_logErrorBasic.3 \
logc_logErrorFine.3 \
logc_logErrorFinest.3 \
logc_logErrorInfo.3 \
logc_logErrorWarning.3 \
logc_logFine.3 \
logc_logFinest.3 \
logc_logInfo.3 \
logc_logLeave.3 \
logc_logWarning.3 \
logc_logger.3 \
logc_readRingbuffer.3 \
logc_registerLogger.3 \
logc_removeLogger.3 \
logc_resetRingbuffer.3 \
logc_setLogFile.3 \
logc_setLogFormat.3 \
logc_setRingbuffer.3
.include <bsd.port.mk>

2
devel/nglogc/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (nglogc-1.1.0.tar.gz) = 5b994fabb791edf1f65ac62fe0551fbf595e7dc2a38d1ee79701adac54817b29
SIZE (nglogc-1.1.0.tar.gz) = 466794

View File

@ -0,0 +1,10 @@
--- src/nglogc/Makefile.am.orig 2013-01-30 10:33:19.426104658 +0400
+++ src/nglogc/Makefile.am 2013-01-30 10:33:43.512184313 +0400
@@ -51,6 +51,7 @@
nflf_logtrace.h \
nflf_logarray.h \
nflf_logerror.h \
+ ringbuffer.h \
types.h \
log_priv.h

View File

@ -0,0 +1,10 @@
--- src/nglogc/Makefile.in.orig 2013-01-30 10:33:50.121624340 +0400
+++ src/nglogc/Makefile.in 2013-01-30 10:34:05.433457827 +0400
@@ -269,6 +269,7 @@
nflf_logtrace.h \
nflf_logarray.h \
nflf_logerror.h \
+ ringbuffer.h \
types.h \
log_priv.h

13
devel/nglogc/pkg-descr Normal file
View File

@ -0,0 +1,13 @@
The intention of the nglogc library is to provide an easy to use and powerful
logging API with mechanism which allows to cram source codes with log
statements at the start of implementation and decide at the level of building
or at runtime which statements should be processed.
Therefore the log statements could be controlled by various log levels and
define switches are available to completely remove the call of the functions at
pre-processor time. So it is possible to switch on the logging only if it is
necessary or only print selected messages without any changes in the source
code. Different publishers are provided also as different formats of outputs to
fulfil the requirements for software development.
WWW: http://code.google.com/p/nglogc/

21
devel/nglogc/pkg-plist Normal file
View File

@ -0,0 +1,21 @@
include/nglogc/flf_log.h
include/nglogc/flf_logarray.h
include/nglogc/flf_logerror.h
include/nglogc/flf_logtrace.h
include/nglogc/log.h
include/nglogc/log_priv.h
include/nglogc/logger.h
include/nglogc/logger_type.h
include/nglogc/nflf_log.h
include/nglogc/nflf_logarray.h
include/nglogc/nflf_logerror.h
include/nglogc/nflf_logtrace.h
include/nglogc/ringbuffer.h
include/nglogc/types.h
lib/libnglogc.a
lib/libnglogc.la
lib/libnglogc.so
lib/libnglogc.so.0
%%DOCSDIR%%/nglogc_manual.pdf
@dirrm %%DOCSDIR%%
@dirrm include/nglogc