aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/tv-fonts/Makefile
blob: c139c7fbe115bdd4fe079aee5865b7249b1b369d (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
38
39
40
41
42
43
44
45
46
47
48
49
# New ports collection makefile for:	tv-fonts
# Date created:				19 June 2004
# Whom:					Oliver Lehmann <lehmann@ans-netz.de>
#
# $FreeBSD$
#

PORTNAME=	tv-fonts
PORTVERSION=	1.1
CATEGORIES=	x11-fonts
MASTER_SITES=	http://dl.bytesex.org/releases/${PORTNAME}/

MAINTAINER=	oliver@FreeBSD.org
COMMENT=	A number of fonts which are useful for TV applications

BUILD_DEPENDS=	bdftopcf:${X_CLIENTS_PORT}

USE_X_PREFIX=	yes
USE_GMAKE=	yes
USE_BZIP2=	yes

FONTSDIR=	${PREFIX}/lib/X11/fonts/misc
FONTS=		caption.pcf.gz captioni.pcf.gz led-iso10646-1.pcf.gz \
		led-iso8859-1.pcf.gz led-iso8859-10.pcf.gz led-iso8859-13.pcf.gz \
		led-iso8859-14.pcf.gz led-iso8859-15.pcf.gz led-iso8859-2.pcf.gz \
		led-iso8859-3.pcf.gz led-iso8859-4.pcf.gz led-iso8859-5.pcf.gz \
		led-iso8859-7.pcf.gz led-iso8859-8.pcf.gz led-iso8859-9.pcf.gz \
		led-koi8-r.pcf.gz teletext1.pcf.gz teletext1i.pcf.gz \
		teletext2.pcf.gz teletext2i.pcf.gz teletext4.pcf.gz \
		teletext4i.pcf.gz

do-install:
	@${MKDIR} ${FONTSDIR}
.for font in ${FONTS}
	${INSTALL_DATA} ${WRKSRC}/${font} ${FONTSDIR}
.endfor

post-install:
	@-${X11BASE}/bin/fc-cache -f -v ${FONTSDIR}

.include <bsd.port.pre.mk>

.if ${X_WINDOW_SYSTEM:L} == xorg
PLIST_SUB+=	NEWMTREE=""
.else
PLIST_SUB+=	NEWMTREE="@comment "
.endif

.include <bsd.port.post.mk>