diff options
author | ahze <ahze@FreeBSD.org> | 2012-01-24 03:28:26 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2012-01-24 03:28:26 +0800 |
commit | bb2c475b147c460be623c732c2104f4deb24c1ac (patch) | |
tree | 9ef15d0e47bd242d003075bc3e7c3ad6f77ebbe6 /devel | |
parent | 87fd42a2730576e708f41c78e1a327ba38894cdc (diff) | |
download | freebsd-ports-gnome-bb2c475b147c460be623c732c2104f4deb24c1ac.tar.gz freebsd-ports-gnome-bb2c475b147c460be623c732c2104f4deb24c1ac.tar.zst freebsd-ports-gnome-bb2c475b147c460be623c732c2104f4deb24c1ac.zip |
- Add depends on devel/protobuf
- Install Make.protobuf file
PR: ports/164387
Submitted by: magik@roorback.net
Diffstat (limited to 'devel')
-rw-r--r-- | devel/goprotobuf/Makefile | 9 | ||||
-rw-r--r-- | devel/goprotobuf/pkg-plist | 3 |
2 files changed, 12 insertions, 0 deletions
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 <bsd.port.pre.mk> .include "${PORTSDIR}/lang/go/files/bsd.go.mk" .include <bsd.port.post.mk> 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 |