aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJohn Mettraux2010-02-07 12:23:46 +0900
committerMax Howell2010-02-13 12:32:13 +0000
commit3faa90ea5c5ee5872988aa8c4f95d08ebdde0c91 (patch)
treeb07cc86200cf162f6651cfd5c10de064c0e41368 /Library
parent67a983b16311b42af3eea7d9f670b951147ffeb1 (diff)
downloadhomebrew-3faa90ea5c5ee5872988aa8c4f95d08ebdde0c91.tar.bz2
new formula : nkf (http://en.wikipedia.org/wiki/Network_Kanji_Filter)
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/nkf.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/nkf.rb b/Library/Formula/nkf.rb
new file mode 100644
index 000000000..a2d3008e3
--- /dev/null
+++ b/Library/Formula/nkf.rb
@@ -0,0 +1,20 @@
+require 'formula'
+
+class Nkf < Formula
+
+ url 'http://heian.s3.amazonaws.com/nkf-2.1.0.tar.gz'
+ homepage 'http://sourceforge.jp/projects/nkf/'
+ md5 '1d3fd56ccd2f60768e59dde44ccf095c'
+
+ def install
+ ENV['prefix'] = prefix
+ system 'make'
+ system 'make install'
+ end
+
+ def patches
+ # Makefile patch
+ [ 'http://heian.s3.amazonaws.com/nkf-2.1.0.patch' ]
+ end
+end
+