aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/league-spartan/Makefile
blob: 0a52ca8833becb2fe06c55629c659f488d2107c8 (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
# Created by: Florian Limberger <flo@snakeoilproductions.net>
# $FreeBSD$

PORTNAME=	league-spartan
DISTVERSION=	2.220
CATEGORIES=	x11-fonts
# The .otf files are no longer comitted to the repository,
# so we need to fetch a release tarball. This is not supported
# by the current implementation of USE_GITHUB, so we overwrite
# the master site here.
MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${DISTVERSION}/
DISTNAME=	LeagueSpartan-${DISTVERSION}

MAINTAINER=	flo@snakeoilproductions.net
COMMENT=	Revival of ATF\'s classic Spartan

LICENSE=	OFL11
LICENSE_FILE=	${WRKSRC}/OFL.md

USES=		fonts tar:xz
USE_GITHUB=	nodefault
GH_ACCOUNT=	theleagueof

NO_ARCH=	yes
NO_BUILD=	yes

do-install:
	${MKDIR} ${STAGEDIR}${FONTSDIR}
	${INSTALL_DATA} ${WRKSRC}/static/OTF/*.otf ${STAGEDIR}${FONTSDIR}

.include <bsd.port.mk>