Skip to content

Instantly share code, notes, and snippets.

@nagae
Created October 31, 2011 08:22
Show Gist options
  • Select an option

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

Select an option

Save nagae/1327119 to your computer and use it in GitHub Desktop.
(apel不要版) ddskk
require 'formula'
class Ddskk < Formula
url 'http://openlab.ring.gr.jp/skk/maintrunk/ddskk-14.3.tar.gz'
homepage 'http://openlab.ring.gr.jp/skk/index.html'
md5 'af8aab148acc9c3861b9f0faba6fe9c8'
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
@nagae
Copy link
Copy Markdown
Author

nagae commented Nov 10, 2011

  1. Install using homebrew

    curl -o /usr/local/Library/Formula/ddskk.rb https://raw.github.com/gist/1327119
    brew install ddskk
    
  2. Modify .emacs:
    https://gist.github.com/1354329

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment