summaryrefslogtreecommitdiff
path: root/sysutils/biosfont/Makefile
blob: ffb5c2073105dd4f4a06df728dc2bf88165de7a5 (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
# Created by: rene
# $FreeBSD$

PORTNAME=	biosfont
PORTVERSION=	1.2.1
CATEGORIES=	sysutils kld
MASTER_SITES=	ftp://rene-ladan.nl/pub/distfiles/

MAINTAINER=	rene@FreeBSD.org
COMMENT=	Kernel module to retrieve bitmap fonts from BIOS memory

LICENSE=	BSD

SSP_UNSAFE=	kernel module does not support ssp

# only platforms guraranteed to be ok, feedback/patches are welcome
ONLY_FOR_ARCHS=	i386 amd64

MAN4=		biosfont.4

.include <bsd.port.pre.mk>

KMODDIR=	/boot/modules

PLIST_SUB=	KMODDIR=${KMODDIR} PREFIX=${PREFIX}
MAKE_ENV+=	KMODDIR=${KMODDIR}

.if !exists(${SRC_BASE}/sys/Makefile)
IGNORE=		requires kernel source files
.endif

post-install:
	${INSTALL_DATA} ${WRKSRC}/biosfont.h ${PREFIX}/include
	${INSTALL_MAN} ${MAN4:S|^|${WRKSRC}/|} ${PREFIX}/man/man4
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>