aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/stix-fonts/Makefile
blob: 538b1198c950d721085c2eec05b9fc9a6e169237 (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
# Created by: Thierry Thomas <thierry@pompo.net>

PORTNAME=	stixfonts
PORTVERSION=	2.12
DISTVERSIONPREFIX=	v
CATEGORIES=	x11-fonts

MAINTAINER=	thierry@FreeBSD.org
COMMENT=	OpenType Unicode fonts for Scientific, Technical, and Math texts

LICENSE=	OFL11

USES=		fonts xorg
USE_XORG=	x11
USE_GITHUB=	yes
GH_ACCOUNT=	stipub

NO_ARCH=	yes
NO_BUILD=	yes

SUB_FILES=	pkg-message

FONTNAME=	STIX

OPTIONS_DEFINE=	DOCS

PORTDOCS=	STIX-Two_glyph_sets.xlsx STIXTwoMath-Regular.pdf	\
		STIXTwoText-Regular.pdf

do-install:
	${MKDIR} ${STAGEDIR}${FONTSDIR}
	cd ${WRKSRC} &&	\
	${FIND} fonts -type file -exec ${INSTALL_DATA} {} ${STAGEDIR}${FONTSDIR} \;
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	cd ${WRKSRC}/docs && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>