[ports] add new port

2005/11/26
By

太久沒做了,忘光光!完整的作法在這裡

偷雞摸狗的作法就是先做一個,然後 blog 起來,以後照作就對啦:

  • 建 shar 檔:
    % shar `find nltk_lite` > nltk_lite.sh
  • 送到 freefall 去,用 scp 吧!
  • 解開
    % sh nltk_lite.sh

    記得要跟第一步是同一個目錄啊。

  • 記得再做一次 new port test :
    % cd nltk_lite; portlint -abcN
    looks fine.
  • 回到原來目錄後 commit :
    % addport -d nltk_lite/

    把 message 寫一下就可以啦

  • 成功的訊息長這樣:

    !You’re done! The new port nltk_lite has been completely imported in
    the tree. Don’t forget to add the creator’s name and email address to
    the Contributors’ List if they are not already there.

You’re done!!!!

2 Responses to [ports] add new port

  1. vv on 2005/11/26 at 7:19 下午

    這些不是在自己的機器上都可以完成?

    /usr/ports/Tools/scripts/addport -a -d path -l PR

    然後用之前的 close-pr script, 遠端就可以搞定一切了.

  2. clsung on 2005/11/28 at 9:03 上午

    對啊, 可是我每次遠端都怕會不小心 ci 到別的東西, 所以除了 close-pr 之外, 我都不遠端的 :$ 不知道如果一次大量的話, 用這個會不會有問題啊?

發表迴響

您的電子郵件位址並不會被公開。 必要欄位標記為 *

*


*