View | Details | Raw Unified | Return to bug 164387
Collapse All | Expand All

(-)devel/goprotobuf/Makefile (+9 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	goprotobuf
8
PORTNAME=	goprotobuf
9
PORTVERSION=	20120122
9
PORTVERSION=	20120122
10
PORTREVISION=	1
10
CATEGORIES=	devel
11
CATEGORIES=	devel
11
MASTER_SITES=	http://m.ahze.net/packages/ \
12
MASTER_SITES=	http://m.ahze.net/packages/ \
12
		LOCAL/ahze
13
		LOCAL/ahze
Lines 14-23 Link Here
14
MAINTAINER=	ahze@FreeBSD.org
15
MAINTAINER=	ahze@FreeBSD.org
15
COMMENT=	Go support for Google's protocol buffers
16
COMMENT=	Go support for Google's protocol buffers
16
17
18
LICENSE=	BSD
19
20
RUN_DEPENDS=	protoc:${PORTSDIR}/devel/protobuf
21
17
USE_GO=		yes
22
USE_GO=		yes
18
NO_BUILD=	yes
23
NO_BUILD=	yes
19
MAKE_ENV=	GOBIN=${PREFIX}/bin
24
MAKE_ENV=	GOBIN=${PREFIX}/bin
20
25
26
post-install:
27
	${INSTALL} -d ${GOROOT}/src/pkg/goprotobuf.googlecode.com/hg/
28
	${INSTALL} -m 644 ${WRKSRC}/Make.protobuf ${GOROOT}/src/pkg/goprotobuf.googlecode.com/hg/
29
21
.include <bsd.port.pre.mk>
30
.include <bsd.port.pre.mk>
22
.include "${PORTSDIR}/lang/go/files/bsd.go.mk"
31
.include "${PORTSDIR}/lang/go/files/bsd.go.mk"
23
.include <bsd.port.post.mk>
32
.include <bsd.port.post.mk>
(-)devel/goprotobuf/pkg-plist (+3 lines)
Lines 3-8 Link Here
3
%%GO_LIBDIR%%/goprotobuf.googlecode.com/hg/compiler/generator.a
3
%%GO_LIBDIR%%/goprotobuf.googlecode.com/hg/compiler/generator.a
4
%%GO_LIBDIR%%/goprotobuf.googlecode.com/hg/compiler/plugin.a
4
%%GO_LIBDIR%%/goprotobuf.googlecode.com/hg/compiler/plugin.a
5
%%GO_LIBDIR%%/goprotobuf.googlecode.com/hg/proto.a
5
%%GO_LIBDIR%%/goprotobuf.googlecode.com/hg/proto.a
6
go/src/pkg/goprotobuf.googlecode.com/hg/Make.protobuf
6
@dirrm %%GO_LIBDIR%%/goprotobuf.googlecode.com/hg/compiler
7
@dirrm %%GO_LIBDIR%%/goprotobuf.googlecode.com/hg/compiler
7
@dirrm %%GO_LIBDIR%%/goprotobuf.googlecode.com/hg
8
@dirrm %%GO_LIBDIR%%/goprotobuf.googlecode.com/hg
8
@dirrm %%GO_LIBDIR%%/goprotobuf.googlecode.com
9
@dirrm %%GO_LIBDIR%%/goprotobuf.googlecode.com
10
@dirrm go/src/pkg/goprotobuf.googlecode.com/hg
11
@dirrm go/src/pkg/goprotobuf.googlecode.com

Return to bug 164387