mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
13c3dab981
ChangeLog: https://github.com/mathjax/MathJax/releases/tag/2.7.5 PR: 231028 Submitted by: marko.cupac@mimar.rs (maintainer) Approved by: tcberner (implicit) Differential Revision: https://reviews.freebsd.org/D16956
29 lines
805 B
Makefile
29 lines
805 B
Makefile
# Created by: Lukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= MathJax
|
|
DISTVERSION= 2.7.5
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= marko.cupac@mimar.rs
|
|
COMMENT= Cross-browser JavaScript display engine for mathematics
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
USE_GITHUB= yes
|
|
|
|
# Changing permissions of 30k files with find -exec (COPYTREE) is way
|
|
# too slow.
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${WWWDIR}
|
|
(cd ${WRKSRC} && \
|
|
${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}
|
|
@(cd ${STAGEDIR}${PREFIX}; ${FIND} -s ${WWWDIR_REL} -not -type d) >> ${TMPPLIST}
|
|
|
|
.include <bsd.port.mk>
|