From owner-svn-ports-all@FreeBSD.ORG Thu Nov 14 23:31:25 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D7997A37; Thu, 14 Nov 2013 23:31:25 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C6FDE2758; Thu, 14 Nov 2013 23:31:25 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAENVPCG039460; Thu, 14 Nov 2013 23:31:25 GMT (envelope-from adamw@svn.freebsd.org) Received: (from adamw@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAENVPYW039459; Thu, 14 Nov 2013 23:31:25 GMT (envelope-from adamw@svn.freebsd.org) Message-Id: <201311142331.rAENVPYW039459@svn.freebsd.org> From: Adam Weinberger Date: Thu, 14 Nov 2013 23:31:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333808 - head/textproc/multimarkdown X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Nov 2013 23:31:25 -0000 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