diff options
Diffstat (limited to 'net/syncthing')
-rw-r--r-- | net/syncthing/Makefile | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/net/syncthing/Makefile b/net/syncthing/Makefile index e4c4df0aa0ec..25cdfe2c307a 100644 --- a/net/syncthing/Makefile +++ b/net/syncthing/Makefile @@ -19,22 +19,23 @@ USE_RC_SUBR= syncthing syncthing-discosrv syncthing-relaysrv \ BINS= syncthing stdiscosrv strelaysrv strelaypoolsrv -.for x in ${BINS} -PLIST_FILES+= bin/${x} -.endfor +# Anonymize +MAKE_ENV+= BUILD_HOST=freebsd \ + BUILD_USER=ports -PORTDOCS= * +NO_CCACHE= yes +NO_WRKSUBDIR= yes USERS= syncthing GROUPS= syncthing -# Anonymize -MAKE_ENV+= BUILD_HOST=freebsd \ - BUILD_USER=ports +.for x in ${BINS} +PLIST_FILES+= bin/${x} +.endfor -OPTIONS_DEFINE= DOCS +PORTDOCS= * -NO_WRKSUBDIR= yes +OPTIONS_DEFINE= DOCS do-build: @( cd ${WRKSRC}/${PORTNAME} ; \ @@ -44,11 +45,6 @@ do-build: ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} run build.go -version v${DISTVERSION} -no-upgrade build strelaypoolsrv; \ ) -do-test: - @( cd ${WRKSRC}/${PORTNAME} ; \ - ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} run build.go -version v${DISTVERSION} -no-upgrade test ; \ - ) - do-install: .for x in ${BINS} ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}/${x} \ @@ -60,4 +56,8 @@ do-install: ${STAGEDIR}${DOCSDIR} .endfor +do-test: + @( cd ${WRKSRC}/${PORTNAME} ; \ + ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} run build.go -version v${DISTVERSION} -no-upgrade test ; \ + ) .include <bsd.port.mk> |