freebsd-ports/x11-fonts/stix-fonts/Makefile
Baptiste Daroussin a5da770e67 Make fonts repecting XDG
Xorg is now looking in ${LOCALBASE}/share/fonts by default
Xorg now accepts symlinks in etc/X11/fontpath.d (as decribed in Xserver(1))
Large cleanup on lots of font ports
All fonts are now properly dynamically generating fonts.dir and fonts.scale
instead of sometime overwriting existing ones)
All fonts are generating fontconfig's cache
Improve consistency in fonts ports
2015-03-21 23:05:19 +00:00

41 lines
909 B
Makefile

# Created by: Thierry Thomas <thierry@pompo.net>
# $FreeBSD$
PORTNAME= stixfonts
PORTVERSION= 1.1.1
PORTREVISION= 1
CATEGORIES= x11-fonts
MASTER_SITES= SF/${PORTNAME}/Current%20Release/
DISTNAME= STIXv${PORTVERSION}-webfonts
MAINTAINER= thierry@FreeBSD.org
COMMENT= OpenType Unicode fonts for Scientific, Technical, and Math texts
LICENSE= OFL11
NO_WRKSUBDIR= yes
USES= fonts zip
USE_XORG= x11
SUB_FILES= pkg-message
FONTNAME= stix
OPTIONS_DEFINE= DOCS
PORTDOCS= "STIX Font ${PORTVERSION}-webfonts Release Documentation.pdf"
do-build:
${MKDIR} ${WRKDIR}/build
.for group in stix-web STIX-MathJax/woff
${CP} ${WRKSRC}/${group}/*.woff ${WRKDIR}/build/
.endfor
do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
cd ${WRKDIR}/build && ${INSTALL_DATA} *.woff ${STAGEDIR}${FONTSDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>