aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2013-09-30 01:09:48 +0800
committerrene <rene@FreeBSD.org>2013-09-30 01:09:48 +0800
commit5c471ba1e3a1c86a07520dab9ce2d424325f733c (patch)
tree61ae6abe33c26b40430f1316ec54576e0284a8dc /sysutils
parentcba5504bf4eb4307da624b14ab63ffaa925ea2b6 (diff)
downloadfreebsd-ports-gnome-5c471ba1e3a1c86a07520dab9ce2d424325f733c.tar.gz
freebsd-ports-gnome-5c471ba1e3a1c86a07520dab9ce2d424325f733c.tar.zst
freebsd-ports-gnome-5c471ba1e3a1c86a07520dab9ce2d424325f733c.zip
Add staging support
Featuring: bapt
Diffstat (limited to 'sysutils')
-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%%