aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2005-11-02 07:03:40 +0800
committerthierry <thierry@FreeBSD.org>2005-11-02 07:03:40 +0800
commit31297d372181d69b9094aa306b9c2c0f03eeaed5 (patch)
treebf955a6356284b8dfe2ed4d725311b03da228481 /x11-fonts
parent1bce21f821d0ca6de9bd8f99d0653b493ebfc201 (diff)
downloadfreebsd-ports-gnome-31297d372181d69b9094aa306b9c2c0f03eeaed5.tar.gz
freebsd-ports-gnome-31297d372181d69b9094aa306b9c2c0f03eeaed5.tar.zst
freebsd-ports-gnome-31297d372181d69b9094aa306b9c2c0f03eeaed5.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>
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%%