pkgsrc/devel/go-glog/Makefile
bsiegert 3301db0426 New package, go-glog.
Package glog implements logging analogous to the Google-internal
C++ INFO/ERROR/V setup.  It provides functions Info, Warning,
Error, Fatal, plus formatting variants such as Infof. It
also provides V-style logging controlled by the -v and
-vmodule=file=2 flags.

This is an efficient pure Go implementation of leveled logs in the
manner of the open source C++ package
	https://github.com/google/glog
	(pkgsrc/devel/google-glog)

By binding methods to booleans it is possible to use the log package
without paying the expense of evaluating the arguments to the log.
Through the -vmodule flag, the package also provides fine-grained
control over logging at the file level.
2016-09-11 08:15:43 +00:00

18 lines
460 B
Makefile

# $NetBSD: Makefile,v 1.1 2016/09/11 08:15:43 bsiegert Exp $
#
DISTNAME= go-glog-20160125
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=golang/}
GITHUB_PROJECT= glog
GITHUB_TAG= 23def4e
HOMEPAGE= http://godoc.org/${GO_SRCPATH}
COMMENT= Leveled execution logs for Go
LICENSE= apache-2.0
GO_SRCPATH= github.com/golang/glog
GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG}*
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"