svn commit: r333808 - head/textproc/multimarkdown
Adam Weinberger
adamw at FreeBSD.org
Thu Nov 14 23:31:25 UTC 2013
Author: adamw
Date: Thu Nov 14 23:31:25 2013
New Revision: 333808
URL: http://svnweb.freebsd.org/changeset/ports/333808
Log:
Use bsd.git-clone.mk.
Modified:
head/textproc/multimarkdown/Makefile
Modified: head/textproc/multimarkdown/Makefile
==============================================================================
--- head/textproc/multimarkdown/Makefile Thu Nov 14 23:31:09 2013 (r333807)
+++ head/textproc/multimarkdown/Makefile Thu Nov 14 23:31:25 2013 (r333808)
@@ -12,9 +12,9 @@ COMMENT= Extended Markdown processor wit
LICENSE= MIT
-FETCH_DEPENDS= git:${PORTSDIR}/devel/git
-
-WRKSRC= ${WRKDIR}/MultiMarkdown-4
+GITHUB_CREATOR= fletcher
+GIT_PROJECT_NAME= MultiMarkdown-4
+GIT_SUBMODULES= yes
ALL_TARGET= ${PORTNAME}
@@ -31,18 +31,6 @@ OPTIONS_SUB= yes
CONFLICTS_INSTALL= mtools-*
.endif
-do-fetch:
- @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}
-
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/," \
@@ -70,4 +58,6 @@ do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/cheat-sheet
cd ${WRKSRC} && ${FIND} cheat-sheet -not -path '*/.git*' | \
${CPIO} -pdmu --quiet ${STAGEDIR}${DOCSDIR}
+
+.include "${.CURDIR}/bsd.git-clone.mk"
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list