diff options
author | rene <rene@FreeBSD.org> | 2013-11-04 06:26:38 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2013-11-04 06:26:38 +0800 |
commit | 581bc4cce1b73c3a90a6c56ca2a55ab423f58486 (patch) | |
tree | 0b482c1df6e874dc1e9b4a543201f43c9e511eba | |
parent | 292fe3f1bee2bd62e809c0a568aac5d684df2f8f (diff) | |
download | freebsd-ports-gnome-581bc4cce1b73c3a90a6c56ca2a55ab423f58486.tar.gz freebsd-ports-gnome-581bc4cce1b73c3a90a6c56ca2a55ab423f58486.tar.zst freebsd-ports-gnome-581bc4cce1b73c3a90a6c56ca2a55ab423f58486.zip |
Tentatively convert to USES=kmod
-rw-r--r-- | multimedia/linux-ov511-kmod/Makefile | 8 | ||||
-rw-r--r-- | multimedia/linux-ov511-kmod/pkg-plist | 5 |
2 files changed, 7 insertions, 6 deletions
diff --git a/multimedia/linux-ov511-kmod/Makefile b/multimedia/linux-ov511-kmod/Makefile index f83a9f11e0db..6f0ee2a4be97 100644 --- a/multimedia/linux-ov511-kmod/Makefile +++ b/multimedia/linux-ov511-kmod/Makefile @@ -4,7 +4,7 @@ PORTNAME= linux-ov511-kmod PORTVERSION= 1.0 PORTREVISION= 1 -CATEGORIES= multimedia kld +CATEGORIES= multimedia MASTER_SITES= http://info.iet.unipi.it/~luigi/FreeBSD/linux/drivers/media/video/ DISTFILES= ov511.c ov511.h DIST_SUBDIR= ${PORTNAME} @@ -22,6 +22,12 @@ NO_PACKAGE= depends on kernel sources # This is our Makefile to be used for build/install. MAKEFILE= Makefile.kld ALL_TARGET= depend all + +PLIST_FILES= ${KMODDIR}/ov511.ko + +# forcibly overwrite KMODDIR being /boot/kernel : +KMODDIR= /boot/modules +USES= kmod # we simply copy the sources from the original site NO_STAGE= yes diff --git a/multimedia/linux-ov511-kmod/pkg-plist b/multimedia/linux-ov511-kmod/pkg-plist deleted file mode 100644 index 808b0520cdb7..000000000000 --- a/multimedia/linux-ov511-kmod/pkg-plist +++ /dev/null @@ -1,5 +0,0 @@ -@comment The module is installed in /boot/modules -@comment on removal, re-run kldxref to restore or delete linker.hints -@cwd /boot/modules -ov511.ko -@unexec kldxref %D |