Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2013 22:04:57 +0000 (UTC)
From:      Carlo Strub <cs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334355 - head/www/mathjax
Message-ID:  <201311192204.rAJM4vR5093882@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cs
Date: Tue Nov 19 22:04:57 2013
New Revision: 334355
URL: http://svnweb.freebsd.org/changeset/ports/334355

Log:
  - Update to 2.2
  - Support staging
  - Support USE_GITHUB
  - Remove indefinite article in COMMENT
  
  PR:		ports/182874
  Approved by:	maintainer timeout (40 days)

Modified:
  head/www/mathjax/Makefile
  head/www/mathjax/distinfo

Modified: head/www/mathjax/Makefile
==============================================================================
--- head/www/mathjax/Makefile	Tue Nov 19 21:49:39 2013	(r334354)
+++ head/www/mathjax/Makefile	Tue Nov 19 22:04:57 2013	(r334355)
@@ -2,32 +2,30 @@
 # $FreeBSD$
 
 PORTNAME=	MathJax
-PORTVERSION=	2.0
-#PORTREVISION=	0
+PORTVERSION=	2.2
 CATEGORIES=	www
-MASTER_SITES=	https://nodeload.github.com/mathjax/MathJax/tarball/v${PORTVERSION}-latest?dummy=/
 
 MAINTAINER=	lukasz.stelmach@iem.pw.edu.pl
-COMMENT=	A cross-browser JavaScript display engine for mathematics
+COMMENT=	Cross-browser JavaScript display engine for mathematics
 
-FETCH_BEFORE_ARGS=	-o ${DISTNAME}${EXTRACT_SUFX}
+NO_BUILD=	yes
+USE_GITHUB=	yes
+GH_ACCOUNT=	mathjax
+GH_TAGNAME=	v${PORTVERSION}
 
-NO_BUILD=	 yes
-
-WRKSRC=	${WRKDIR}/mathjax-MathJax-07669ac
+WRKSRC=	${WRKDIR}/${GH_ACCOUNT}-${PORTNAME}-54280bb
 
 # Changing permissions of 30k files with find -exec (COPYTREE) is way
 # too slow.
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${WWWDIR}
+	${MKDIR} ${STAGEDIR}${WWWDIR}
 	(cd ${WRKSRC} && \
-		${FIND} -d . | ${CPIO} -dumpl ${WWWDIR} >/dev/null 2>&1)
-	${FIND} -d ${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
-	${FIND} -d ${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} ${SHAREMODE}
-	${CHOWN} -R ${BINOWN}:${BINGRP} ${WWWDIR}
-	@(cd ${PREFIX}; ${FIND} -s ${WWWDIR_REL} -not -type d) >> ${TMPPLIST}
-	@(cd ${PREFIX}; ${FIND} -s -d ${WWWDIR_REL} -type d) \
+		${FIND} -d . | ${CPIO} -dumpl ${STAGEDIR}${WWWDIR} >/dev/null 2>&1)
+	${FIND} -d ${STAGEDIR}${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
+	${FIND} -d ${STAGEDIR}${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} ${SHAREMODE}
+	${CHOWN} -R ${BINOWN}:${BINGRP} ${STAGEDIR}${WWWDIR}
+	@(cd ${STAGEDIR}${PREFIX}; ${FIND} -s ${WWWDIR_REL} -not -type d) >> ${TMPPLIST}
+	@(cd ${STAGEDIR}${PREFIX}; ${FIND} -s -d ${WWWDIR_REL} -type d) \
 	| ${SED} -ne 's,^,@dirrm ,p' >> ${TMPPLIST}
 
 .include <bsd.port.mk>

Modified: head/www/mathjax/distinfo
==============================================================================
--- head/www/mathjax/distinfo	Tue Nov 19 21:49:39 2013	(r334354)
+++ head/www/mathjax/distinfo	Tue Nov 19 22:04:57 2013	(r334355)
@@ -1,2 +1,2 @@
-SHA256 (MathJax-2.0.tar.gz) = 01ad97362b9bac25420cbffd9d733d9abd3a750ba82b68063d4b2608c43a70ae
-SIZE (MathJax-2.0.tar.gz) = 9457775
+SHA256 (MathJax-2.2.tar.gz) = 3c01dc8c3fd6869311d45c15c348f7ad682aefa3ae03ccf201f9cad83e26ceb1
+SIZE (MathJax-2.2.tar.gz) = 8972964



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311192204.rAJM4vR5093882>