mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
4a4ec28d37
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a replacement for :U and :L (which has been marked as deprecated) bmake which is the default on FreeBSD 10+ only support by default :tu/:tl a hack has been added at the time to support :U and :L to ease migration. This hack is now not necessary anymore Note that this makes the ports tree incompatible with make(1) from FreeBSD 8.3 or earlier With hat: portmgr
41 lines
1015 B
Makefile
41 lines
1015 B
Makefile
# Created by: Nicola Vitale <nivit@email.it>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= jsMath
|
|
DISTVERSION= 3.6e
|
|
CATEGORIES= math www
|
|
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME}/${DISTVERSION}
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= JavaScript tool for including mathematics in web pages
|
|
|
|
USES= zip
|
|
NO_BUILD= yes
|
|
|
|
OPTIONS_DEFINE= IMAGE_FONTS SPRITE_FONTS
|
|
OPTIONS_DEFAULT= IMAGE_FONTS
|
|
IMAGE_FONTS_DESC= Image fonts
|
|
SPRITE_FONTS_DESC= Sprite fonts
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PORT_OPTIONS:MIMAGE_FONTS}
|
|
RUN_DEPENDS+= ${WWWDIR}/fonts/cm-fonts/alpha/def.js:${PORTSDIR}/math/jsmath-fonts
|
|
.endif
|
|
.if ${PORT_OPTIONS:MSPRITE_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>
|