aboutsummaryrefslogtreecommitdiff
path: root/emulators/kqemu-kmod-devel
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-08-28 22:52:42 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-08-28 22:52:42 +0000
commit03581add72710f2614abe966f083b3c6df46485b (patch)
tree4dbccb6f2932b37d5f02736d1f638e995f3ec3c3 /emulators/kqemu-kmod-devel
parent5bc271a36c11a409da8164423371c7e8e8593371 (diff)
downloadports-03581add72710f2614abe966f083b3c6df46485b.tar.gz
ports-03581add72710f2614abe966f083b3c6df46485b.zip
Notes
Diffstat (limited to 'emulators/kqemu-kmod-devel')
-rw-r--r--emulators/kqemu-kmod-devel/Makefile14
-rw-r--r--emulators/kqemu-kmod-devel/pkg-descr2
2 files changed, 13 insertions, 3 deletions
diff --git a/emulators/kqemu-kmod-devel/Makefile b/emulators/kqemu-kmod-devel/Makefile
index 6b56c5a57306..70b7bccfed25 100644
--- a/emulators/kqemu-kmod-devel/Makefile
+++ b/emulators/kqemu-kmod-devel/Makefile
@@ -7,8 +7,9 @@
PORTNAME= kqemu
PORTVERSION= 1.3.0.p9
+PORTREVISION= 1
CATEGORIES= emulators
-MASTER_SITES= http://fabrice.bellard.free.fr/qemu/
+MASTER_SITES= http://qemu.org/
PKGNAMESUFFIX= -kmod
DISTNAME= ${PORTNAME}-${PORTVERSION:C/.p/pre/}
DIST_SUBDIR= kqemu
@@ -19,14 +20,23 @@ COMMENT= Kernel Acceralator for QEMU CPU Emulator (development version)
ONLY_FOR_ARCHS= i386 amd64
NO_PACKAGE= Depends on kernel, and module not redistributable
+.include <bsd.port.pre.mk>
+
PLIST_FILES= "include/kqemu/kqemu.h"
PLIST_FILES+= "@dirrm include/kqemu"
PLIST_FILES+= "@cwd /"
PLIST_FILES+= ${KMODDIR:C,^/,,}/kqemu.ko
+.if ${OSVERSION} >= 500000
+PLIST_FILES+= "@unexec kldxref ${KMODDIR}"
+.endif
MAKEFILE= Makefile.freebsd
-.include <bsd.port.pre.mk>
+# install where x11/nvidia-driver does also:
+.if ${OSVERSION} >= 500000
+KMODDIR= /boot/modules
+.endif
+
MAKE_ENV+= KMODDIR="${KMODDIR}"
.if !exists(${SRC_BASE}/sys/Makefile)
diff --git a/emulators/kqemu-kmod-devel/pkg-descr b/emulators/kqemu-kmod-devel/pkg-descr
index d340d3bb1f4b..4d41548f8f4b 100644
--- a/emulators/kqemu-kmod-devel/pkg-descr
+++ b/emulators/kqemu-kmod-devel/pkg-descr
@@ -1,3 +1,3 @@
KQEMU is a qemu accelerator kernel module on x86/amd64.
-WWW: http://fabrice.bellard.free.fr/qemu/qemu-accel.html
+WWW: http://qemu.org/qemu-accel.html