aboutsummaryrefslogtreecommitdiff
path: root/graphics/plasma-kmod
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2013-11-03 17:13:12 +0000
committerRene Ladan <rene@FreeBSD.org>2013-11-03 17:13:12 +0000
commitaf67b0f27cdbd64a7f5fbb9d3aa3d1b44b058813 (patch)
tree7f70288c5566176b67292799824c8dc987f9834a /graphics/plasma-kmod
parent46f7ab28e71f6bd17e4e95ffd04b4ee0cea6fb60 (diff)
downloadports-af67b0f27cdbd64a7f5fbb9d3aa3d1b44b058813.tar.gz
ports-af67b0f27cdbd64a7f5fbb9d3aa3d1b44b058813.zip
- Convert to USES=kmod
- Support staging - Remove indefinite article from COMMENT - Fold 2-line pkg-plist into Makefile
Notes
Notes: svn path=/head/; revision=332629
Diffstat (limited to 'graphics/plasma-kmod')
-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%%