aboutsummaryrefslogtreecommitdiff
path: root/graphics/plasma-kmod/Makefile
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2012-04-19 22:09:36 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2012-04-19 22:09:36 +0000
commit15ab37afe52a2993d1160656b811483013223170 (patch)
tree7a7671bbb318f9abc60cdd94dc23ce46ea65179e /graphics/plasma-kmod/Makefile
parente01c1892b37d12436285e8ec4fb60678a9fafb63 (diff)
downloadports-15ab37afe52a2993d1160656b811483013223170.tar.gz
ports-15ab37afe52a2993d1160656b811483013223170.zip
Notes
Diffstat (limited to 'graphics/plasma-kmod/Makefile')
-rw-r--r--graphics/plasma-kmod/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/graphics/plasma-kmod/Makefile b/graphics/plasma-kmod/Makefile
index 21a4f9eb7a6a..3c6c20c5d7c1 100644
--- a/graphics/plasma-kmod/Makefile
+++ b/graphics/plasma-kmod/Makefile
@@ -7,7 +7,7 @@
PORTNAME= plasma
PORTVERSION= 0.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= graphics kld
MASTER_SITES= SF/futurebsd/futurebsd/${PORTNAME}
PKGNAMESUFFIX= -kmod
@@ -15,18 +15,16 @@ PKGNAMESUFFIX= -kmod
MAINTAINER= ports@FreeBSD.org
COMMENT= A plasma-effect screensaver kernel module
+LICENSE= BSD
+
.include <bsd.port.pre.mk>
.if !exists(${SRC_BASE}/sys/dev/syscons/syscons.h)
IGNORE= requires kernel source (in ${SRC_BASE}) to build
.endif
-PLIST_FILES= lib/plasma_saver.ko
-SUB_FILES= pkg-message
-
-do-install:
- ${INSTALL_KLD} ${WRKSRC}/plasma_saver.ko ${PREFIX}/lib
-post-install:
- @${CAT} ${PKGMESSAGE}
+KMODDIR= /boot/modules
+PLIST_SUB+= KMODDIR=${KMODDIR:C,^/,,}
+MAKE_ARGS= KMODDIR=${KMODDIR}
.include <bsd.port.post.mk>