aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/mono-kmod
diff options
context:
space:
mode:
authoranray <anray@FreeBSD.org>2007-04-21 19:01:11 +0800
committeranray <anray@FreeBSD.org>2007-04-21 19:01:11 +0800
commitbfdd588cbcb266c169c36261f550245e8739865d (patch)
tree5996a4a1bfe7acf9b528c8c6a39bb69e7403d03e /sysutils/mono-kmod
parent0785f2dce98e331164759fbbb21d2e518d3e45da (diff)
downloadfreebsd-ports-gnome-bfdd588cbcb266c169c36261f550245e8739865d.tar.gz
freebsd-ports-gnome-bfdd588cbcb266c169c36261f550245e8739865d.tar.zst
freebsd-ports-gnome-bfdd588cbcb266c169c36261f550245e8739865d.zip
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/ PR: ports/111973 Submitted by: Björn König <bkoenig at cs.tu-berlin.de>
Diffstat (limited to 'sysutils/mono-kmod')
-rw-r--r--sysutils/mono-kmod/Makefile32
-rw-r--r--sysutils/mono-kmod/distinfo3
-rw-r--r--sysutils/mono-kmod/files/pkg-message.in11
-rw-r--r--sysutils/mono-kmod/pkg-descr6
4 files changed, 52 insertions, 0 deletions
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 <bsd.port.mk>
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/