Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 2014 19:33:50 +0000 (UTC)
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347998 - head/devel/go-json-rest
Message-ID:  <201403121933.s2CJXo05063670@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zi
Date: Wed Mar 12 19:33:50 2014
New Revision: 347998
URL: http://svnweb.freebsd.org/changeset/ports/347998
QAT: https://qat.redports.org/buildarchive/r347998/

Log:
  - Update to 1.0.0 release
  - Add missing trie.a
  
  Approved by:	lattera@gmail.com (maintainer)

Modified:
  head/devel/go-json-rest/Makefile
  head/devel/go-json-rest/distinfo
  head/devel/go-json-rest/pkg-plist

Modified: head/devel/go-json-rest/Makefile
==============================================================================
--- head/devel/go-json-rest/Makefile	Wed Mar 12 18:53:42 2014	(r347997)
+++ head/devel/go-json-rest/Makefile	Wed Mar 12 19:33:50 2014	(r347998)
@@ -2,16 +2,27 @@
 # $FreeBSD$
 
 PORTNAME=	go-json-rest
-PORTVERSION=	20140226
+PORTVERSION=	1.0.0
+PORTEPOCH=	1
 CATEGORIES=	devel
-MASTER_SITES=	LOCAL/zi/ \
+MASTER_SITES=	GH GHC \
 		http://mirrors.rit.edu/zi/
 
 MAINTAINER=	lattera@gmail.com
 COMMENT=	Quick and easy way to setup a RESTful JSON API
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	ant0ine
+GH_TAGNAME=	v${PORTVERSION}
+GH_PROJECT=	${PORTNAME}
+GH_COMMIT=	91c5416
+
 GO_PKGNAME=	github.com/ant0ine/go-json-rest
-WRKSRC=		${WRKDIR}/${PORTNAME}-master
+
+post-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${GO_LIBDIR}/${GO_PKGNAME}
+	@${INSTALL_DATA} ${GO_WRKDIR_PKG}/${GO_PKGNAME}/trie.a \
+	    	${STAGEDIR}${PREFIX}/${GO_LIBDIR}/${GO_PKGNAME}
 
 .include <bsd.port.pre.mk>
 .include "${PORTSDIR}/lang/go/files/bsd.go.mk"

Modified: head/devel/go-json-rest/distinfo
==============================================================================
--- head/devel/go-json-rest/distinfo	Wed Mar 12 18:53:42 2014	(r347997)
+++ head/devel/go-json-rest/distinfo	Wed Mar 12 19:33:50 2014	(r347998)
@@ -1,2 +1,2 @@
-SHA256 (go-json-rest-20140226.tar.gz) = b2d04af83c7c6c6819e5d6518b1a8c4b3a25c744ee917194ba4e7255f424e5f0
-SIZE (go-json-rest-20140226.tar.gz) = 16373
+SHA256 (go-json-rest-1.0.0.tar.gz) = 08db6f5795aba9c53ff99044fda87f7c47c6d30f09f277f9225a6103bcc8c8cc
+SIZE (go-json-rest-1.0.0.tar.gz) = 16383

Modified: head/devel/go-json-rest/pkg-plist
==============================================================================
--- head/devel/go-json-rest/pkg-plist	Wed Mar 12 18:53:42 2014	(r347997)
+++ head/devel/go-json-rest/pkg-plist	Wed Mar 12 19:33:50 2014	(r347998)
@@ -1,5 +1,6 @@
 @comment $FreeBSD$
 %%GO_LIBDIR%%/github.com/ant0ine/go-json-rest.a
+%%GO_LIBDIR%%/%%GO_PKGNAME%%/trie.a
 %%GO_SRCDIR%%/%%GO_PKGNAME%%/LICENSE
 %%GO_SRCDIR%%/%%GO_PKGNAME%%/README.md
 %%GO_SRCDIR%%/%%GO_PKGNAME%%/env.go
@@ -27,6 +28,7 @@
 @dirrmtry %%GO_SRCDIR%%/%%GO_PKGNAME%%
 @dirrmtry %%GO_SRCDIR%%/github.com/ant0ine
 @dirrmtry %%GO_SRCDIR%%/github.com
+@dirrmtry %%GO_LIBDIR%%/%%GO_PKGNAME%%
 @dirrmtry %%GO_LIBDIR%%/github.com/ant0ine
 @dirrmtry %%GO_LIBDIR%%/github.com
 @dirrmtry %%GO_LIBDIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403121933.s2CJXo05063670>