ports/101344: [MAINTAINER] math/jsmath: add WITH_SPRITE_FONTS knob

Nicola Vitale nivit at email.it
Fri Aug 4 07:50:24 UTC 2006


>Number:         101344
>Category:       ports
>Synopsis:       [MAINTAINER] math/jsmath: add WITH_SPRITE_FONTS knob
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 04 07:50:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Nicola Vitale
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD fabula.domo.sva 6.1-STABLE FreeBSD 6.1-STABLE #0: Mon Jul 24 10:21:17 CEST 2006
>Description:
- Add WITH_SPRITE_FONTS option

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- jsmath-3.3c_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/math/jsmath/Makefile /usr/ports/math/jsmath.add_sprite-fonts-option/Makefile
--- /usr/ports/math/jsmath/Makefile	Wed Aug  2 09:29:50 2006
+++ /usr/ports/math/jsmath.add_sprite-fonts-option/Makefile	Thu Aug  3 16:04:57 2006
@@ -7,6 +7,7 @@
 
 PORTNAME=	jsMath
 PORTVERSION=	3.3c
+PORTREVISION=	1
 CATEGORIES=	math www
 MASTER_SITES=	http://www.math.union.edu/~dpvc/jsMath/download/ \
 		http://nivi.interfree.it/distfiles/${PORTNAME}/
@@ -20,12 +21,16 @@
 WWWDIR?=	${PREFIX}/www/${PORTNAME}
 PLIST_SUB+=	WWWDIR=${WWWDIR:S,^${PREFIX}/,,}
 
-OPTIONS=	IMAGE_FONTS "Enable image fonts" On
+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
 
 do-install:
--- jsmath-3.3c_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list