Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

new: add pdksh formula. #10593

Closed
wants to merge 3 commits into from

2 participants

@blovett

adds pdksh, the public domain korn shell.

@blovett

Updated. I had to dig up where I found the patch initially. It's from MacPorts. I could submit it upstream, I don't know how that would be handled. GNU sort vs. POSIX sort is an issue.

@adamv adamv was assigned
@adamv adamv closed this pull request from a commit
@blovett blovett pdksh 5.2.14
Closes #10593.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
f74146f
@adamv adamv closed this in f74146f
@mnin mnin referenced this pull request from a commit
@blovett blovett pdksh 5.2.14
Closes #10593.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
3f7d2d6
@jvoorhis jvoorhis referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@MNeise MNeise referenced this pull request from a commit
@blovett blovett pdksh 5.2.14
Closes #10593.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
7cf6734
@cacoco cacoco referenced this pull request from a commit
@blovett blovett pdksh 5.2.14
Closes #10593.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
1121dbd
@staticfloat staticfloat referenced this pull request from a commit in staticfloat/homebrew
@blovett blovett pdksh 5.2.14
Closes #10593.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
60af7e1
@julienXX julienXX referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@Sharpie Sharpie referenced this pull request from a commit in Sharpie/homebrew
@blovett blovett pdksh 5.2.14
Closes #10593.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
1872e16
@snakeyroc3 snakeyroc3 referenced this pull request from a commit in snakeyroc3/homebrew
@blovett blovett pdksh 5.2.14
Closes #10593.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
d29db8c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 29, 2012
  1. @blovett

    new: add pdksh formula.

    blovett authored
Commits on Mar 8, 2012
  1. @blovett
  2. @blovett

    slight formatting change.

    blovett authored
This page is out of date. Refresh to see the latest.
Showing with 23 additions and 0 deletions.
  1. +23 −0 Library/Formula/pdksh.rb
View
23 Library/Formula/pdksh.rb
@@ -0,0 +1,23 @@
+require 'formula'
+
+class Pdksh < Formula
+ url 'http://www.cs.mun.ca/~michael/pdksh/files/pdksh-5.2.14.tar.gz'
+ homepage 'http://www.cs.mun.ca/~michael/pdksh/'
+ md5 '871106b3bd937e1afba9f2ef7c43aef3'
+
+ # sort command that works with leopard+
+ def patches
+ { :p0 => "https://trac.macports.org/export/90549/trunk/dports/shells/pdksh/files/patch-siglist.sh.diff" }
+ end
+
+ def install
+ inreplace "Makefile.in" do |s|
+ s.gsub! "$(prefix)/man/man$(manext)", "$(prefix)/share/man/man1"
+ end
+
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make"
+ system "make install"
+ end
+end
Something went wrong with that request. Please try again.