Package pretty provides pretty-printing for go values. This is useful during

debugging, to avoid wrapping long output lines in the terminal.

This package also provides a convenience wrapper for each function in
package fmt that takes a format string.

www: https://github.com/kr/pretty.go

PR:		ports/162416
Submitted by:	Grzegorz Blach <magik@roorback.net>
Feature safe: yes
This commit is contained in:
Martin Wilke 2011-11-13 06:28:35 +00:00
parent fa31c5aeb3
commit ed2b5ef916
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285686
5 changed files with 37 additions and 0 deletions

View File

@ -2906,6 +2906,7 @@
SUBDIR += preps-gui
SUBDIR += prepstools
SUBDIR += present
SUBDIR += prettygo
SUBDIR += privman
SUBDIR += projectcenter.app
SUBDIR += projectmanager

24
devel/prettygo/Makefile Normal file
View File

@ -0,0 +1,24 @@
# New ports collection makefile for: pretty.go
# Date created: 4 Nov, 2010
# Whom: Grzegorz Blach <magik@roorback.net>
#
# $FreeBSD$
#
PORTNAME= prettygo
PORTVERSION= 20110611
CATEGORIES= devel
MASTER_SITES= http://files.roorback.net/
DISTNAME= pretty.go-${PORTVERSION}
MAINTAINER= magik@roorback.net
COMMENT= Pretty-printing package for go values
FETCH_ARGS= -Fpr
WRKSRC= ${WRKDIR}/${DISTNAME}
USE_GO= yes
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/lang/go/files/bsd.go.mk"
.include <bsd.port.post.mk>

2
devel/prettygo/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (pretty.go-20110611.tar.gz) = 87dddbc69cd93e718db565b8ad63e8a0dafc141d85d1d8fe3c0f05c11ef2c13d
SIZE (pretty.go-20110611.tar.gz) = 4119

7
devel/prettygo/pkg-descr Normal file
View File

@ -0,0 +1,7 @@
Package pretty provides pretty-printing for go values. This is useful during
debugging, to avoid wrapping long output lines in the terminal.
This package also provides a convenience wrapper for each function in
package fmt that takes a format string.
www: https://github.com/kr/pretty.go

3
devel/prettygo/pkg-plist Normal file
View File

@ -0,0 +1,3 @@
%%GO_LIBDIR%%/github.com/kr/pretty.go.a
@dirrmtry %%GO_LIBDIR%%/github.com/kr
@dirrmtry %%GO_LIBDIR%%/github.com