Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2012 13:01:09 -0700 (PDT)
From:      Julien Laffaye <jlaffaye@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        magik@roorback.net
Subject:   ports/167341: [PATCH] devel/prettygo: update to 20120306
Message-ID:  <4f99a985.cf830e0a.5a9d.5e3e@mx.google.com>
Resent-Message-ID: <201204262010.q3QKAAtn068655@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         167341
>Category:       ports
>Synopsis:       [PATCH] devel/prettygo: update to 20120306
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 26 20:10:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Julien Laffaye
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD proclarush.jlaffaye.net 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:
- Update to 20120306
- Compile with upcoming Go1

Port maintainer (magik@roorback.net) is cc'd.

Generated with FreeBSD Port Tools 0.99_5 (mode: update, diff: CVS)
>How-To-Repeat:
>Fix:

--- prettygo-20120306.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/prettygo/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	26 Nov 2011 22:56:56 -0000	1.2
+++ Makefile	26 Apr 2012 19:59:00 -0000
@@ -6,19 +6,21 @@
 #
 
 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}
 
 .include <bsd.port.pre.mk>
 .include "${PORTSDIR}/lang/go/files/bsd.go.mk"
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/devel/prettygo/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	13 Nov 2011 06:28:35 -0000	1.1
+++ distinfo	26 Apr 2012 19:59:00 -0000
@@ -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
Index: pkg-descr
===================================================================
RCS file: /home/pcvs/ports/devel/prettygo/pkg-descr,v
retrieving revision 1.1
diff -u -r1.1 pkg-descr
--- pkg-descr	13 Nov 2011 06:28:35 -0000	1.1
+++ pkg-descr	26 Apr 2012 19:59:00 -0000
@@ -4,4 +4,4 @@
 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
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/devel/prettygo/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist	13 Nov 2011 06:28:35 -0000	1.1
+++ pkg-plist	26 Apr 2012 19:59:00 -0000
@@ -1,3 +1,3 @@
-%%GO_LIBDIR%%/github.com/kr/pretty.go.a
+%%GO_LIBDIR%%/github.com/kr/pretty.a
 @dirrmtry %%GO_LIBDIR%%/github.com/kr
 @dirrmtry %%GO_LIBDIR%%/github.com
--- prettygo-20120306.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4f99a985.cf830e0a.5a9d.5e3e>