From 38c71f7b1e73c76ffa6f25ca26678897b2b5b124 Mon Sep 17 00:00:00 2001 From: Rong-En Fan Date: Sat, 28 Jul 2007 15:04:57 +0000 Subject: [PATCH] - 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR: ports/114804 Submitted by: Björn König (maintainer) --- sysutils/mono-kmod/Makefile | 18 +++++++++++++++--- sysutils/mono-kmod/distinfo | 6 +++--- 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 + +.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 +.include 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