1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-06 11:41:52 +00:00

- Update to 20131010

- Support staging
- Specify BSD license
This commit is contained in:
Carlo Strub 2013-12-21 21:58:16 +00:00
parent 91202edd37
commit f448afcf39
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337167
3 changed files with 15 additions and 12 deletions

View File

@ -2,28 +2,27 @@
# $FreeBSD$
PORTNAME= goprotobuf
PORTVERSION= 20120409
PORTVERSION= 20131010
CATEGORIES= devel
MASTER_SITES= LOCAL/jlaffaye
MASTER_SITES= http://www.c-s.li/ports/
MAINTAINER= cs@FreeBSD.org
COMMENT= Go support for Google's protocol buffers
LICENSE= BSD
LICENSE= BSD3CLAUSE
RUN_DEPENDS= protoc:${PORTSDIR}/devel/protobuf
GO_PKGNAME= code.google.com/p/goprotobuf
GO_TARGET= ${GO_PKGNAME}/proto ${GO_PKGNAME}/protoc-gen-go
NO_STAGE= yes
do-install:
${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/protoc-gen-go ${LOCALBASE}/bin
${MKDIR} ${GO_LOCAL_LIBDIR}/${GO_PKGNAME}
(cd ${GO_WRKDIR_PKG}/${GO_PKGNAME}/ && ${COPYTREE_SHARE} \* ${GO_LOCAL_LIBDIR}/${GO_PKGNAME})
${MKDIR} ${GO_LOCAL_SRCDIR}/${GO_PKGNAME}/proto
${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/protoc-gen-go ${STAGEDIR}${LOCALBASE}/bin
${MKDIR} ${STAGEDIR}${GO_LOCAL_LIBDIR}/${GO_PKGNAME}
(cd ${GO_WRKDIR_PKG}/${GO_PKGNAME}/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${GO_LOCAL_LIBDIR}/${GO_PKGNAME})
${MKDIR} ${STAGEDIR}${GO_LOCAL_SRCDIR}/${GO_PKGNAME}/proto
(cd ${GO_WRKSRC}/proto && ${COPYTREE_SHARE} \* \
${GO_LOCAL_SRCDIR}/${GO_PKGNAME}/proto)
${STAGEDIR}${GO_LOCAL_SRCDIR}/${GO_PKGNAME}/proto)
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/lang/go/files/bsd.go.mk"

View File

@ -1,2 +1,2 @@
SHA256 (goprotobuf-20120409.tar.gz) = bc91396932f09b991e17d7b5dbff32e53264fa1c7aa382682f8d1b214288445c
SIZE (goprotobuf-20120409.tar.gz) = 79354
SHA256 (goprotobuf-20131010.tar.gz) = 7dfac97b5b494a47fef9c286421f8dc66d0363ef0ed5a4f7b54e88a15a6addf4
SIZE (goprotobuf-20131010.tar.gz) = 118672

View File

@ -1,5 +1,4 @@
bin/protoc-gen-go
%%GO_LIBDIR%%/%%GO_PKGNAME%%/proto.a
%%GO_LIBDIR%%/%%GO_PKGNAME%%/protoc-gen-go/descriptor.a
%%GO_LIBDIR%%/%%GO_PKGNAME%%/protoc-gen-go/generator.a
%%GO_LIBDIR%%/%%GO_PKGNAME%%/protoc-gen-go/plugin.a
@ -14,7 +13,11 @@ bin/protoc-gen-go
%%GO_SRCDIR%%/%%GO_PKGNAME%%/proto/extensions.go
%%GO_SRCDIR%%/%%GO_PKGNAME%%/proto/lib.go
%%GO_SRCDIR%%/%%GO_PKGNAME%%/proto/message_set.go
%%GO_SRCDIR%%/%%GO_PKGNAME%%/proto/pointer_reflect.go
%%GO_SRCDIR%%/%%GO_PKGNAME%%/proto/pointer_unsafe.go
%%GO_SRCDIR%%/%%GO_PKGNAME%%/proto/properties.go
%%GO_SRCDIR%%/%%GO_PKGNAME%%/proto/size2_test.go
%%GO_SRCDIR%%/%%GO_PKGNAME%%/proto/size_test.go
%%GO_SRCDIR%%/%%GO_PKGNAME%%/proto/testdata/Makefile
%%GO_SRCDIR%%/%%GO_PKGNAME%%/proto/testdata/golden_test.go
%%GO_SRCDIR%%/%%GO_PKGNAME%%/proto/testdata/test.pb.go
@ -32,3 +35,4 @@ bin/protoc-gen-go
@dirrm %%GO_SRCDIR%%/%%GO_PKGNAME%%
@dirrmtry %%GO_SRCDIR%%/code.google.com/p
@dirrmtry %%GO_SRCDIR%%/code.google.com
@dirrmtry %%GO_SRCDIR%%