aboutsummaryrefslogtreecommitdiff
path: root/sysutils/biosfont
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2013-09-29 17:09:48 +0000
committerRene Ladan <rene@FreeBSD.org>2013-09-29 17:09:48 +0000
commitf819f7cc0371f06bfc632d0e51d4644e07df8ac9 (patch)
tree61ae6abe33c26b40430f1316ec54576e0284a8dc /sysutils/biosfont
parent36cf85ae2e5021dd79b5ad2f7216b699e6c80dc5 (diff)
downloadports-f819f7cc0371f06bfc632d0e51d4644e07df8ac9.tar.gz
ports-f819f7cc0371f06bfc632d0e51d4644e07df8ac9.zip
Add staging support
Featuring: bapt
Notes
Notes: svn path=/head/; revision=328713
Diffstat (limited to 'sysutils/biosfont')
-rw-r--r--sysutils/biosfont/Makefile13
-rw-r--r--sysutils/biosfont/pkg-plist2
2 files changed, 9 insertions, 6 deletions
diff --git a/sysutils/biosfont/Makefile b/sysutils/biosfont/Makefile
index aa49abc3f5af..ddb13b07b294 100644
--- a/sysutils/biosfont/Makefile
+++ b/sysutils/biosfont/Makefile
@@ -16,23 +16,24 @@ SSP_UNSAFE= kernel module does not support ssp
# only platforms guraranteed to be ok, feedback/patches are welcome
ONLY_FOR_ARCHS= i386 amd64
-MAN4= biosfont.4
+USES= uidfix
-NO_STAGE= yes
.include <bsd.port.pre.mk>
KMODDIR= /boot/modules
PLIST_SUB= KMODDIR=${KMODDIR} PREFIX=${PREFIX}
-MAKE_ENV+= KMODDIR=${KMODDIR}
+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
+
post-install:
- ${INSTALL_DATA} ${WRKSRC}/biosfont.h ${PREFIX}/include
- ${INSTALL_MAN} ${MAN4:S|^|${WRKSRC}/|} ${PREFIX}/man/man4
- @${CAT} ${PKGMESSAGE}
+ ${INSTALL_DATA} ${WRKSRC}/biosfont.h ${STAGEDIR}${PREFIX}/include
+ ${INSTALL_MAN} ${WRKSRC}/biosfont.4 ${STAGEDIR}${PREFIX}/man/man4
.include <bsd.port.post.mk>
diff --git a/sysutils/biosfont/pkg-plist b/sysutils/biosfont/pkg-plist
index 6f37f66257f8..f49eb35a0a9d 100644
--- a/sysutils/biosfont/pkg-plist
+++ b/sysutils/biosfont/pkg-plist
@@ -1,5 +1,7 @@
include/biosfont.h
+man/man4/biosfont.4.gz
@cwd %%KMODDIR%%
biosfont.ko
+@exec kldxref %%KMODDIR%%
@unexec kldxref %%KMODDIR%%
@cwd %%PREFIX%%