1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/misc/matrix-kmod/Makefile
Warner Losh 56928d6bf3 Ignore warnings in the module build.
Check for kernel sources
Honor SYSDIR overrides
2005-02-25 04:28:00 +00:00

41 lines
893 B
Makefile

# New ports collection makefile for: strijar
# Date created: 22 Dec 2000
# Whom: Oleg Belousov <strijar@urai.ru>
#
# $FreeBSD$
#
PORTNAME= matrix
PORTVERSION= 1.2
PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://www.belousov.com/download/
PKGNAMESUFFIX= -kmod
MAINTAINER= strijar@urai.ru
COMMENT= Screensaver for console (matrix_saver.ko) "Matrix" like
KMODDIR= ${PREFIX}/modules
SYSDIR?= ${SRC_BASE}/sys
.if !exists(${SYSDIR}/dev/syscons/syscons.h)
IGNORE= Requires kernel source (/usr/src/sys) to build
.endif
MAKE_ENV+= WERROR=
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 400000
BROKEN= "Need FreeBSD 4.0 or above"
.endif
.if ${ARCH} == "sparc64"
BROKEN= "Does not compile on sparc64"
.endif
do-install:
@${MKDIR} ${KMODDIR}
${INSTALL_SCRIPT} ${FILESDIR}/matrix_saver.sh ${PREFIX}/etc/rc.d
${INSTALL_SCRIPT} ${WRKSRC}/*.ko ${KMODDIR}
.include <bsd.port.post.mk>