Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2015 16:29:49 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397697 - head/sysutils/restic
Message-ID:  <201509241629.t8OGTnxS018428@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509241629.t8OGTnxS018428>