Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/shells
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv10974

Modified Files:
        mksh.info 
Log Message:
Update from upstream.


Index: mksh.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/shells/mksh.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- mksh.info   16 Apr 2009 11:44:09 -0000      1.3
+++ mksh.info   28 May 2009 05:09:35 -0000      1.4
@@ -1,47 +1,57 @@
-Package: mksh
-Version: 37
-Revision: 3
+Info2: <<
+Package: mksh%type_pkg[mksh]
+Version: 38
+Revision: 1
 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-md5: ecd6b95dbdb5ead1fc065a3044142379
+Source: mirror:custom:mksh-R38.cpio.gz
+SourceRename: mksh-%v-%r.cpio.gz
+Source-md5: e2fa1f50690abf763cc3e4d8e1612728
 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/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
 <<
+<<


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to