aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/nerd-fonts/Makefile
blob: 274b0719f062a6c39ee91229f69fcb4ced4204cc (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
# $FreeBSD$

PORTNAME=	nerd-fonts
DISTVERSIONPREFIX=	v
DISTVERSION=	2.0.0
PORTREVISION=	1
CATEGORIES=	x11-fonts

MAINTAINER=	gregf@hugops.pw
COMMENT=	Developer-targeted fonts with a high number of glyphs

LICENSE=	MIT

USES=		fonts
USE_GITHUB=	yes
GH_ACCOUNT=	ryanoasis

NO_ARCH=	yes
NO_BUILD=	yes

do-install:
	${MKDIR} ${STAGEDIR}${FONTSDIR}
	(cd ${WRKSRC}/patched-fonts && \
	${COPYTREE_SHARE} . ${STAGEDIR}${FONTSDIR} "! -name *Windows* -and ! \
	-name *Awesome* -and ! -name *Pomicons* -and ! -name *Octicons* \
	-and ! -name *.md -and ! -name *Linux*")
	@${RMDIR} ${STAGEDIR}${FONTSDIR}/ProFont/ProFontWinTweaked/complete \
		${STAGEDIR}${FONTSDIR}/ProFont/ProFontWinTweaked \
		${STAGEDIR}${FONTSDIR}/ProFont/profont-x11 \
		${STAGEDIR}${FONTSDIR}/Terminus/BDF \
		${STAGEDIR}${FONTSDIR}/Terminus/PCF \
		${STAGEDIR}${FONTSDIR}/Terminus/PSF \

.include <bsd.port.mk>