aboutsummaryrefslogtreecommitdiff
path: root/sysutils/mono-kmod
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-07-28 15:04:57 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-07-28 15:04:57 +0000
commit38c71f7b1e73c76ffa6f25ca26678897b2b5b124 (patch)
tree5d792e28f3d0bef409398ca8a9403ee671865573 /sysutils/mono-kmod
parent976cadd0a261454fb978cd2749d636ad460ffcb0 (diff)
downloadports-38c71f7b1e73c76ffa6f25ca26678897b2b5b124.tar.gz
ports-38c71f7b1e73c76ffa6f25ca26678897b2b5b124.zip
Notes
Diffstat (limited to 'sysutils/mono-kmod')
-rw-r--r--sysutils/mono-kmod/Makefile18
-rw-r--r--sysutils/mono-kmod/distinfo6
2 files changed, 18 insertions, 6 deletions
diff --git a/sysutils/mono-kmod/Makefile b/sysutils/mono-kmod/Makefile
index a6f4eb480637..265462cd5efe 100644
--- a/sysutils/mono-kmod/Makefile
+++ b/sysutils/mono-kmod/Makefile
@@ -10,23 +10,35 @@ PORTVERSION= 20070416
CATEGORIES= sysutils kld
MASTER_SITES= http://www.alpha-tierchen.de/pub/FreeBSD/ports/distfiles/
-MAINTAINER= bkoenig@cs.tu-berlin.de
+MAINTAINER= bkoenig@alpha-tierchen.de
COMMENT= Execute .NET applications from command line
-NO_PACKAGE= should be recompiled for a particular FreeBSD kernel
+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
+.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.mk>
+.include <bsd.port.post.mk>
diff --git a/sysutils/mono-kmod/distinfo b/sysutils/mono-kmod/distinfo
index cddca04a4f19..8e9be1ee8859 100644
--- a/sysutils/mono-kmod/distinfo
+++ b/sysutils/mono-kmod/distinfo
@@ -1,3 +1,3 @@
-MD5 (mono-kmod-20070416.tar.bz2) = 2bf7aeda953fe7adef9aba87b5260459
-SHA256 (mono-kmod-20070416.tar.bz2) = 1a534504a4eb8ab13761e05d7d34ab6a59ce4be21cde3c4c8251c6b9a5cb8539
-SIZE (mono-kmod-20070416.tar.bz2) = 2174
+MD5 (mono-kmod-20070416.tar.bz2) = a0a0c11053f2aa2131d5368428fbabd4
+SHA256 (mono-kmod-20070416.tar.bz2) = 60184982ae9e977330356e54a0c51867bc75c257c1089d198e38eccc18dda326
+SIZE (mono-kmod-20070416.tar.bz2) = 2171