summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorwiz <wiz>2013-03-11 18:48:02 +0000
committerwiz <wiz>2013-03-11 18:48:02 +0000
commitf0f109222f09b00bdc02f1c83e12bcd700e5f9ad (patch)
tree6f5ac548c8cc8136b8c0e11170bfb4461730ba3a /fonts
parentabeba586862d303da60e5e1c183ecd8bc1fe2a6f (diff)
downloadpkgsrc-f0f109222f09b00bdc02f1c83e12bcd700e5f9ad.tar.gz
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.
Diffstat (limited to 'fonts')
-rw-r--r--fonts/jsMath-fonts/DESCR18
-rw-r--r--fonts/jsMath-fonts/Makefile28
-rw-r--r--fonts/jsMath-fonts/PLIST7
-rw-r--r--fonts/jsMath-fonts/distinfo5
4 files changed, 58 insertions, 0 deletions
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