summaryrefslogtreecommitdiff
path: root/fonts/xfonts-alias/Makefile
blob: 423d62ff061c38b27d25d2e20d221ade92133395 (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

PKG_ARCH =	*

COMMENT =	X core font aliases

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

CATEGORIES =	fonts x11

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

MAINTAINER =	xenocara@openbsd.org

# MIT
PERMIT_PACKAGE =	Yes

SITES =			${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>