summaryrefslogtreecommitdiff
path: root/devel/gb/Makefile
blob: 497f9d7dedee04b31121d7fb9a4a577e067b7e40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

PORTNAME=	gb
PORTVERSION=	0.4.4
DISTVERSIONPREFIX=	v
PORTREVISION=	1
CATEGORIES=	devel

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Project based build tool for Go

LICENSE=	MIT

DEPRECATED=	Unmaintained and dead upstream
EXPIRATION_DATE=2021-04-01

USES=		go
USE_GITHUB=	yes
GH_ACCOUNT=	constabulary
GH_TUPLE=	pkg:errors:645ef00:errors/vendor/github.com/pkg/errors

PLIST_FILES=	bin/gb bin/gb-vendor

PORTDOCS=	README.md

OPTIONS_DEFINE=	DOCS

GO_PKGNAME=	github.com/${GH_ACCOUNT}/${GH_PROJECT}
GO_TARGET=	./cmd/gb \
		./cmd/gb-vendor

post-install:
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	( cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ ; )

.include <bsd.port.mk>