pkgsrc/devel/go-glog/buildlink3.mk
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

15 lines
401 B
Makefile

# $NetBSD: buildlink3.mk,v 1.1 2016/09/11 08:15:43 bsiegert Exp $
BUILDLINK_TREE+= go-glog
.if !defined(GO_GLOG_BUILDLINK3_MK)
GO_GLOG_BUILDLINK3_MK:=
BUILDLINK_CONTENTS_FILTER.go-glog= ${EGREP} gopkg/
BUILDLINK_DEPMETHOD.go-glog?= build
BUILDLINK_API_DEPENDS.go-glog+= go-glog>=20160125
BUILDLINK_PKGSRCDIR.go-glog?= ../../devel/go-glog
.endif # GO_GLOG_BUILDLINK3_MK
BUILDLINK_TREE+= -go-glog