aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/gnu-unifont/Makefile
blob: 40c912e99edccf90ecb2d183e2a5abe6c8bfb177 (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
PORTNAME=	unifont
PORTVERSION=	15.1.05
PORTEPOCH=	1
CATEGORIES=	x11-fonts
MASTER_SITES=	GNU/unifont/unifont-${PORTVERSION}
PKGNAMEPREFIX=	gnu-
DISTFILES=	${FONTFILES:S|$|-${PORTVERSION}${FONTSUFFIX}|}
EXTRACT_ONLY=	# empty

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	GNU Unicode font
WWW=		https://unifoundry.com/unifont/index.html

LICENSE=	GPLv2+

USES=		fonts

NO_ARCH=	yes
NO_BUILD=	yes

FONTSDIR=	${PREFIX}/share/fonts/gnu-unifont
PLIST_FILES=	${FONTFILES:S|^|${FONTSDIR}/|:S|$|${FONTSUFFIX}|}

FONTFILES=	unifont
FONTSUFFIX=	.pcf.gz

do-install:
	${MKDIR} ${STAGEDIR}${FONTSDIR}
.for i in ${FONTFILES}
	${INSTALL_DATA} ${DISTDIR}/${i}-${PORTVERSION}${FONTSUFFIX} ${STAGEDIR}${FONTSDIR}/${i}${FONTSUFFIX}
.endfor

.include <bsd.port.mk>