freebsd-ports/net/go-cs/Makefile
Pawel Pekala 9964b877f3 Update to version 0.6
PR:		213366
Submitted by:	Andy Kosela (maintainer)
2016-10-11 21:32:30 +00:00

32 lines
651 B
Makefile

# Created by: Andy Kosela <akosela@andykosela.com>
# $FreeBSD$
PORTNAME= go-cs
PORTVERSION= 0.6
DISTVERSIONPREFIX= v
CATEGORIES= net
MAINTAINER= akosela@andykosela.com
COMMENT= Concurrent ssh client
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${GO_CMD}:lang/go
USE_GITHUB= yes
GH_ACCOUNT= akosela
PLIST_FILES= bin/cs man/man1/cs.1.gz
GO_CMD= ${LOCALBASE}/bin/go
GO_ARGS= build -ldflags "${STRIP}"
do-build:
(cd ${WRKSRC}/cs && ${GO_CMD} ${GO_ARGS} cs.go)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cs/cs ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/cs.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>