freebsd-ports/devel/goprotobuf/Makefile
Dmitri Goutnik 34156e93e8 Go ports: cleanup, finish transition to USES=go started with r505321 (cat. audio-mail)
- Remove custom build/install targets left in place after r505321
- Switch to the new GO_TARGET tuple syntax introduced in r512001
- Switch to go:modules when upstream already uses them

Reviewed by:	tobik
Approved by:	araujo (mentor), portmgr (adamw)
Differential Revision:	https://reviews.freebsd.org/D21741
2019-09-29 22:29:39 +00:00

30 lines
592 B
Makefile

# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
PORTNAME= goprotobuf
DISTVERSIONPREFIX= v
DISTVERSION= 1.1.0
PORTEPOCH= 1
CATEGORIES= devel
MAINTAINER= cs@FreeBSD.org
COMMENT= Go support for Google's protocol buffers
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= protoc:devel/protobuf
USES= go
USE_GITHUB= yes
GH_ACCOUNT= golang
GH_PROJECT= protobuf
GH_SUBDIR= src/github.com/golang/protobuf
GH_TUPLE= google:go-genproto:02b4e95:genproto/src/google.golang.org/genproto
GO_TARGET= ./protoc-gen-go
PLIST_FILES= bin/protoc-gen-go
.include <bsd.port.mk>