mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
Run the git commands in fetch instead of extract. The package cluster
disables dialling out during extract. Thanks to: William Grzybowski <william88@gmail.com>
This commit is contained in:
parent
1752bb5a6e
commit
d0fc26ef69
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332190
@ -12,7 +12,7 @@ COMMENT= Extended Markdown processor with more features, written in C
|
||||
|
||||
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/," \
|
||||
|
Loading…
Reference in New Issue
Block a user