diff options
| author | John Mettraux | 2010-02-07 12:23:46 +0900 |
|---|---|---|
| committer | Max Howell | 2010-02-13 12:32:13 +0000 |
| commit | 3faa90ea5c5ee5872988aa8c4f95d08ebdde0c91 (patch) | |
| tree | b07cc86200cf162f6651cfd5c10de064c0e41368 /Library/Formula | |
| parent | 67a983b16311b42af3eea7d9f670b951147ffeb1 (diff) | |
| download | homebrew-3faa90ea5c5ee5872988aa8c4f95d08ebdde0c91.tar.bz2 | |
new formula : nkf (http://en.wikipedia.org/wiki/Network_Kanji_Filter)
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/nkf.rb | 20 |
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 + |
