summaryrefslogtreecommitdiff
path: root/x11-fonts/monoid/Makefile
blob: 838dd744c4b9dff53649822506fd13c6ac4ae7ae (plain)
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

PORTNAME=	monoid
DISTVERSION=	0.61
PORTREVISION=	1
CATEGORIES=	x11-fonts
MASTER_SITES=	https://github.com/larsenwork/monoid/raw/${RELEASE_HASH}/:monoid \
		https://github.com/larsenwork/monoid/raw/${DISTVERSION}/Monoisome/:monoisome
DISTFILES=	${FONTNAME}${EXTRACT_SUFX}:monoid \
		${FONTNAME}-Tight${EXTRACT_SUFX}:monoid \
		${FONTNAME}-HalfTight${EXTRACT_SUFX}:monoid \
		${FONTNAME}-HalfLoose${EXTRACT_SUFX}:monoid \
		${FONTNAME}-Loose${EXTRACT_SUFX}:monoid \
		Monoisome-Regular.ttf:monoisome
DIST_SUBDIR=	${PORTNAME}-${DISTVERSION}
EXTRACT_ONLY=	${DISTFILES:M*\:monoid:S/:monoid//}

MAINTAINER=	0mp@FreeBSD.org
COMMENT=	Coding font with alternates, ligatures and contextual positioning

# The license is in the README file, which is not downloaded.
LICENSE=	OFL11

USES=		fonts zip

FONTNAME=	Monoid

NO_ARCH=	yes
NO_BUILD=	yes
NO_WRKSUBDIR=	yes

RELEASE_HASH=	2db2d289f4e61010dd3f44e09918d9bb32fb96fd

post-extract:
	@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/Monoisome-Regular.ttf \
		${WRKSRC}

do-install:
	@${MKDIR} ${STAGEDIR}${FONTSDIR}
	${INSTALL_DATA} ${WRKSRC}/*ttf ${STAGEDIR}${FONTSDIR}

.include <bsd.port.mk>