From 1e50776cea3a24ff0f8b70e0c0f8ba9dbb39ce85 Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Mon, 23 Jan 2012 19:28:26 +0000 Subject: - Add depends on devel/protobuf - Install Make.protobuf file PR: ports/164387 Submitted by: magik@roorback.net --- devel/goprotobuf/Makefile | 9 +++++++++ devel/goprotobuf/pkg-plist | 3 +++ 2 files changed, 12 insertions(+) (limited to 'devel/goprotobuf') diff --git a/devel/goprotobuf/Makefile b/devel/goprotobuf/Makefile index e1cf8227124c..c1ab2b9f7508 100644 --- a/devel/goprotobuf/Makefile +++ b/devel/goprotobuf/Makefile @@ -7,6 +7,7 @@ PORTNAME= goprotobuf PORTVERSION= 20120122 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://m.ahze.net/packages/ \ LOCAL/ahze @@ -14,10 +15,18 @@ MASTER_SITES= http://m.ahze.net/packages/ \ MAINTAINER= ahze@FreeBSD.org COMMENT= Go support for Google's protocol buffers +LICENSE= BSD + +RUN_DEPENDS= protoc:${PORTSDIR}/devel/protobuf + USE_GO= yes NO_BUILD= yes MAKE_ENV= GOBIN=${PREFIX}/bin +post-install: + ${INSTALL} -d ${GOROOT}/src/pkg/goprotobuf.googlecode.com/hg/ + ${INSTALL} -m 644 ${WRKSRC}/Make.protobuf ${GOROOT}/src/pkg/goprotobuf.googlecode.com/hg/ + .include .include "${PORTSDIR}/lang/go/files/bsd.go.mk" .include diff --git a/devel/goprotobuf/pkg-plist b/devel/goprotobuf/pkg-plist index fc936cf1b411..3c2ef665411f 100644 --- a/devel/goprotobuf/pkg-plist +++ b/devel/goprotobuf/pkg-plist @@ -3,6 +3,9 @@ bin/protoc-gen-go %%GO_LIBDIR%%/goprotobuf.googlecode.com/hg/compiler/generator.a %%GO_LIBDIR%%/goprotobuf.googlecode.com/hg/compiler/plugin.a %%GO_LIBDIR%%/goprotobuf.googlecode.com/hg/proto.a +go/src/pkg/goprotobuf.googlecode.com/hg/Make.protobuf @dirrm %%GO_LIBDIR%%/goprotobuf.googlecode.com/hg/compiler @dirrm %%GO_LIBDIR%%/goprotobuf.googlecode.com/hg @dirrm %%GO_LIBDIR%%/goprotobuf.googlecode.com +@dirrm go/src/pkg/goprotobuf.googlecode.com/hg +@dirrm go/src/pkg/goprotobuf.googlecode.com -- cgit v1.2.3