aboutsummaryrefslogtreecommitdiff
path: root/devel/mage/Makefile
blob: 41ce1e9a03f7e405aca4fa139ae5a4238ed49e50 (plain) (blame)
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
PORTNAME=	mage
DISTVERSIONPREFIX=	v
DISTVERSION=	1.15.0
PORTREVISION=	2
PORTEPOCH=	1
CATEGORIES=	devel

MAINTAINER=	gspurki@gmail.com
COMMENT=	Command-line make-like build tool using Go as input files
WWW=		https://magefile.org/

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go:modules

USE_GITHUB=	yes
GH_ACCOUNT=	magefile

PLIST_FILES=	bin/mage

do-build:
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GO_ENV} \
	${GO_CMD} run bootstrap.go

.include <bsd.port.mk>