From 1eae80d3fef5813f4701c7e507b2a5a922ffc4f9 Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 11 Mar 2013 18:48:02 +0000 Subject: Import jsMath-fonts-20090709 as fonts/jsMath-fonts. The jsMath package provides a method of including mathematics in HTML pages that works across multiple browsers under Windows, Macintosh OS X, Linux and other flavors of unix. It overcomes a number of the shortcomings of the traditional method of using images to represent mathematics: jsMath uses native fonts, so they resize when you change the size of the text in your browser, they print at the full resolution of your printer, and you don't have to wait for dozens of images to be downloaded in order to see the mathematics in a web page. There are also advantages for web-page authors, as there is no need to preprocess your web pages to generate any images, and the mathematics is entered in TeX form, so it is easy to create and maintain your web pages. Although it works best with the TeX fonts installed, jsMath will fall back on a collection of image-based fonts (which can still be scaled or printed at high resolution) or unicode fonts when the TeX fonts are not available. This package contains the necessary TeX fonts. --- fonts/jsMath-fonts/DESCR | 18 ++++++++++++++++++ fonts/jsMath-fonts/Makefile | 28 ++++++++++++++++++++++++++++ fonts/jsMath-fonts/PLIST | 7 +++++++ fonts/jsMath-fonts/distinfo | 5 +++++ 4 files changed, 58 insertions(+) create mode 100644 fonts/jsMath-fonts/DESCR create mode 100644 fonts/jsMath-fonts/Makefile create mode 100644 fonts/jsMath-fonts/PLIST create mode 100644 fonts/jsMath-fonts/distinfo diff --git a/fonts/jsMath-fonts/DESCR b/fonts/jsMath-fonts/DESCR new file mode 100644 index 00000000000..783c2b9b56c --- /dev/null +++ b/fonts/jsMath-fonts/DESCR @@ -0,0 +1,18 @@ +The jsMath package provides a method of including mathematics in +HTML pages that works across multiple browsers under Windows, +Macintosh OS X, Linux and other flavors of unix. It overcomes a +number of the shortcomings of the traditional method of using images +to represent mathematics: jsMath uses native fonts, so they resize +when you change the size of the text in your browser, they print +at the full resolution of your printer, and you don't have to wait +for dozens of images to be downloaded in order to see the mathematics +in a web page. There are also advantages for web-page authors, as +there is no need to preprocess your web pages to generate any +images, and the mathematics is entered in TeX form, so it is easy +to create and maintain your web pages. + +Although it works best with the TeX fonts installed, jsMath will +fall back on a collection of image-based fonts (which can still be +scaled or printed at high resolution) or unicode fonts when the +TeX fonts are not available. This package contains the necessary +TeX fonts. diff --git a/fonts/jsMath-fonts/Makefile b/fonts/jsMath-fonts/Makefile new file mode 100644 index 00000000000..cd8f232b970 --- /dev/null +++ b/fonts/jsMath-fonts/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1 2013/03/11 18:48:02 wiz Exp $ +# + +PKGNAME= jsMath-fonts-20090709 +DISTNAME= TeX-fonts-linux +CATEGORIES= fonts +MASTER_SITES= http://www.math.union.edu/~dpvc/jsMath/download/ +EXTRACT_SUFX= .tgz + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.math.union.edu/~dpvc/jsMath/ +COMMENT= Fonts for jsMath +#LICENSE= no-commercial-use? unclear; probably whatever the corresponding TeX font license is + +DIST_SUBDIR= ${PKGNAME_NOREV} + +USE_LANGUAGES= # none + +FONTDIR= ${PREFIX}/lib/X11/fonts/TTF +FONTS_DIRS.ttf+= ${FONTDIR} +INSTALLATION_DIRS+= ${FONTDIR} + +do-build: + +do-install: + ${INSTALL_DATA} ${WRKSRC}/*.ttf ${DESTDIR}${FONTDIR} + +.include "../../mk/bsd.pkg.mk" diff --git a/fonts/jsMath-fonts/PLIST b/fonts/jsMath-fonts/PLIST new file mode 100644 index 00000000000..94d8f60b0b6 --- /dev/null +++ b/fonts/jsMath-fonts/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1 2013/03/11 18:48:02 wiz Exp $ +lib/X11/fonts/TTF/jsMath-cmbx10.ttf +lib/X11/fonts/TTF/jsMath-cmex10.ttf +lib/X11/fonts/TTF/jsMath-cmmi10.ttf +lib/X11/fonts/TTF/jsMath-cmr10.ttf +lib/X11/fonts/TTF/jsMath-cmsy10.ttf +lib/X11/fonts/TTF/jsMath-cmti10.ttf diff --git a/fonts/jsMath-fonts/distinfo b/fonts/jsMath-fonts/distinfo new file mode 100644 index 00000000000..d082e0a35d5 --- /dev/null +++ b/fonts/jsMath-fonts/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2013/03/11 18:48:02 wiz Exp $ + +SHA1 (jsMath-fonts-20090709/TeX-fonts-linux.tgz) = df045a65a72422a2280b33ae83b49f1e30dc7eb2 +RMD160 (jsMath-fonts-20090709/TeX-fonts-linux.tgz) = 61cb278784807a6eef8c0ce8544340cfdd602c76 +Size (jsMath-fonts-20090709/TeX-fonts-linux.tgz) = 127294 bytes -- cgit v1.2.3