Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2013 11:46:07 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332231 - head/sysutils/biosfont
Message-ID:  <201310311146.r9VBk7VP063513@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Thu Oct 31 11:46:06 2013
New Revision: 332231
URL: http://svnweb.freebsd.org/changeset/ports/332231

Log:
  Convert to USES=kmod

Modified:
  head/sysutils/biosfont/Makefile
  head/sysutils/biosfont/pkg-plist

Modified: head/sysutils/biosfont/Makefile
==============================================================================
--- head/sysutils/biosfont/Makefile	Thu Oct 31 11:44:12 2013	(r332230)
+++ head/sysutils/biosfont/Makefile	Thu Oct 31 11:46:06 2013	(r332231)
@@ -3,7 +3,7 @@
 
 PORTNAME=	biosfont
 PORTVERSION=	1.2.1
-CATEGORIES=	sysutils kld
+CATEGORIES=	sysutils
 MASTER_SITES=	ftp://rene-ladan.nl/pub/distfiles/
 
 MAINTAINER=	rene@FreeBSD.org
@@ -11,26 +11,15 @@ COMMENT=	Kernel module to retrieve bitma
 
 LICENSE=	BSD
 
-SSP_UNSAFE=	kernel module does not support ssp
-
 # only platforms guraranteed to be ok, feedback/patches are welcome
 ONLY_FOR_ARCHS=	i386 amd64
 
-USES=		uidfix
+USES=		uidfix kmod
 
 .include <bsd.port.pre.mk>
 
-KMODDIR=	/boot/modules
-
-PLIST_SUB=	KMODDIR=${KMODDIR} PREFIX=${PREFIX}
-MAKE_ENV+=	KMODDIR=${KMODDIR} NO_XREF=yes
-
-.if !exists(${SRC_BASE}/sys/Makefile)
-IGNORE=		requires kernel source files
-.endif
-
-pre-install:
-	${MKDIR} ${STAGEDIR}/boot/modules
+PLIST_SUB+=	PREFIX=${PREFIX}
+MAKE_ENV+=	NO_XREF=yes
 
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/biosfont.h ${STAGEDIR}${PREFIX}/include

Modified: head/sysutils/biosfont/pkg-plist
==============================================================================
--- head/sysutils/biosfont/pkg-plist	Thu Oct 31 11:44:12 2013	(r332230)
+++ head/sysutils/biosfont/pkg-plist	Thu Oct 31 11:46:06 2013	(r332231)
@@ -1,7 +1,3 @@
 include/biosfont.h
 man/man4/biosfont.4.gz
-@cwd %%KMODDIR%%
-biosfont.ko
-@exec kldxref %%KMODDIR%%
-@unexec kldxref %%KMODDIR%%
-@cwd %%PREFIX%%
+/%%KMODDIR%%/biosfont.ko



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310311146.r9VBk7VP063513>