svn commit: r333364 - head/textproc/multimarkdown
Adam Weinberger
adamw at FreeBSD.org
Sun Nov 10 04:35:17 UTC 2013
Author: adamw
Date: Sun Nov 10 04:35:16 2013
New Revision: 333364
URL: http://svnweb.freebsd.org/changeset/ports/333364
Log:
Avoid re-fetching if it was already completed.
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}
More information about the svn-ports-all
mailing list