head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2012.11.17.06.02.39;	author svnexp;	state Exp;
branches;
next	1.1;

1.1
date	2012.07.18.15.47.48;	author nivit;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Switch exporter over
@
text
@# -*- mode: makefile-bsdmake -*-
# New ports collection makefile for:	www/mathjax
# Date created:				7 December 2010
# Whom:					Lukasz Stelmach <lukasz.stelmach@@iem.pw.edu.pl>
#
# $FreeBSD: head/www/mathjax/Makefile 301101 2012-07-18 15:47:48Z nivit $

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 <bsd.port.mk>
@


1.1
log
@SVN rev 301101 on 2012-07-18 15:47:48Z by nivit

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 <lukasz.stelmach@@iem.pw.edu.pl>
@
text
@d6 1
a6 1
# $FreeBSD$
@

