Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Sep 2011 22:57:26 +0200
From:      Grzegorz Blach <magik@roorback.net>
To:        FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/159217: New port: devel/goprotobuf - Protocol buffers for Go
Message-ID:  <4E7CF2B6.8020309@roorback.net>
In-Reply-To: <201107262110.p6QLA86s066036@freefall.freebsd.org>
References:  <201107262110.p6QLA86s066036@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------050903040907050704030108
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Updated to snapshot from 20110907 (go.r60)

--------------050903040907050704030108
Content-Type: text/plain;
 name="goprotobuf.shar.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="goprotobuf.shar.txt"

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	devel/goprotobuf
#	devel/goprotobuf/pkg-plist
#	devel/goprotobuf/Makefile
#	devel/goprotobuf/distinfo
#	devel/goprotobuf/files
#	devel/goprotobuf/files/patch-Makefile
#	devel/goprotobuf/files/patch-compiler-plugin-Makefile
#	devel/goprotobuf/files/patch-compiler-descriptor-Makefile
#	devel/goprotobuf/files/patch-compiler-generator-Makefile
#	devel/goprotobuf/files/patch-compiler-Makefile
#	devel/goprotobuf/pkg-descr
#
echo c - devel/goprotobuf
mkdir -p devel/goprotobuf > /dev/null 2>&1
echo x - devel/goprotobuf/pkg-plist
sed 's/^X//' >devel/goprotobuf/pkg-plist << '64e1ebd5c362e85e5333639d53076a82'
Xbin/protoc-gen-go
Xgo/bin/protoc-gen-go
X%%GO_LIBDIR%%/goprotobuf.googlecode.com/hg/proto.a
X%%GO_LIBDIR%%/goprotobuf.googlecode.com/hg/compiler/generator.a
X%%GO_LIBDIR%%/goprotobuf.googlecode.com/hg/compiler/plugin.a
X%%GO_LIBDIR%%/goprotobuf.googlecode.com/hg/compiler/descriptor.a
Xgo/src/pkg/goprotobuf.googlecode.com/hg/Make.protobuf
X@dirrm %%GO_LIBDIR%%/goprotobuf.googlecode.com/hg/compiler
X@dirrm %%GO_LIBDIR%%/goprotobuf.googlecode.com/hg
X@dirrm %%GO_LIBDIR%%/goprotobuf.googlecode.com
X@dirrm go/src/pkg/goprotobuf.googlecode.com/hg
X@dirrm go/src/pkg/goprotobuf.googlecode.com
64e1ebd5c362e85e5333639d53076a82
echo x - devel/goprotobuf/Makefile
sed 's/^X//' >devel/goprotobuf/Makefile << '578c6cf4672a8d6f5568a22dfa2e0f9e'
X# New ports collection makefile for:	goprotobuf
X# Date created:				26 July, 2010
X# Whom:					Grzegorz Blach <magik@roorback.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	goprotobuf
XPORTVERSION=	20110907
XCATEGORIES=	devel
XMASTER_SITES=	https://github.com/downloads/Roorback/mgk_ports/
X
XMAINTAINER=	magik@roorback.net
XCOMMENT=	Go support for Google protocol buffers
X
XLICENSE=	BSD
X
XRUN_DEPENDS=	protoc:${PORTSDIR}/devel/protobuf
X
XUSE_BZIP2=	YES
XFETCH_ARGS=	-Fpr
XWRKSRC=		${WRKDIR}/${DISTNAME}
X
XUSE_GO=		yes
XGO_SRCPKGDIR=	${GOROOT}/src/pkg/goprotobuf.googlecode.com/hg
X
Xpost-install:
X	${INSTALL} -d ${GO_SRCPKGDIR}
X	${INSTALL} -m 644 ${WRKSRC}/Make.protobuf ${GO_SRCPKGDIR}
X	${LN} -s ${GOROOT}/bin/protoc-gen-go ${PREFIX}/bin
X
X.include <bsd.port.pre.mk>
X.include "${PORTSDIR}/lang/go/files/bsd.go.mk"
X.include <bsd.port.post.mk>
578c6cf4672a8d6f5568a22dfa2e0f9e
echo x - devel/goprotobuf/distinfo
sed 's/^X//' >devel/goprotobuf/distinfo << '89db1386577b8f35eeef921b985b89b5'
XSHA256 (goprotobuf-20110907.tar.bz2) = b270b80e51256dad894c74bff74842ec473746f8e1d7072bc032a47c753f1e00
XSIZE (goprotobuf-20110907.tar.bz2) = 60864
89db1386577b8f35eeef921b985b89b5
echo c - devel/goprotobuf/files
mkdir -p devel/goprotobuf/files > /dev/null 2>&1
echo x - devel/goprotobuf/files/patch-Makefile
sed 's/^X//' >devel/goprotobuf/files/patch-Makefile << 'dc974d386433820e7663181596b51147'
X--- Makefile.orig	2011-09-23 21:37:23.191650555 +0200
X+++ Makefile	2011-09-23 21:37:06.940380915 +0200
X@@ -32,12 +32,18 @@
X 
X include $(GOROOT)/src/Make.inc
X 
X-all:	install
X+all:
X+	cd proto && gomake
X+	cd compiler/descriptor && gomake
X+	cd compiler/plugin && gomake
X+	cd compiler/generator && gomake
X+	cd compiler && gomake
X 
X install:
X 	cd proto && gomake install
X 	cd compiler/descriptor && gomake install
X 	cd compiler/plugin && gomake install
X+	cd compiler/generator && gomake install
X 	cd compiler && gomake install
X 
X test:
dc974d386433820e7663181596b51147
echo x - devel/goprotobuf/files/patch-compiler-plugin-Makefile
sed 's/^X//' >devel/goprotobuf/files/patch-compiler-plugin-Makefile << 'f7ede57e64b4551445aec0db9ef3e3fc'
Xdiff -u compiler/plugin/Makefile.orig compiler/plugin/Makefile
X--- compiler/plugin/Makefile.orig	2011-09-13 06:43:27.000000000 +0200
X+++ compiler/plugin/Makefile	2011-09-23 20:59:49.264034436 +0200
X@@ -35,7 +35,7 @@
X GOFILES=\
X    plugin.pb.go\
X
X-DEPS=../../proto ../descriptor
X+GCIMPORTS=-I../../proto/_obj -I../descriptor/_obj
X
X include $(GOROOT)/src/Make.pkg
f7ede57e64b4551445aec0db9ef3e3fc
echo x - devel/goprotobuf/files/patch-compiler-descriptor-Makefile
sed 's/^X//' >devel/goprotobuf/files/patch-compiler-descriptor-Makefile << 'e329803ee4aeae868630fd1033c14302'
Xdiff -u compiler/descriptor/Makefile.orig compiler/descriptor/Makefile
X--- compiler/descriptor/Makefile.orig	2011-09-13 06:43:27.000000000 +0200
X+++ compiler/descriptor/Makefile	2011-09-23 20:56:00.784221476 +0200
X@@ -35,7 +35,7 @@
X GOFILES=\
X    descriptor.pb.go\
X
X-DEPS=../../proto
X+GCIMPORTS=-I../../proto/_obj
X
X include $(GOROOT)/src/Make.pkg
X
e329803ee4aeae868630fd1033c14302
echo x - devel/goprotobuf/files/patch-compiler-generator-Makefile
sed 's/^X//' >devel/goprotobuf/files/patch-compiler-generator-Makefile << 'ca0f3b6994b51f0189bdca1e1c041da7'
Xdiff -u compiler/generator/Makefile.orig compiler/generator/Makefile
X--- compiler/generator/Makefile.orig	2011-09-13 06:43:27.000000000 +0200
X+++ compiler/generator/Makefile	2011-09-23 20:56:59.728207396 +0200
X@@ -35,6 +35,6 @@
X GOFILES=\
X    generator.go\
X
X-DEPS=../descriptor ../plugin ../../proto
X+GCIMPORTS=-I../descriptor/_obj -I../plugin/_obj -I../../proto/_obj
X
X include $(GOROOT)/src/Make.pkg
ca0f3b6994b51f0189bdca1e1c041da7
echo x - devel/goprotobuf/files/patch-compiler-Makefile
sed 's/^X//' >devel/goprotobuf/files/patch-compiler-Makefile << 'aad1aab044e8017020877a4a15fbf9dc'
Xdiff -u compiler/Makefile.orig compiler/Makefile
X--- compiler/Makefile.orig	2011-09-13 06:43:27.000000000 +0200
X+++ compiler/Makefile	2011-09-23 21:19:41.031920596 +0200
X@@ -36,7 +36,8 @@
X GOFILES=\
X    main.go\
X
X-DEPS=generator descriptor plugin
X+GCIMPORTS=-Igenerator/_obj -Idescriptor/_obj -Iplugin/_obj -I../proto/_obj
X+LDIMPORTS=-Lgenerator/_obj -Ldescriptor/_obj -Lplugin/_obj -L../proto/_obj
X
X include $(GOROOT)/src/Make.cmd
X
aad1aab044e8017020877a4a15fbf9dc
echo x - devel/goprotobuf/pkg-descr
sed 's/^X//' >devel/goprotobuf/pkg-descr << 'ddb76262740a8c516003712d465000c5'
XGoprotobuf provides Go support, in the form of a library and protocol
Xcompiler plugin, for Google's protocol buffers.
X
Xwww: https://code.google.com/p/goprotobuf/
ddb76262740a8c516003712d465000c5
exit


--------------050903040907050704030108--



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