freebsd-ports/devel/gb/Makefile
Steve Wills e5e43b54f8 devel/gb: update to 0.3.1
PR:		204436
Submitted by:	Maciej Pasternacki <maciej@pasternacki.net>
2015-11-11 23:19:22 +00:00

33 lines
726 B
Makefile

# $FreeBSD$
PORTNAME= gb
PORTVERSION= 0.3.1
DISTVERSIONPREFIX= v
CATEGORIES= devel
MAINTAINER= swills@FreeBSD.org
COMMENT= Project based build tool for Go
LICENSE= MIT
BUILD_DEPENDS= ${LOCALBASE}/bin/go:${PORTSDIR}/lang/go
USE_GITHUB= yes
GH_ACCOUNT= constabulary
PLIST_FILES= bin/gb bin/gb-vendor
PORTDOCS= README.md
STRIP= # stripping can break go binaries
GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT}
GO_TARGET= ./...
do-install:
${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/* ${STAGEDIR}/${LOCALBASE}/bin
${MKDIR} ${STAGEDIR}${DOCSDIR}
( cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ ; )
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/lang/go/files/bsd.go.mk"
.include <bsd.port.post.mk>