# 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 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 X.include "${PORTSDIR}/lang/go/files/bsd.go.mk" X.include 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