1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

sysutils/restic build properly

This commit is contained in:
William Grzybowski 2015-09-24 16:29:48 +00:00
parent a76e244dc2
commit 3fc35ba47f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397697

View File

@ -2,6 +2,7 @@
PORTNAME= restic
PORTVERSION= 0.1.0
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= sysutils
@ -30,9 +31,9 @@ post-extract:
@${MV} ${WRKSRC_crypto} ${WRKSRC}/src/golang.org/x/crypto
do-build:
@cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}; ${SETENV} GOPATH=${WRKSRC} go build -o bin/${PORTNAME}
@cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}; ${SETENV} GOPATH=${WRKSRC} go run build.go
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>