summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2013-11-03 17:13:12 +0000
committerrene <rene@FreeBSD.org>2013-11-03 17:13:12 +0000
commit783e5ff0ebf5d12f679654fe285d6042e83decd4 (patch)
tree7f70288c5566176b67292799824c8dc987f9834a
parentcb7bd4c841ce557e912d638c75e28b6e119a1e6c (diff)
downloadFreeBSD-ports-783e5ff0ebf5d12f679654fe285d6042e83decd4.zip
FreeBSD-ports-783e5ff0ebf5d12f679654fe285d6042e83decd4.tar.gz
- Convert to USES=kmod
- Support staging - Remove indefinite article from COMMENT - Fold 2-line pkg-plist into Makefile
-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 43360ca..00ae645 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 ad53613..0000000
--- 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%%
OpenPOWER on IntegriCloud