diff options
author | jlaffaye <jlaffaye@FreeBSD.org> | 2012-05-15 06:04:17 +0800 |
---|---|---|
committer | jlaffaye <jlaffaye@FreeBSD.org> | 2012-05-15 06:04:17 +0800 |
commit | c72e101585f3815426f379ea7ceaa4b23001f8fe (patch) | |
tree | e31e71480b4392038900d4fc0f070857db5c13a4 | |
parent | 8644a30a018cb3a92b8891a423d93cded619a3ae (diff) | |
download | freebsd-ports-gnome-c72e101585f3815426f379ea7ceaa4b23001f8fe.tar.gz freebsd-ports-gnome-c72e101585f3815426f379ea7ceaa4b23001f8fe.tar.zst freebsd-ports-gnome-c72e101585f3815426f379ea7ceaa4b23001f8fe.zip |
- Update to 20120306
PR: ports/167341
Submitted by: jlaffaye, Grzegorz Blach <magik@roorback.net> (maintainer)
Approved by: Grzegorz Blach <magik@roorback.net> (maintainer)
-rw-r--r-- | devel/prettygo/Makefile | 20 | ||||
-rw-r--r-- | devel/prettygo/distinfo | 4 | ||||
-rw-r--r-- | devel/prettygo/pkg-descr | 2 | ||||
-rw-r--r-- | devel/prettygo/pkg-plist | 8 |
4 files changed, 23 insertions, 11 deletions
diff --git a/devel/prettygo/Makefile b/devel/prettygo/Makefile index 5b61609f739a..41605957d4f8 100644 --- a/devel/prettygo/Makefile +++ b/devel/prettygo/Makefile @@ -6,19 +6,25 @@ # PORTNAME= prettygo -PORTVERSION= 20110611 -PORTREVISION= 1 +PORTVERSION= 20120306 CATEGORIES= devel -MASTER_SITES= http://files.roorback.net/ -DISTNAME= pretty.go-${PORTVERSION} +MASTER_SITES= LOCAL/jlaffaye MAINTAINER= magik@roorback.net COMMENT= Pretty-printing package for go values -FETCH_ARGS= -Fpr -WRKSRC= ${WRKDIR}/${DISTNAME} - USE_GO= yes +GO_PKGNAME= github.com/kr/pretty + +SUBLIBDIR= github.com/kr + +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 + ${INSTALL_DATA} ${GO_WRKSRC}/${f} ${GO_LOCAL_SRCDIR}/${GO_PKGNAME} +.endfor .include <bsd.port.pre.mk> .include "${PORTSDIR}/lang/go/files/bsd.go.mk" diff --git a/devel/prettygo/distinfo b/devel/prettygo/distinfo index bab8009f7dbe..9ddb584de6aa 100644 --- a/devel/prettygo/distinfo +++ b/devel/prettygo/distinfo @@ -1,2 +1,2 @@ -SHA256 (pretty.go-20110611.tar.gz) = 87dddbc69cd93e718db565b8ad63e8a0dafc141d85d1d8fe3c0f05c11ef2c13d -SIZE (pretty.go-20110611.tar.gz) = 4119 +SHA256 (prettygo-20120306.tar.gz) = 5311ea747b7369c3606b440ad0195fbf5cbb9c47a763e0a36cf7fbb2bb05ddd2 +SIZE (prettygo-20120306.tar.gz) = 3975 diff --git a/devel/prettygo/pkg-descr b/devel/prettygo/pkg-descr index faa1bc2ba035..9d632b68b580 100644 --- a/devel/prettygo/pkg-descr +++ b/devel/prettygo/pkg-descr @@ -4,4 +4,4 @@ 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 +www: https://github.com/kr/pretty diff --git a/devel/prettygo/pkg-plist b/devel/prettygo/pkg-plist index bc0b4efbdeea..33088c97d293 100644 --- a/devel/prettygo/pkg-plist +++ b/devel/prettygo/pkg-plist @@ -1,3 +1,9 @@ -%%GO_LIBDIR%%/github.com/kr/pretty.go.a +%%GO_LIBDIR%%/github.com/kr/pretty.a +%%GO_SRCDIR%%/github.com/kr/pretty/diff.go +%%GO_SRCDIR%%/github.com/kr/pretty/formatter.go +%%GO_SRCDIR%%/github.com/kr/pretty/pretty.go @dirrmtry %%GO_LIBDIR%%/github.com/kr @dirrmtry %%GO_LIBDIR%%/github.com +@dirrm %%GO_SRCDIR%%/github.com/kr/pretty +@dirrmtry %%GO_SRCDIR%%/github.com/kr +@dirrmtry %%GO_SRCDIR%%/github.com |