Added mono-2.0 template. Patches from pkgsrc, thanks!

--HG--
extra : convert_revision : 6adafdffed0e60747feb7cc84f5b3f0f4926e034
This commit is contained in:
Juan RP 2008-10-15 00:22:15 +02:00
parent 4833911e22
commit c2a0231719
4 changed files with 241 additions and 0 deletions

View file

@ -0,0 +1,31 @@
#
# Replaces hardcoded shebang files in some scripts.
#
# Perl files with hardcoded shebang path.
mono_perl_files="mcs/errors/do-tests.pl mcs/tools/scan-tests.pl
msvc/create-windef.pl mono/benchmark/test-driver mono/cil/make-opcodes-def.pl
mono/metadata/make-bundle.pl mono/mini/genmdesc.pl mono/tests/stress-runner.pl"
#
# Bash files with hardcoded shebang path.
#
mono_bash_files="mono/arch/arm/dpiops.sh mono/arch/arm/fpaops.sh
mono/arch/arm/vfpops.sh mono/tests/make_imt_test.sh
scripts/mono-find-provides.in scripts/mono-find-requires.in
scripts/mono-test-install web/mono-build-w32.sh
mcs/class/Mono.WebBrowser/build-csproj2k5
mcs/class/Managed.Windows.Forms/build-csproj
mcs/class/Managed.Windows.Forms/build-csproj2k5
mcs/class/Mono.Cairo/Samples/gtk/compile.sh
mcs/class/Mono.Cairo/Samples/png/compile.sh
mcs/class/Mono.Cairo/Samples/win32/compile.sh
mcs/class/Mono.Cairo/Samples/x11/compile.sh mcs/tools/tinderbox/tinderbox.sh"
. $XBPS_TMPLHELPDIR/replace-interpreter.sh
for f in ${mono_bash_files}; do
replace_interpreter bash $f
done
for f in ${mono_perl_files}; do
replace_interpreter perl $f
done