1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/sysutils/mono-kmod/Makefile
Jason Helfman fc7e559962 - re-order, include bsd.port.pre.mk so SRC_BASE is defined before referenced
PR:     ports/169222
Submitted by:   jgh@
Approved by:    maintainer timeout ( 14 days )
2012-07-01 22:40:21 +00:00

42 lines
854 B
Makefile

# 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 amd64 arm
USE_BZIP2= yes
KMODDIR?= /boot/modules
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
.include <bsd.port.pre.mk>
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}"
.if !exists(${SRC_BASE}/sys/Makefile)
IGNORE= requires kernel source to be installed
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>