1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/math/jsmath-fonts-sprite/Makefile
2007-03-24 16:34:07 +00:00

36 lines
971 B
Makefile

# New ports collection makefile for: jsmath-fonts-sprite
# Date created: 2006-07-11
# Whom: Nicola Vitale <nivit@email.it>
#
# $FreeBSD$
#
PORTNAME= jsMath-fonts-sprite
PORTVERSION= 1.0
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 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
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>