Commit 658e1731 authored by gblach's avatar gblach
Browse files

- devel/prettygo rename to devel/go-pretty

- devel/go-pretty update to 20130510
- Add textproc/go-text

Approved by:	crees (mentor)
parent 653aee6f
......@@ -4839,3 +4839,4 @@ games/kaid||2013-08-07|Has expired: Does not fetch
lang/q||2013-08-11|Has expired: Q-Lang is no longer supported. See lang/pure instead
audio/q-audio||2013-08-11|Has expired: Q-Lang is no longer supported. See lang/pure instead
graphics/q-graph||2013-08-11|Has expired: Q-Lang is no longer supported. See lang/pure instead
devel/prettygo|devel/go-pretty|2013-08-17|Project was renamed
......@@ -589,6 +589,7 @@
SUBDIR += gnulibiberty
SUBDIR += gnustep
SUBDIR += gnustep-make
SUBDIR += go-pretty
SUBDIR += gob2
SUBDIR += gobject-introspection
SUBDIR += goffice
......@@ -3340,7 +3341,6 @@
SUBDIR += premake4
SUBDIR += preps-gui
SUBDIR += prepstools
SUBDIR += prettygo
SUBDIR += privman
SUBDIR += projectcenter
SUBDIR += projectmanager
......
# Created by: Grzegorz Blach <gblach@FreeBSD.org>
# $FreeBSD$
PORTNAME= prettygo
PORTVERSION= 20120306
PORTNAME= go-pretty
PORTVERSION= 20130510
CATEGORIES= devel
MASTER_SITES= LOCAL/jlaffaye
MASTER_SITES= LOCAL/gblach/
MAINTAINER= gblach@FreeBSD.org
COMMENT= Pretty-printing package for go values
GO_PKGNAME= github.com/kr/pretty
BUILD_DEPENDS= ${LOCALBASE}/go/pkg/${OPSYS:L}_${GOARCH}/github.com/kr/text.a:${PORTSDIR}/textproc/go-text
RUN_DEPENDS= ${LOCALBASE}/go/pkg/${OPSYS:L}_${GOARCH}/github.com/kr/text.a:${PORTSDIR}/textproc/go-text
SUBLIBDIR= github.com/kr
GO_PKGNAME= ${SUBLIBDIR}/pretty
do-install:
${MKDIR} ${GO_LOCAL_LIBDIR}/${SUBLIBDIR}
${INSTALL_DATA} ${GO_WRKDIR_PKG}/${SUBLIBDIR}/pretty.a ${GO_LOCAL_LIBDIR}/${SUBLIBDIR}
${MKDIR} ${GO_LOCAL_SRCDIR}/${GO_PKGNAME}
.for f in diff.go formatter.go pretty.go
.for f in diff.go formatter.go pretty.go zero.go
${INSTALL_DATA} ${GO_WRKSRC}/${f} ${GO_LOCAL_SRCDIR}/${GO_PKGNAME}
.endfor
......
SHA256 (go-pretty-20130510.tar.gz) = 871a9ecb2409bc4d323f506d13215dd481d5bb81f81337186327895ae7bbb715
SIZE (go-pretty-20130510.tar.gz) = 5953
Package pretty provides pretty-printing for go values. This is useful during
Go package which 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
WWW: https://github.com/kr/pretty
......@@ -2,6 +2,7 @@
%%GO_SRCDIR%%/github.com/kr/pretty/diff.go
%%GO_SRCDIR%%/github.com/kr/pretty/formatter.go
%%GO_SRCDIR%%/github.com/kr/pretty/pretty.go
%%GO_SRCDIR%%/github.com/kr/pretty/zero.go
@dirrmtry %%GO_LIBDIR%%/github.com/kr
@dirrmtry %%GO_LIBDIR%%/github.com
@dirrm %%GO_SRCDIR%%/github.com/kr/pretty
......
SHA256 (prettygo-20120306.tar.gz) = 5311ea747b7369c3606b440ad0195fbf5cbb9c47a763e0a36cf7fbb2bb05ddd2
SIZE (prettygo-20120306.tar.gz) = 3975
......@@ -210,6 +210,7 @@
SUBDIR += gnome-spell
SUBDIR += gnome-translate
SUBDIR += gnugrep
SUBDIR += go-text
SUBDIR += goldendict
SUBDIR += google-ctemplate
SUBDIR += gpp
......
# Created by: Grzegorz Blach <gblach@FreeBSD.org>
# $FreeBSD$
PORTNAME= go-text
PORTVERSION= 20130502
CATEGORIES= textproc
MASTER_SITES= LOCAL/gblach/
MAINTAINER= gblach@FreeBSD.org
COMMENT= Go package for manipulating paragraphs of text
SUBLIBDIR= github.com/kr
GO_PKGNAME= ${SUBLIBDIR}/text
do-install:
${MKDIR} ${GO_LOCAL_LIBDIR}/${SUBLIBDIR}
${INSTALL_DATA} ${GO_WRKDIR_PKG}/${SUBLIBDIR}/text.a ${GO_LOCAL_LIBDIR}/${SUBLIBDIR}
${MKDIR} ${GO_LOCAL_SRCDIR}/${GO_PKGNAME}
${INSTALL_DATA} ${GO_WRKSRC}/indent.go ${GO_LOCAL_SRCDIR}/${GO_PKGNAME}
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/lang/go/files/bsd.go.mk"
.include <bsd.port.post.mk>
SHA256 (go-text-20130502.tar.gz) = 84b386efc3a51870a1e931019fac9bcb89883b287badcc48ffa29afaae9d0a18
SIZE (go-text-20130502.tar.gz) = 9729
Go package which provides rudimentary functions for manipulating text
in paragraphs.
WWW: https://github.com/kr/text
%%GO_LIBDIR%%/github.com/kr/text.a
%%GO_SRCDIR%%/github.com/kr/text/indent.go
@dirrmtry %%GO_LIBDIR%%/github.com/kr
@dirrmtry %%GO_LIBDIR%%/github.com
@dirrm %%GO_SRCDIR%%/github.com/kr/text
@dirrmtry %%GO_SRCDIR%%/github.com/kr
@dirrmtry %%GO_SRCDIR%%/github.com
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment