diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2009-03-01 12:56:04 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2009-03-01 12:56:04 +0000 |
commit | 2b561dc7b213a8f31d38fdaa81c55d89f8ae0a9c (patch) | |
tree | 38cbea9f1ebb093b19c280735ef84ef98bcfa3a9 /x11-fonts/stix-fonts/Makefile | |
parent | 4d7036c976ce7b87c0085d48a02aa5728b94460a (diff) | |
download | ports-2b561dc7b213a8f31d38fdaa81c55d89f8ae0a9c.tar.gz ports-2b561dc7b213a8f31d38fdaa81c55d89f8ae0a9c.zip |
The mission of the Scientific and Technical Information Exchange (STIX) font
creation project is the preparation of a comprehensive set of fonts that serve
the scientific and engineering community in the process from manuscript creation
through final publication, both in electronic and print formats. Toward this
purpose, the STIX fonts will be made available, under royalty-free license, to
anyone, including publishers, software developers, scientists, students, and the
general public.
These fonts cover all the symbols in MathML and this port can replace the former
x11-fonts/mathfonts.
WWW: http://www.stixfonts.org/
Notes
Notes:
svn path=/head/; revision=229275
Diffstat (limited to 'x11-fonts/stix-fonts/Makefile')
-rw-r--r-- | x11-fonts/stix-fonts/Makefile | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/x11-fonts/stix-fonts/Makefile b/x11-fonts/stix-fonts/Makefile new file mode 100644 index 000000000000..ffd56f42022f --- /dev/null +++ b/x11-fonts/stix-fonts/Makefile @@ -0,0 +1,60 @@ +# New ports collection makefile for: STIX fonts +# Date created: 28 February 2009 +# Whom: Thierry Thomas <thierry@pompo.net> +# +# $FreeBSD$ +# + +PORTNAME= STIX-fonts +PORTVERSION= 0.20071031 +CATEGORIES= x11-fonts +MASTER_SITES= http://www.mozilla.org/projects/mathml/fonts/stix/ +DISTNAME= STIXBeta + +MAINTAINER= thierry@FreeBSD.org +COMMENT= A comprehensive set of fonts for scientific and engineering purposes + +BUILD_DEPENDS= mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale \ + mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir +RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig + +USE_ZIP= yes +USE_XORG= x11 + +NO_WRKSUBDIR= yes + +PLIST_SUB= FONTDIR="${FONTDIR:S|${PREFIX}/||}" \ + FCCACHE='${FCCACHE}' + +SUB_FILES= pkg-message +PKGMESSAGE= ${WRKDIR}/pkg-message +SUB_LIST= FONTDIR=${FONTDIR} + +FONTNAME= stix +FONTDIR= ${PREFIX}/lib/X11/fonts/${FONTNAME} +INSTDAT= License.txt Readme.txt fonts.dir fonts.scale + +MKFONTSCL_CMD= ${LOCALBASE}/bin/mkfontscale +MKFONTDIR_CMD= ${LOCALBASE}/bin/mkfontdir +FCCACHE= ${LOCALBASE}/bin/fc-cache -f -v + +do-build: + cd ${WRKSRC} && \ + ${MKFONTSCL_CMD} + ${REINPLACE_CMD} -e 's|-misc-|-stix-|' ${WRKSRC}/fonts.scale + cd ${WRKSRC} && \ + ${MKFONTDIR_CMD} + +do-install: + ${MKDIR} ${FONTDIR} + cd ${WRKSRC} && \ + ${INSTALL_DATA} ${INSTDAT} *.otf ${FONTDIR} + +post-install: + @${ECHO_MSG} "===> Running fc-cache" + -${FCCACHE} ${FONTDIR} + @${ECHO_MSG} + @${CAT} ${PKGMESSAGE} + @${ECHO_MSG} + +.include <bsd.port.mk> |