Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/shells In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv29937
Modified Files: mksh.info Log Message: Adding mksh-llvm to build mksh with llvm. Index: mksh.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/shells/mksh.info,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- mksh.info 16 Apr 2009 11:41:31 -0000 1.16 +++ mksh.info 16 Apr 2009 13:33:02 -0000 1.17 @@ -1,47 +1,57 @@ -Package: mksh +Info2: << +Package: mksh%type_pkg[mksh] Version: 37 Revision: 3 Description: Enhanced version of the Korn shell +Type: mksh (. -llvm) License: BSD Maintainer: Andreas Gockel <fink-m...@unixforge.de> -Replaces: mirbsdksh (<< 29.5-1) -Conflicts: mirbsdksh (<< 29.5-1) +BuildDepends: (%type_raw[mksh] = -llvm) llvm +Replaces: mirbsdksh (<< 29.5-1), mksh, mksh-llvm +Conflicts: mirbsdksh (<< 29.5-1), mksh, mksh-llvm CustomMirror: << - Primary: http://www.mirbsd.org/MirOS/dist/mir/%n/ - asi-JP: http://pub.allbsd.org/MirOS/dist/mir/%n/ + Primary: http://www.mirbsd.org/MirOS/dist/mir/mksh/ + asi-JP: http://pub.allbsd.org/MirOS/dist/mir/mksh/ << -Source: mirror:custom:%n-R37c.cpio.gz -SourceRename: %f.cpio.gz +Source: mirror:custom:mksh-R37c.cpio.gz +SourceRename: mksh-%v-%r.cpio.gz Source-md5: ecd6b95dbdb5ead1fc065a3044142379 NoSourceDirectory: true -PatchScript: /bin/pax -s ',^/*mksh//*,%f/,' -zf %f.cpio.gz -r +PatchScript: /bin/pax -s ',^/*mksh//*,%f/,' -zf mksh-%v-%r.cpio.gz -r SetCPPFLAGS: -DMKSH_ASSUME_UTF8 -CompileScript: cd %f; env /bin/sh ./Build.sh -r -Q -j +CompileScript: << + #!/bin/sh -ev + if [ "%type_raw[mksh]" == "." ]; then + cd %f; env /bin/sh ./Build.sh -r -Q -j + elif [ "%type_raw[mksh]" == "-llvm" ]; then + cd %f; env CC=%p/bin/llvm-gcc-4 /bin/sh ./Build.sh -r -Q -j -combine -llvm + fi +<< InstallScript: << #!/bin/sh -e -x cd %f /usr/bin/install -d -m 755 %i/{bin,share/man/man1,etc/profile.d} - /usr/bin/install -c -s -m 555 %n %i/bin/%n - /usr/bin/install -c -m 444 %n.1 %i/share/man/man1/%n.1 - /usr/bin/install -c -m 444 dot.%nrc %i/etc/%nrc - /bin/cat >%i/etc/profile.d/%n.sh <<'EOF' + /usr/bin/install -c -s -m 555 mksh %i/bin/mksh + /usr/bin/install -c -m 444 mksh.1 %i/share/man/man1/mksh.1 + /usr/bin/install -c -m 444 dot.mkshrc %i/etc/mkshrc + /bin/cat >%i/etc/profile.d/mksh.sh <<'EOF' #!/bin/sh case $KSH_VERSION in *MIRBSD\ KSH*) - /bin/test \! -e ${HOME-nonexistant}/.%nrc && \ - /bin/test -e %p/etc/%nrc && \ - . %p/etc/%nrc + /bin/test \! -e ${HOME-nonexistant}/.mkshrc && \ + /bin/test -e %p/etc/mkshrc && \ + . %p/etc/mkshrc ;; esac EOF - /bin/cat >%i/etc/profile.d/%n.csh <<'EOF' + /bin/cat >%i/etc/profile.d/mksh.csh <<'EOF' #!/bin/csh exit 0 EOF /bin/chmod 755 %i/etc/profile.d/* << -DocFiles: %f/copyright %f/dot.%nrc -ConfFiles: %p/etc/%nrc +DocFiles: %f/copyright %f/dot.mkshrc +ConfFiles: %p/etc/mkshrc Homepage: http://mirbsd.de/mksh DescDetail: << mksh is the MirBSD enhanced version of the Public Domain Korn @@ -53,9 +63,10 @@ have been made UTF-8 safe. << DescUsage: << - Add '%p/bin/%n' to your /etc/shells so users can use - %n as their default shell + Add '%p/bin/mksh' to your /etc/shells so users can use + mksh as their default shell << InfoTest: << TestScript: cd %f; ./test.sh -v || exit 2 << +<< ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs