Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2013 15:00:00 +0100
From:      Mathieu Arnold <mat@mat.cc>
To:        Adam Weinberger <adamw@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r333364 - head/textproc/multimarkdown
Message-ID:  <A6367F22554CBD002B35BF5F@atuin.in.mat.cc>
In-Reply-To: <201311100435.rAA4ZGjX092946@svn.freebsd.org>
References:  <201311100435.rAA4ZGjX092946@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
+--On 10 novembre 2013 04:35:16 +0000 Adam Weinberger <adamw@FreeBSD.org>
wrote:
| Log:
|   Avoid re-fetching if it was already completed.

Hum, it may have come up, but why download the sources with git when you
could get it with the various GH_* variables ?

| Deleted:
|   head/textproc/multimarkdown/distinfo
| Modified:
|   head/textproc/multimarkdown/Makefile
| 
| Modified: head/textproc/multimarkdown/Makefile
| =========================================================================
| ===== --- head/textproc/multimarkdown/Makefile	Sun Nov 10 01:27:27 2013
| 	(r333363) +++ head/textproc/multimarkdown/Makefile	Sun Nov 10 04:35:16
| 2013	(r333364) @@ -32,11 +32,13 @@ CONFLICTS_INSTALL=	mtools-*
|  .endif
|  
|  do-fetch:
| -	${MKDIR} ${WRKDIR}
| -	cd ${WRKDIR} && git clone
| https://github.com/fletcher/MultiMarkdown-4.git -	cd ${WRKSRC} && git
| checkout ${PORTVERSION}
| -	cd ${WRKSRC} && git submodule init
| -	cd ${WRKSRC} && git submodule update
| +	@if [ ! -e ${WRKSRC}/greg/Makefile ]; then \
| +		${MKDIR} ${WRKDIR}; \
| +		cd ${WRKDIR} && git clone
| https://github.com/fletcher/MultiMarkdown-4.git; \ +		cd ${WRKSRC} && git
| checkout ${PORTVERSION}; \
| +		cd ${WRKSRC} && git submodule init; \
| +		cd ${WRKSRC} && git submodule update; \
| +	fi
|  
|  do-extract:
|  	@${DO_NADA}	#normally do-extract starts with an rm -rf ${WRKSRC}
| 



-- 
Mathieu Arnold



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