1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/www/mathjax3/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

30 lines
797 B
Makefile

PORTNAME= MathJax3
DISTVERSION= 3.1.2
CATEGORIES= www math
MAINTAINER= marko.cupac@mimar.rs
COMMENT= Cross-browser JavaScript display engine for mathematics
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= mathjax
GH_PROJECT= MathJax
GH_TAGNAME= c829235
NO_BUILD= yes
NO_ARCH= 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>