From owner-svn-ports-head@FreeBSD.ORG Wed Jul 18 15:47:49 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E16B10656AD; Wed, 18 Jul 2012 15:47:49 +0000 (UTC) (envelope-from nivit@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1ED908FC16; Wed, 18 Jul 2012 15:47:49 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q6IFlmul085791; Wed, 18 Jul 2012 15:47:48 GMT (envelope-from nivit@svn.freebsd.org) Received: (from nivit@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q6IFlmg4085785; Wed, 18 Jul 2012 15:47:48 GMT (envelope-from nivit@svn.freebsd.org) Message-Id: <201207181547.q6IFlmg4085785@svn.freebsd.org> From: Nicola Vitale Date: Wed, 18 Jul 2012 15:47:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r301101 - in head/www: . mathjax X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2012 15:47:49 -0000 Author: nivit Date: Wed Jul 18 15:47:48 2012 New Revision: 301101 URL: http://svn.freebsd.org/changeset/ports/301101 Log: MathJax is an open source JavaScript display engine for mathematics that works in all modern browsers. WWW: http://www.mathjax.org Buildlog: http://goo.gl/Gnr3v PR: ports/153195 Submitted by: Lukasz Stelmach Added: head/www/mathjax/ head/www/mathjax/Makefile (contents, props changed) head/www/mathjax/distinfo (contents, props changed) head/www/mathjax/pkg-descr (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Wed Jul 18 15:12:23 2012 (r301100) +++ head/www/Makefile Wed Jul 18 15:47:48 2012 (r301101) @@ -426,6 +426,7 @@ SUBDIR += mahara SUBDIR += mambo SUBDIR += man2web + SUBDIR += mathjax SUBDIR += mathopd SUBDIR += mawstats SUBDIR += mediawiki Added: head/www/mathjax/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mathjax/Makefile Wed Jul 18 15:47:48 2012 (r301101) @@ -0,0 +1,36 @@ +# -*- mode: makefile-bsdmake -*- +# New ports collection makefile for: www/mathjax +# Date created: 7 December 2010 +# Whom: Lukasz Stelmach +# +# $FreeBSD$ + +PORTNAME= MathJax +PORTVERSION= 2.0 +#PORTREVISION= 0 +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 + +FETCH_BEFORE_ARGS= -o ${DISTNAME}${EXTRACT_SUFX} + +NO_BUILD= yes + +WRKSRC= ${WRKDIR}/mathjax-MathJax-07669ac + +# Changing permissions of 30k files with find -exec (COPYTREE) is way +# too slow. +do-install: + ${MKDIR} ${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) \ + | ${SED} -ne 's,^,@dirrm ,p' >> ${TMPPLIST} + +.include Added: head/www/mathjax/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mathjax/distinfo Wed Jul 18 15:47:48 2012 (r301101) @@ -0,0 +1,2 @@ +SHA256 (MathJax-2.0.tar.gz) = 01ad97362b9bac25420cbffd9d733d9abd3a750ba82b68063d4b2608c43a70ae +SIZE (MathJax-2.0.tar.gz) = 9457775 Added: head/www/mathjax/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mathjax/pkg-descr Wed Jul 18 15:47:48 2012 (r301101) @@ -0,0 +1,4 @@ +MathJax is an open source JavaScript display engine for mathematics +that works in all modern browsers. + +WWW: http://www.mathjax.org