7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
19 lines
375 B
Ruby
19 lines
375 B
Ruby
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 patches
|
|
# Makefile patch
|
|
'http://heian.s3.amazonaws.com/nkf-2.1.0.patch'
|
|
end
|
|
|
|
def install
|
|
ENV['prefix'] = prefix
|
|
system 'make'
|
|
system 'make install'
|
|
end
|
|
end
|
|
|