ports/182874: [UPDATE] www/mathjax
Carlo Strub
cs at FreeBSD.org
Thu Oct 10 11:30:00 UTC 2013
>Number: 182874
>Category: ports
>Synopsis: [UPDATE] www/mathjax
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Oct 10 11:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Carlo Strub
>Release:
>Organization:
>Environment:
>Description:
- Update to 2.2
- Support staging
- Support USE_GITHUB
- Remove indefinite article in COMMENT
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN /usr/ports/www/mathjax/Makefile mathjax/Makefile
--- /usr/ports/www/mathjax/Makefile 2013-09-21 01:36:50.000000000 +0200
+++ mathjax/Makefile 2013-10-10 13:15:41.000000000 +0200
@@ -2,32 +2,31 @@
# $FreeBSD: www/mathjax/Makefile 327776 2013-09-20 23:36:50Z bapt $
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 at 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
+#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,^, at dirrm ,p' >> ${TMPPLIST}
.include <bsd.port.mk>
diff -ruN /usr/ports/www/mathjax/distinfo mathjax/distinfo
--- /usr/ports/www/mathjax/distinfo 2012-07-18 17:47:48.000000000 +0200
+++ mathjax/distinfo 2013-10-10 11:56:01.000000000 +0200
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list