1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/net/syncthing-cli/Makefile
Mathieu Arnold 8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00

29 lines
620 B
Makefile

# Created by: Steve Wills <swills@FreeBSD.org>
# $FreeBSD$
PORTNAME= syncthing-cli
PORTVERSION= 0.1.0.2015092201
CATEGORIES= net
MAINTAINER= swills@FreeBSD.org
COMMENT= Syncthing CLI
BUILD_DEPENDS= go>=1.5:lang/go
USE_GITHUB= yes
GH_ACCOUNT= syncthing
GH_TAGNAME= 9594d39
PLIST_FILES= bin/syncthing-cli
STRIP= # stripping can break go binaries
do-build:
@cd ${WRKSRC} ; ${SETENV} GOPATH=${WRKSRC}/Godeps/_workspace:${WRKSRC} go build
@${MV} ${WRKSRC}/syncthing-cli-${GH_TAGNAME} ${WRKSRC}/syncthing-cli
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/syncthing-cli ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>