Files
ports/devel/gvp/Makefile
T
Tobias Kortkamp 3726f94254 Convert all Go ports to USES=go
This allows for port testing with lang/go-devel via GO_PORT, setting
up the Go build environment in a single place, and is step one in
simplifying Go ports that often define too complicated do-build
targets themselves.

USES=go gains new arguments 'run' to add lang/go to RUN_DEPENDS and
'no_targets' for ports with composite builds that call 'go' themselves
and do not need the do-build/do-install targets of USES=go.

PR:		238849
Submitted by:	dg@syrec.org (also D20745)
Reviewed by:	mat, tobik
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D20746
2019-06-29 03:51:13 +00:00

34 lines
502 B
Makefile

# Created by: Luke Jee <lukejee@gmail.com>
# $FreeBSD$
PORTNAME= gvp
PORTVERSION= 0.3.0
DISTVERSIONPREFIX= v
CATEGORIES= devel
MAINTAINER= lukejee@gmail.com
COMMENT= Go Versioning Manager
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENCE
RUN_DEPENDS= bash:shells/bash
USES= go:run shebangfix
SHEBANG_FILES= bin/gvp
USE_GITHUB= yes
GH_ACCOUNT= pote
NO_BUILD= yes
NO_ARCH= yes
PLIST_FILES= bin/gvp
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/gvp ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>