aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/kix-kmod/Makefile
blob: d23dda5bdbb9790bebd8e354877b0f612b2c45f3 (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
# Created by: Jonathan Belson <jon@witchspace.com>
# $FreeBSD$

PORTNAME=       kix
PORTVERSION=    1.0
PORTREVISION=   1
CATEGORIES=     graphics kld
MASTER_SITES=   http://homepage.ntlworld.com/jon.belson/files/kix-1.0.tar.gz \
    LOCAL/pgollucci
PKGNAMESUFFIX=  -kmod

MAINTAINER= jon@witchspace.com
COMMENT=    A graphical screensaver kernel module

SSP_UNSAFE= kernel module does not support ssp

NO_STAGE=   yes
.include <bsd.port.pre.mk>

SYSDIR?=    ${SRC_BASE}/sys
.if !exists(${SYSDIR}/dev/syscons/syscons.h)
IGNORE=     requires kernel source (in ${SYSDIR}) to build
.endif
MAKE_ENV+=  WERROR=
PLIST_FILES=    lib/kix_saver.ko
SUB_FILES=  pkg-message

do-install:
    ${INSTALL_KLD} ${WRKSRC}/kix_saver.ko ${PREFIX}/lib

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>