Date: Sun, 15 Jun 2014 22:47:10 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r357936 - head Message-ID: <201406152247.s5FMlBoh001686@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Sun Jun 15 22:47:10 2014 New Revision: 357936 URL: http://svnweb.freebsd.org/changeset/ports/357936 QAT: https://qat.redports.org/buildarchive/r357936/ Log: Add a mechanism to allow updating the ports tree with rsync PR: 171681 Submitted by: cyberleo@cyberleo.net Modified: head/Makefile Modified: head/Makefile ============================================================================== --- head/Makefile Sun Jun 15 22:40:31 2014 (r357935) +++ head/Makefile Sun Jun 15 22:47:10 2014 (r357936) @@ -162,6 +162,7 @@ print-index: ${INDEXDIR}/${INDEXFILE} GIT?= git SVN?= svn +RSYNC?= rsync PORTSNAP?= portsnap PORTSNAP_FLAGS?= -p ${.CURDIR} .if !target(update) @@ -176,6 +177,11 @@ update: @echo ">>> Updating ${.CURDIR} from git+svn repository" @echo "--------------------------------------------------------------" cd ${.CURDIR}; ${GIT} svn rebase +.elif defined(RSYNC_UPDATE) && defined(PORTS_RSYNC_SOURCE) + @echo "--------------------------------------------------------------" + @echo ">>> Updating with ${RSYNC} from ${PORTS_RSYNC_SOURCE}" + @echo "--------------------------------------------------------------" + @${RSYNC} ${RSYNC_FLAGS} ${PORTS_RSYNC_SOURCE}/ ${.CURDIR}/ .else @echo "--------------------------------------------------------------" @echo ">>> Running ${PORTSNAP}"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406152247.s5FMlBoh001686>