summaryrefslogtreecommitdiffstats
path: root/graphics/kix-kmod/Makefile
blob: a7a4edf9dce0485e8863e64257b5066a035261aa (plain)
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
# New ports collection makefile for:	kix-kmod
# Date created:				4 January 2003
# Whom:					Jonathan Belson <jon@witchspace.com>
#
# $FreeBSD$
#

PORTNAME=       kix
PORTVERSION=	1.0
CATEGORIES=     graphics
MASTER_SITES=   http://www.witchspace.com/files/
PKGNAMESUFFIX=	-kmod

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

.if !exists(/usr/src/sys/dev/syscons/syscons.h)
BROKEN=		"Requires kernel source (/usr/src/sys) to build"
.endif

.include <bsd.port.pre.mk>

.if ${ARCH} == amd64
CFLAGS+=	-fPIC
.endif

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

post-install:
	@${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE}

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud