2013-09-20 22:55:04 +02:00
|
|
|
# Created by: Nicola Vitale <nivit@email.it>
|
2006-08-04 03:23:29 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= jsMath-fonts-sprite
|
|
|
|
PORTVERSION= 1.0
|
|
|
|
CATEGORIES= math www
|
2006-09-03 16:46:16 +02:00
|
|
|
MASTER_SITES= http://www.math.union.edu/~dpvc/jsMath/download/ \
|
2006-08-04 03:23:29 +02:00
|
|
|
http://nivi.interfree.it/distfiles/${PORTNAME}/
|
|
|
|
|
2006-12-10 02:21:51 +01:00
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
2006-08-04 03:23:29 +02:00
|
|
|
COMMENT= A sprite fonts pack for jsMath
|
|
|
|
|
|
|
|
USE_ZIP= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
WWWDIR?= ${PREFIX}/www/jsMath
|
|
|
|
|
|
|
|
.for _i in bx ex mi r sy ti
|
|
|
|
PLIST_SUB+= D${_i}a=${WWWDIR_REL}/fonts-sprite/cm${_i}10/alpha
|
|
|
|
PLIST_SUB+= D${_i}p=${WWWDIR_REL}/fonts-sprite/cm${_i}10/plain
|
|
|
|
PLIST_SUB+= D${_i}j=${WWWDIR_REL}/fonts-sprite/cm${_i}10
|
|
|
|
.endfor
|
|
|
|
PLIST_SUB+= Dcmj=${WWWDIR_REL}/fonts-sprite/cm-fonts
|
|
|
|
|
2013-09-20 22:55:04 +02:00
|
|
|
NO_STAGE= yes
|
2006-08-04 03:23:29 +02:00
|
|
|
do-install:
|
|
|
|
@${INSTALL} -d ${WWWDIR}/fonts-sprite
|
|
|
|
@${CP} -Rp ${WRKSRC}/fonts-sprite ${WWWDIR}
|
|
|
|
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${WWWDIR}/fonts-sprite
|
|
|
|
@${CHMOD} -R go-w ${WWWDIR}/fonts-sprite
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|