aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2005-11-01 23:03:40 +0000
committerThierry Thomas <thierry@FreeBSD.org>2005-11-01 23:03:40 +0000
commit35faa6ff2d01e438ee9468794ed31ab0d0bc6b17 (patch)
treeca1730594cc43529816d9facc65feb94ded21e7e /x11-fonts
parent74bda327147224c6406c41f6d461ec03d6ba93cf (diff)
downloadports-35faa6ff2d01e438ee9468794ed31ab0d0bc6b17.tar.gz
ports-35faa6ff2d01e438ee9468794ed31ab0d0bc6b17.zip
Don't depend on acroread-5, because it is forbidden.
Note: acroread-5 was used to provide the font Symbol, which is not installed by acroread-7, then users will get messages from mozilla complaining that there's no Symbol font; anyway, the MathML pages should be displayed correctly, because the missing characters can be found in the other fonts. Suggested by: Yann Golanski <yg2 (at) york.ac.uk>
Notes
Notes: svn path=/head/; revision=146968
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/mathfonts/Makefile15
-rw-r--r--x11-fonts/mathfonts/pkg-descr1
-rw-r--r--x11-fonts/mathfonts/pkg-plist2
3 files changed, 3 insertions, 15 deletions
diff --git a/x11-fonts/mathfonts/Makefile b/x11-fonts/mathfonts/Makefile
index 4f9e256e31c5..d8ec737c2e03 100644
--- a/x11-fonts/mathfonts/Makefile
+++ b/x11-fonts/mathfonts/Makefile
@@ -8,7 +8,7 @@
PORTNAME= mathfonts
PORTVERSION= 4.1 # Don't upgrade this port if not supported by MathML-enabled Mozilla
# # Please check http://www.mozilla.org/projects/mathml/fonts/
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-fonts
MASTER_SITES= http://support.wolfram.com/mathematica/systems/windows/general/
DISTNAME= MathFonts_TrueType
@@ -19,19 +19,11 @@ MAINTAINER= thierry@FreeBSD.org
COMMENT= Mathematica fonts for MathML-enabled Mozilla
BUILD_DEPENDS= ttmkfdir:${PORTSDIR}/x11-fonts/ttmkfdir
+RUN_DEPENDS= ${FONTSBASE}/texcm-ttf/cmr10.ttf:${PORTSDIR}/x11-fonts/texcm-ttf
RESTRICTED= "no distribution of the fonts allowed"
NO_CDROM= ${RESTRICTED}
-.if !defined(WITHOUT_FULLMATHML)
-BUILD_DEPENDS+= ${X11BASE}/Acrobat5/Resource/Font/Symbol:${PORTSDIR}/print/acroread
-RUN_DEPENDS+= ${FONTSBASE}/texcm-ttf/cmr10.ttf:${PORTSDIR}/x11-fonts/texcm-ttf \
- ${X11BASE}/Acrobat5/Resource/Font/Symbol:${PORTSDIR}/print/acroread
-PLIST_SUB= ACROREAD=""
-.else
-PLIST_SUB= ACROREAD="@comment "
-.endif
-
USE_X_PREFIX= yes
USE_ZIP= yes
NO_WRKSUBDIR= yes
@@ -57,9 +49,6 @@ do-install:
${MKDIR} ${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/*.ttf ${WRKSRC}/fonts.scale ${WRKSRC}/fonts.dir \
${FONTSDIR}
-.if !defined(WITHOUT_FULLMATHML)
- ${LN} -fs ${X11BASE}/Acrobat5/Resource/Font/Symbol ${FONTSDIR}
-.endif
post-install:
@${ECHO_MSG}
diff --git a/x11-fonts/mathfonts/pkg-descr b/x11-fonts/mathfonts/pkg-descr
index f4093f8d5019..7c536ce9f13e 100644
--- a/x11-fonts/mathfonts/pkg-descr
+++ b/x11-fonts/mathfonts/pkg-descr
@@ -3,4 +3,5 @@ of Mozilla or Firefox, in order to display MathML webpages.
With this port, you should also install the port x11-fonts/texcm-ttf.
+WWW: http://www.mozilla.org/projects/mathml/fonts/
WWW: http://support.wolfram.com/mathematica/systems/windows/general/latestfonts.html
diff --git a/x11-fonts/mathfonts/pkg-plist b/x11-fonts/mathfonts/pkg-plist
index 618f4e511419..fb5f49d9b483 100644
--- a/x11-fonts/mathfonts/pkg-plist
+++ b/x11-fonts/mathfonts/pkg-plist
@@ -21,7 +21,5 @@
%%FONTSDIR%%/math5b__.ttf
%%FONTSDIR%%/math5m__.ttf
%%FONTSDIR%%/math5mb_.ttf
-%%ACROREAD%%@exec ln -fs %%LOCALBASE%%/Acrobat5/Resource/Font/Symbol %D/%%FONTSDIR%%
-%%ACROREAD%%@unexec rm %D/%%FONTSDIR%%/Symbol
@unexec rm %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || true
@dirrm %%FONTSDIR%%