Tweak math/geg version 1.0.2_7
[dports.git] / math / jsmath-fonts-sprite / Makefile
1 # Created by: Nicola Vitale <nivit@email.it>
2 # $FreeBSD$
3
4 PORTNAME=       jsMath-fonts-sprite
5 PORTVERSION=    1.0
6 CATEGORIES=     math www
7 MASTER_SITES=   http://www.math.union.edu/~dpvc/jsMath/download/ \
8                 http://nivi.interfree.it/distfiles/${PORTNAME}/
9
10 MAINTAINER=     ports@FreeBSD.org
11 COMMENT=        Sprite fonts pack for jsMath
12
13 USES=           zip
14 NO_BUILD=       yes
15 WRKSRC=         ${WRKDIR}
16 WWWDIR?=        ${PREFIX}/www/jsMath
17
18 .for _i in bx ex mi r sy ti
19 PLIST_SUB+=     D${_i}a=${WWWDIR_REL}/fonts-sprite/cm${_i}10/alpha
20 PLIST_SUB+=     D${_i}p=${WWWDIR_REL}/fonts-sprite/cm${_i}10/plain
21 PLIST_SUB+=     D${_i}j=${WWWDIR_REL}/fonts-sprite/cm${_i}10
22 .endfor
23 PLIST_SUB+=     Dcmj=${WWWDIR_REL}/fonts-sprite/cm-fonts
24
25 NO_STAGE=       yes
26 do-install:
27         @${INSTALL} -d ${WWWDIR}/fonts-sprite
28         @${CP} -Rp ${WRKSRC}/fonts-sprite ${WWWDIR}
29         @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${WWWDIR}/fonts-sprite
30         @${CHMOD} -R go-w ${WWWDIR}/fonts-sprite
31
32 .include <bsd.port.mk>