1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/math/jsmath-fonts/Makefile
2014-03-10 16:25:33 +00:00

32 lines
890 B
Makefile

# Created by: Nicola Vitale <nivit@email.it>
# $FreeBSD$
PORTNAME= jsMath-fonts
PORTVERSION= 1.3
CATEGORIES= math www
MASTER_SITES= http://www.math.union.edu/~dpvc/jsMath/download/ \
http://nivi.interfree.it/distfiles/${PORTNAME}/
MAINTAINER= nivit@FreeBSD.org
COMMENT= A raster fonts pack for jsmath
USES= zip
NO_BUILD= yes
WRKSRC= ${WRKDIR}/jsMath
WWWDIR?= ${PREFIX}/www/jsMath
.for _i in bx ex mi r sy ti
PLIST_SUB+= D${_i}a=${WWWDIR_REL}/fonts/cm${_i}10/alpha
PLIST_SUB+= D${_i}p=${WWWDIR_REL}/fonts/cm${_i}10/plain
.endfor
PLIST_SUB+= Dcma=${WWWDIR_REL}/fonts/cm-fonts/alpha
PLIST_SUB+= Dcmp=${WWWDIR_REL}/fonts/cm-fonts/plain
do-install:
@${INSTALL} -d ${STAGEDIR}${WWWDIR}/fonts
@${CP} -Rp ${WRKSRC}/fonts/ ${STAGEDIR}${WWWDIR}/fonts/
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${WWWDIR}/fonts/
@${CHMOD} -R go-w ${STAGEDIR}${WWWDIR}/fonts/
.include <bsd.port.mk>