aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/stix-fonts/Makefile
blob: 63698aad15b9b54b2c5322f97421ebf977026f80 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# 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>