mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
9225c521c3
- Make portlint satisfy - Avoid creating files out of WRKDIR - Remove the void directory "patch" (What ever was this?) - Adjust whitespace - Fix some ungrammatical wordings - Modify COMMENT and DESCR - Drop fakeprocfs support due to the import of Linux procfs to the base system - Show MESSAGE after installation - Change maintainer to the -emulation list because: - Vladimir seems too busy or unreachable these days - This port depends very much on Linux compatibility stuff - Get it to check if the system has Linux procfs module and stop if not PR: ports/16960 (add WWW to DESCR) No response by: maintainer
24 lines
390 B
Bash
24 lines
390 B
Bash
#!/bin/sh
|
|
|
|
case $1 in
|
|
vmmon*)
|
|
target=vmmon
|
|
;;
|
|
vmnet*)
|
|
target=vmnet
|
|
;;
|
|
*)
|
|
echo unknown patch $1
|
|
exit 64
|
|
;;
|
|
esac
|
|
dir=${WRKSRC}/lib/modules/source
|
|
tar -xf ${dir}/${target}.tar -C ${WRKSRC}
|
|
tar -zxf $1 -C ${WRKSRC}
|
|
if [ $target = vmmon ] ; then
|
|
Makefile=${WRKSRC}/vmmon-only/Makefile
|
|
mv ${Makefile}.FreeBSD $Makefile
|
|
fi
|
|
|
|
cat ${WRKSRC}/${target}-freebsd.diff
|