svn commit: r397697 - head/sysutils/restic

William Grzybowski wg at FreeBSD.org
Thu Sep 24 16:29:49 UTC 2015


Author: wg
Date: Thu Sep 24 16:29:48 2015
New Revision: 397697
URL: https://svnweb.freebsd.org/changeset/ports/397697

Log:
  sysutils/restic build properly

Modified:
  head/sysutils/restic/Makefile

Modified: head/sysutils/restic/Makefile
==============================================================================
--- head/sysutils/restic/Makefile	Thu Sep 24 16:21:20 2015	(r397696)
+++ head/sysutils/restic/Makefile	Thu Sep 24 16:29:48 2015	(r397697)
@@ -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>


More information about the svn-ports-all mailing list