From 783e5ff0ebf5d12f679654fe285d6042e83decd4 Mon Sep 17 00:00:00 2001 From: rene Date: Sun, 3 Nov 2013 17:13:12 +0000 Subject: - Convert to USES=kmod - Support staging - Remove indefinite article from COMMENT - Fold 2-line pkg-plist into Makefile --- graphics/plasma-kmod/Makefile | 17 +++++------------ graphics/plasma-kmod/pkg-plist | 4 ---- 2 files changed, 5 insertions(+), 16 deletions(-) delete mode 100644 graphics/plasma-kmod/pkg-plist 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 +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 +.include 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%% -- cgit v1.1