aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-07-28 23:04:57 +0800
committerrafan <rafan@FreeBSD.org>2007-07-28 23:04:57 +0800
commitbf42a37a81aca09013c984113da1b4f5bba46f21 (patch)
tree3c473cb5f404abfa4683c6d4800746d0e76d10eb /sysutils
parentcdf97685a73e338cd1ede181a8efe6069c37fc24 (diff)
downloadfreebsd-ports-gnome-bf42a37a81aca09013c984113da1b4f5bba46f21.tar.gz
freebsd-ports-gnome-bf42a37a81aca09013c984113da1b4f5bba46f21.tar.zst
freebsd-ports-gnome-bf42a37a81aca09013c984113da1b4f5bba46f21.zip
- Change maintainer's email
- Allow package build on i386 and arm as Mono currently runs on these two architecture only. Moreover, the kernel interface this module uses is quite stable and changes rarely. Maintainer tested a module built on 6.2-R works on 7.x. - Distfile is repackaging due to a small license wording change: - * 4. Neither the name of the university nor the names of its contributors + * 4. Neither the name of the author nor the names of its contributors - Set IGNORE for older FreeBSD release - Set IGNORE when kernel source does not present PR: ports/114804 Submitted by: Björn König <bkoenig at cs.tu-berlin.de> (maintainer)
Diffstat (limited to 'sysutils')
-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