summaryrefslogtreecommitdiff
path: root/fonts/xfonts-alias/Makefile
blob: ddc0783fcaafea6b987f245b538c58ee99ab92e2 (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
42
43
# $OpenBSD: Makefile,v 1.9 2019/07/12 20:46:12 sthen Exp $

PKG_ARCH =	*

COMMENT =	X core font aliases

DISTNAME =	font-alias-1.0.4
PKGNAME =	${DISTNAME:S/font-/xfonts-/}

CATEGORIES =	fonts x11

HOMEPAGE =	https://gitlab.freedesktop.org/xorg/font/alias

MAINTAINER =	xenocara@openbsd.org

# MIT
PERMIT_PACKAGE =	Yes

MASTER_SITES =		${MASTER_SITE_XORG:=font/}

MODULES = 		xenocara

NO_BUILD =		Yes

FONTROOTDIR =		${PREFIX}/lib/X11/fonts

do-install:
	${INSTALL_DATA_DIR} ${FONTROOTDIR}/100dpi
	${INSTALL_DATA} ${WRKSRC}/100dpi/fonts.alias \
		${FONTROOTDIR}/100dpi/fonts.alias-xorg
	${INSTALL_DATA_DIR} ${FONTROOTDIR}/75dpi
	${INSTALL_DATA} ${WRKSRC}/75dpi/fonts.alias \
		${FONTROOTDIR}/75dpi/fonts.alias-xorg
	${INSTALL_DATA_DIR} ${FONTROOTDIR}/cyrillic
	${INSTALL_DATA} ${WRKSRC}/cyrillic/fonts.alias \
		${FONTROOTDIR}/cyrillic/fonts.alias-xorg
	${INSTALL_DATA_DIR} ${FONTROOTDIR}/misc
	${INSTALL_DATA} ${WRKSRC}/misc/fonts.alias \
		${FONTROOTDIR}/misc/fonts.alias-xorg

NO_TEST =		Yes

.include <bsd.port.mk>