freebsd-ports/sysutils/biosfont/Makefile
Rene Ladan c3298e5169 - Update to 1.2.1 to include the clang fix and proper licensing.
- Override KMODDIR in Makefile, otherwise it installs the kernel
  module in /boot/kernel instead of /boot/modules [1]

Discussed with:	kwm [1]
Feature safe:	yes
2012-12-05 11:24:02 +00:00

35 lines
764 B
Makefile

# 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
# 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>