svn commit: r333364 - head/textproc/multimarkdown

Mathieu Arnold mat at mat.cc
Sun Nov 10 14:00:10 UTC 2013


+--On 10 novembre 2013 04:35:16 +0000 Adam Weinberger <adamw at 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


More information about the svn-ports-head mailing list