From bfdd588cbcb266c169c36261f550245e8739865d Mon Sep 17 00:00:00 2001 From: anray Date: Sat, 21 Apr 2007 11:01:11 +0000 Subject: mono-kmod is a FreeBSD kernel module enables you to execute ECMA and .NET applications without preceding the native code generator in the command line. That means you can call a binary with "./hello.exe" instead of "mono hello.exe". MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit WWW: http://www.alpha-tierchen.de/~bkoenig/mono-kmod/ PR: ports/111973 Submitted by: Björn König --- sysutils/mono-kmod/Makefile | 32 ++++++++++++++++++++++++++++++++ sysutils/mono-kmod/distinfo | 3 +++ sysutils/mono-kmod/files/pkg-message.in | 11 +++++++++++ sysutils/mono-kmod/pkg-descr | 6 ++++++ 4 files changed, 52 insertions(+) create mode 100644 sysutils/mono-kmod/Makefile create mode 100644 sysutils/mono-kmod/distinfo create mode 100644 sysutils/mono-kmod/files/pkg-message.in create mode 100644 sysutils/mono-kmod/pkg-descr (limited to 'sysutils/mono-kmod') diff --git a/sysutils/mono-kmod/Makefile b/sysutils/mono-kmod/Makefile new file mode 100644 index 000000000000..8bd69aa3e6a5 --- /dev/null +++ b/sysutils/mono-kmod/Makefile @@ -0,0 +1,32 @@ +# 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 +MASTER_SITES= http://www.alpha-tierchen.de/pub/FreeBSD/ports/distfiles/ + +MAINTAINER= bkoenig@cs.tu-berlin.de +COMMENT= Execute .NET applications from command line + +NO_PACKAGE= should be recompiled for a particular FreeBSD kernel + +USE_BZIP2= yes +KMODDIR?= /boot/modules +SUB_FILES= pkg-message +PKGMESSAGE= ${WRKDIR}/pkg-message + +PLIST_SUB= KMODDIR=${KMODDIR} +MAKE_ENV+= KMODDIR=${KMODDIR} + +PLIST_FILES= "@cwd %%KMODDIR%%" +PLIST_FILES+= mono.ko + +post-install: + @${CAT} ${PKGMESSAGE} + +.include diff --git a/sysutils/mono-kmod/distinfo b/sysutils/mono-kmod/distinfo new file mode 100644 index 000000000000..cddca04a4f19 --- /dev/null +++ b/sysutils/mono-kmod/distinfo @@ -0,0 +1,3 @@ +MD5 (mono-kmod-20070416.tar.bz2) = 2bf7aeda953fe7adef9aba87b5260459 +SHA256 (mono-kmod-20070416.tar.bz2) = 1a534504a4eb8ab13761e05d7d34ab6a59ce4be21cde3c4c8251c6b9a5cb8539 +SIZE (mono-kmod-20070416.tar.bz2) = 2174 diff --git a/sysutils/mono-kmod/files/pkg-message.in b/sysutils/mono-kmod/files/pkg-message.in new file mode 100644 index 000000000000..2c3edd7ac331 --- /dev/null +++ b/sysutils/mono-kmod/files/pkg-message.in @@ -0,0 +1,11 @@ +############################################################################ + +Add mono_load="YES" to /boot/loader.conf to load the kernel module +automatically. + +The default path of Mono is %%LOCALBASE%%/bin/mono. You can specify an +alternate path by adding a line to /etc/sysctl.conf: + + kern.mono.path=/path/to/mono + +############################################################################ diff --git a/sysutils/mono-kmod/pkg-descr b/sysutils/mono-kmod/pkg-descr new file mode 100644 index 000000000000..9e4f873dff1d --- /dev/null +++ b/sysutils/mono-kmod/pkg-descr @@ -0,0 +1,6 @@ +mono-kmod is a FreeBSD kernel module enables you to execute ECMA and +.NET applications without preceding the native code generator in the +command line. That means you can call a binary with "./hello.exe" +instead of "mono hello.exe". + +WWW: http://www.alpha-tierchen.de/~bkoenig/mono-kmod/ -- cgit