aboutsummaryrefslogtreecommitdiffstats
path: root/misc/matrix-kmod/Makefile
blob: 6a7f3e207e5d7144812816e7672be26c7d2558d6 (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
# 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

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