summaryrefslogtreecommitdiff
path: root/sysutils/mono-kmod/Makefile
blob: 800e271febb1f2bcd016519d1a6cc029195cff29 (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
36
37
38
39
40
41
42
43
44
45
# Ports collection makefile for: mono-kmod
# Date created:		14 April 2007
# Whom:			bkoenig@cs.tu-berlin.de
#
# $FreeBSD$
#

PORTNAME=	mono-kmod
PORTVERSION=	20070416
CATEGORIES=	sysutils kld
MASTER_SITES=	http://www.alpha-tierchen.de/pub/FreeBSD/ports/distfiles/

MAINTAINER=	bkoenig@alpha-tierchen.de
COMMENT=	Execute .NET applications from command line

ONLY_FOR_ARCHS=	i386 arm

USE_BZIP2=	yes
KMODDIR?=	/boot/modules
SUB_FILES=	pkg-message
PKGMESSAGE=	${WRKDIR}/pkg-message

SRC_BASE?=	/usr/src

PLIST_SUB=	KMODDIR=${KMODDIR}
MAKE_ENV+=	KMODDIR=${KMODDIR}

PLIST_FILES=	"@cwd %%KMODDIR%%"
PLIST_FILES+=	mono.ko
PLIST_FILES+=	"@unexec kldxref ${KMODDIR}"

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 600009
IGNORE=		requires FreeBSD 6.0 or higher
.endif

.if !exists(${SRC_BASE}/sys/Makefile)
IGNORE=		requires kernel source to be installed
.endif

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

.include <bsd.port.post.mk>