svn commit: r332190 - head/textproc/multimarkdown
Adam Weinberger
adamw at FreeBSD.org
Thu Oct 31 00:37:48 UTC 2013
Author: adamw
Date: Thu Oct 31 00:37:47 2013
New Revision: 332190
URL: http://svnweb.freebsd.org/changeset/ports/332190
Log:
Run the git commands in fetch instead of extract. The package cluster
disables dialling out during extract.
Thanks to: William Grzybowski <william88 at gmail.com>
Modified:
head/textproc/multimarkdown/Makefile
Modified: head/textproc/multimarkdown/Makefile
==============================================================================
--- head/textproc/multimarkdown/Makefile Thu Oct 31 00:32:31 2013 (r332189)
+++ head/textproc/multimarkdown/Makefile Thu Oct 31 00:37:47 2013 (r332190)
@@ -12,7 +12,7 @@ COMMENT= Extended Markdown processor wit
LICENSE= MIT
-EXTRACT_DEPENDS= git:${PORTSDIR}/devel/git
+FETCH_DEPENDS= git:${PORTSDIR}/devel/git
WRKSRC= ${WRKDIR}/MultiMarkdown-4
@@ -31,13 +31,16 @@ OPTIONS_SUB= yes
CONFLICTS_INSTALL= mtools-*
.endif
-do-extract:
+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
+do-extract:
+ @${DO_NADA} #normally do-extract starts with an rm -rf ${WRKSRC}
+
post-patch:
@${REINPLACE_CMD} -E "s/^(CFLAGS).+=/\1 \+=/" ${WRKSRC}/Makefile ${WRKSRC}/greg/Makefile
@${REINPLACE_CMD} -E "s,^(xslt_path)=.*,\1=${DATADIR},; s,(xslt_path)/../,\1/," \
More information about the svn-ports-all
mailing list