aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2013-11-04 01:13:12 +0800
committerrene <rene@FreeBSD.org>2013-11-04 01:13:12 +0800
commit783e5ff0ebf5d12f679654fe285d6042e83decd4 (patch)
tree7f70288c5566176b67292799824c8dc987f9834a /graphics
parentcb7bd4c841ce557e912d638c75e28b6e119a1e6c (diff)
downloadfreebsd-ports-gnome-783e5ff0ebf5d12f679654fe285d6042e83decd4.tar.gz
freebsd-ports-gnome-783e5ff0ebf5d12f679654fe285d6042e83decd4.tar.zst
freebsd-ports-gnome-783e5ff0ebf5d12f679654fe285d6042e83decd4.zip
- Convert to USES=kmod
- Support staging - Remove indefinite article from COMMENT - Fold 2-line pkg-plist into Makefile
Diffstat (limited to 'graphics')
-rw-r--r--graphics/plasma-kmod/Makefile17
-rw-r--r--graphics/plasma-kmod/pkg-plist4
2 files changed, 5 insertions, 16 deletions
diff --git a/graphics/plasma-kmod/Makefile b/graphics/plasma-kmod/Makefile
index 43360cafa491..00ae6457ac73 100644
--- a/graphics/plasma-kmod/Makefile
+++ b/graphics/plasma-kmod/Makefile
@@ -4,26 +4,19 @@
PORTNAME= plasma
PORTVERSION= 0.1
PORTREVISION= 4
-CATEGORIES= graphics kld
+CATEGORIES= graphics
MASTER_SITES= SF/futurebsd/futurebsd/${PORTNAME}
PKGNAMESUFFIX= -kmod
MAINTAINER= ports@FreeBSD.org
-COMMENT= A plasma-effect screensaver kernel module
+COMMENT= Plasma-effect screensaver kernel module
LICENSE= BSD
-SSP_UNSAFE= kernel module does not support ssp
+PLIST_FILES= ${KMODDIR}/plasma_saver.ko
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
+USES= kmod uidfix
-.if !exists(${SRC_BASE}/sys/dev/syscons/syscons.h)
-IGNORE= requires kernel source (in ${SRC_BASE}) to build
-.endif
-
-KMODDIR= /boot/modules
-PLIST_SUB+= KMODDIR=${KMODDIR:C,^/,,}
MAKE_ARGS= KMODDIR=${KMODDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/graphics/plasma-kmod/pkg-plist b/graphics/plasma-kmod/pkg-plist
deleted file mode 100644
index ad536137f2af..000000000000
--- a/graphics/plasma-kmod/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-@cwd /
-%%KMODDIR%%/plasma_saver.ko
-@exec /usr/sbin/kldxref /%%KMODDIR%%
-@unexec /usr/sbin/kldxref /%%KMODDIR%%