Skip to content

Instantly share code, notes, and snippets.

@nagae
Created September 14, 2012 07:39
Show Gist options
  • Select an option

  • Save nagae/3720564 to your computer and use it in GitHub Desktop.

Select an option

Save nagae/3720564 to your computer and use it in GitHub Desktop.
ddskk 14.4 (openlab)
require 'formula'
class Ddskk < Formula
url 'http://openlab.ring.gr.jp/skk/maintrunk/ddskk-14.4.tar.gz'
homepage 'http://openlab.ring.gr.jp/skk/index.html'
md5 '0d6dea59f57fae3a2bfa069b9ecdad68'
def install
open("SKK-CFG", 'a'){|f| f.puts(<<DATA) }
(setq SKK_DATADIR "#{HOMEBREW_PREFIX}/Cellar/ddskk/share")
(setq SKK_LISPDIR "#{HOMEBREW_PREFIX}/Cellar/ddskk/lisp")
(setq SKK_INFODIR "/usr/local/share/info")
(setq SKK_SET_JISYO t)
DATA
system "make install EMACS=/Applications/Emacs.app/Contents/MacOS/Emacs"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment