freebsd-ports/math/jsmath/Makefile
Dmitry Marakasov 535382b891 - Retire MASTER_SITE_SOURCEFORGE_EXTENDED, it's no longer needed - all mirrors actually have all distfiles
- Merge all SF mirrors to MASTER_SITE_SOURCEFORGE, resort according to quick download speed survey
- Fix MASTER_SITES for all port that have used SOURCEFORGE_EXTENTED

Approved by:	portmgr (pav)
2009-09-02 15:01:56 +00:00

42 lines
1 KiB
Makefile

# New ports collection makefile for: jsMath
# Date created: 2006-02-23
# Whom: Nicola Vitale <nivit@email.it>
#
# $FreeBSD$
#
PORTNAME= jsMath
DISTVERSION= 3.6b
CATEGORIES= math www
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME}/3.6b
MAINTAINER= nivit@FreeBSD.org
COMMENT= A Javascript tool for including mathematics in web pages
USE_ZIP= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
OPTIONS= IMAGE_FONTS "Enable image fonts" On \
SPRITE_FONTS "Enable sprite fonts" Off
.include <bsd.port.pre.mk>
.if defined(WITH_IMAGE_FONTS)
RUN_DEPENDS+= ${WWWDIR}/fonts/cm-fonts/alpha/def.js:${PORTSDIR}/math/jsmath-fonts
.endif
.if defined(WITH_SPRITE_FONTS)
RUN_DEPENDS+= ${WWWDIR}/fonts-sprite/cm-fonts/font.js:${PORTSDIR}/math/jsmath-fonts-sprite
.endif
post-extract:
@${RM} ${WRKSRC}/COPYING.txt
@${FIND} -d ${WRKSRC} -type d -name "CVS" -exec ${RM} -R {} ";"
do-install:
@${INSTALL} -d ${WWWDIR}
@${CP} -Rp ${WRKSRC}/ ${WWWDIR}/
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${WWWDIR}/
@${CHMOD} -R go-w ${WWWDIR}/
.include <bsd.port.post.mk>